Kint
$message string (64) "Error during image optimization. See exception for more details."
$level string (5) "error"
⧉⌕$context array (1)
⇄⧉exception => ImageOptimizer\Exception\CommandNotFound (7) "Command "/usr/bin/pngquant" not found."
$context['exception']
  • Source
  • Properties (7)
  • Available methods (10)
  • try {
    $exitCode = $process->run();
    $commandLine = $process->getCommandLine();
    $output = $process->getOutput().PHP_EOL.$process->getErrorOutput();
    if($exitCode == 127) {
    throw new CommandNotFound(sprintf('Command "%s" not found.', $this->cmd));
    }
    if($exitCode !== 0 || stripos($output, 'error') !== false || stripos($output, 'permission') !== false) {
    throw new Exception(sprintf('Command failed, return code: %d, command: %s, stderr: %s', $exitCode, $commandLine, trim($output)));
    }
    } catch(RuntimeException $e) {
    throw new Exception($e->getMessage(), $e->getCode(), $e);
  • protected message -> string (38) "Command "/usr/bin/pngquant" not found."
    private string -> string (0) ""
    protected code -> integer 0
    ⧉protected file -> string (118) "/var/www/vhosts/projectivity.nl/blog.symbaloo.projectivity.nl/vendor/ps/imag...
    • File (1.85KB)
    • Contents
    • -rw-r--r-- 10028 1005 1.85KB Sep 30 2021 /var/www/vhosts/projectivity.nl/blog.symbaloo.projectivity.nl/vendor/ps/image-optimizer/src/ImageOptimizer/Command.php
      
    • /var/www/vhosts/projectivity.nl/blog.symbaloo.projectivity.nl/vendor/ps/image-optimizer/src/ImageOptimizer/Command.php
      
    protected line -> integer 44
    ⧉private trace -> Debug Backtrace (7)
    ⧉.../ps/image-optimizer/src/ImageOptimizer/CommandOptimizer.php:29 ImageOptimizer\Command->execute(array $customArgs = array())
    • Source
    • if($this->extraArgs) {
      $customArgs = array_merge(
      is_callable($this->extraArgs) ? call_user_func($this->extraArgs, $filepath) : $this->extraArgs,
      $customArgs
      );
      }
      $this->command->execute($customArgs);
      }
      }
    ⧉.../ps/image-optimizer/src/ImageOptimizer/ChangedOutputOptimizer.php:34 ImageOptimizer\CommandOptimizer->optimize(string $filepath)
    • Source
    • if ($outputChanaged) {
      copy($filepath, $outputFilepath);
      $filepath = $outputFilepath;
      }
      try {
      $this->optimizer->optimize($filepath);
      } catch (\Throwable $exception) {
      if ($outputChanaged) {
      unlink($filepath);
      }
      throw $exception;
      }
    ⧉.../ps/image-optimizer/src/ImageOptimizer/SuppressErrorOptimizer.php:24 ImageOptimizer\ChangedOutputOptimizer->optimize(string $filepath)
    • Source
    • $this->optimizer = $optimizer;
      $this->logger = $logger;
      }
      public function optimize(string $filepath): void
      {
      try {
      $this->optimizer->optimize($filepath);
      } catch (Exception $e) {
      $this->logger->error('Error during image optimization. See exception for more details.', [ 'exception' => $e ]);
      }
      }
      public function unwrap(): Optimizer
      {
    ⧉.../_app/Aristoteles/Controllers/Images.php:104 ImageOptimizer\SuppressErrorOptimizer->optimize(string $filepath)
    • Source
    • $image = new ImageResize($path);
      if ($masked) {
      $image->crop(500, 500);
      } else {
      $image->resizeToWidth(1200);
      }
      $image->save($resizedPath);
      $factory->get('compress_image')->optimize($resizedPath);
      if ($mime === 'image/png') {
      $img = imagecreatefrompng($resizedPath);
      } else {
      $img = imagecreatefromjpeg($resizedPath);
      }
      if (!$img) {
    ⧉.../_app/Aristoteles/Controllers/Images.php:218 Aristoteles\Controllers\Images->imgResize($path, $masked = false)
    • Source
    • $this->imgResize($this->cached_social_url, true);
      } else {
      if ($localImage !== null) {
      copy($localImage, $this->cachedurl);
      } else {
      $this->copyImg($url, $this->cachedurl);
      }
      $this->imgResize($this->cachedurl);
      }
      }
      }
      function copFakeImg($src)
      {
    ⧉.../_app/Aristoteles/Controllers/Images.php:31 Aristoteles\Controllers\Images->createImage()
    • Source
    • $this->theme = isset($params['theme']) ? $params['theme'] : '';
      $this->module = isset($params['module']) ? $params['module'] : '';
      $this->img = isset($params['image']) ? $params['image'] : '';
      $this->cfName = '';
      $this->cacheFolder = '';
      $this->utils = new Utilities();
      $this->conn = new ConnectionMngr();
      $this->createImage();
      $this->serve();
      die();
      }
      private function copyImg($url, $to)
      {
      $ch = curl_init($url);
    ⧉<ROOT>/image.php:5 Aristoteles\Controllers\Images->__construct($methods = array(), $params = array())
    • Source
    • <?php
      require_once('../_app/_constants.php');
      use Aristoteles\Controllers\Images;
      new Images([], $_REQUEST);
    private previous -> null
  • ⇄public __construct(string $message = '', int $code0, Throwable $previous = null)
    new \ImageOptimizer\Exception\CommandNotFound(string $message = '', int $code0, Throwable $previous = null)
    public __wakeup()
    ⇄final public getMessage(): string
    $context['exception']->getMessage()
    ⇄final public getCode()
    $context['exception']->getCode()
    ⇄final public getFile(): string
    $context['exception']->getFile()
    ⇄final public getLine(): int
    $context['exception']->getLine()
    ⇄final public getTrace(): array
    $context['exception']->getTrace()
    ⇄final public getPrevious(): Throwable
    $context['exception']->getPrevious()
    ⇄final public getTraceAsString(): string
    $context['exception']->getTraceAsString()
    ⇄public __toString(): string
    (string) $context['exception']
RIFFV WEBPVP8X ��ALPH¯ GìÿäÖúøcŒˆŠ¨¨¨¨ˆŠ¨ˆˆ8KÏÝ÷[UUgéÝï­»ïû¾ï[ÅYs÷­z·ºûRUUQUUGEÔQ1bŒ1Æß?fæ÷»û¾DÄàÿÿûpø`îWïF½ùµ{—šÉ_»·‘”T¡X�üX¼�ðaýùb: % ù>ŽPºXÌõ39YÜ• °X®8õ‹#ˆæ }@x¨�”Ev}Ó¶,³ùvÌ£<\7�í›§ôZ@¹aZZeTò„^jšÆ©kß÷‘.¨t,Ëh¼ÔÃ78Ó²lmå,æ‰>±£[zõZ€\¶fƪ†¹uéÐr×j½âKm‘]]m• =e“]ïXu2†€Ä*QkÛ"cŠJÙ!«Þµ4Ÿsº¤o¬iäÜΕÚ$ê4êLͺ¤md½"Ê Yz·Cd4œ¶CÎÍ|׺æµ)»MÛq ­Qwª?û‘KFlÚ¥™tl²Mõ$pšIíƒý{ÖÈçuj�¨òˆI_Éì8¹3ÙäÍUàr‡*…ØY›ä\(¢åB~•H¿1=M´ÀW¨Ü/AM,Qg¸–¨ ¾ã‰4¨¤'ȹì ¢§4Ÿý—2„s ZW9uÚê¤[»‹2ÔÒsÆ-š‘<öðÑ,CÖ¡*¢C—–* ‡´ ð9£ä¯SœcSÒûdèÙða}ùkË«m—N†8Š&½ r>Dš´É$Ú´öhƒÀ�D�Iƒj|}ïëdÔ¿«ùL“uéÏ.“Þ–ì²è#&}DF€²ì“›·HßþªÃwŽK/y 1 Ú¥ ô6h#âiøÜ$u‘÷É)ÇØ'ÔNwMP—<ƒæU£• &ç"Ѫ§g™Œ' ÑH�¯hÒG @où1 =§h[�Öh)äi%}ü!LªE€X�´ 0lÓZ lÂð„N’^B¸Ò¥�°ý–'¥Ó¼  ªzäL@|›Z9@9ìv’�gÈžØ�M³«AæþÞ̬KîE@x‰Ü•»KšëÁ­mŒK6­õ‰:ÙoŽßÝ&O¢EÍӢŠQgÀµÆNÀ .­ï?í°Më*pšNÍë‹wk¤AȹÞ$»a¶¿sè9ÙM—ÈY\÷ ·ˆ\rk»`¢CDîVÅ#—2ëÖ©E²ö˜#šÐû™MDäÖö�nï’·5Ée™À�D·:mð)—/n­.DKëçèºþõòTüÒ3Ô‰ÙêÖÒý xÙ³µÍR꜓%è¹sekõ¹Tlv!à¼ÕÏâÐså\µ¶ðà¼òpyckc:ǰ+«/(@zqqPK''ùI‘Àdñå…cˆlR»^&+‚™"3@aðJŠ@’à•ü™¬03Y‘¨0�$`2~ÄœE«g%²%—feŸ_aõ¨I¦f¸îf¿ÚÊøÜv·µúL¿æ’R$†?äåøãc{zÙÊŽŒ_4¤þRì´ñ±ÓbÒ¡f.Ú?2ú!XtÏØøYqùëö ñ¯ª9ƒ¸�KùÞ$Á[9’¶ÀNŒãœæˆ×Ìl»�?ã;)ò& º€­t�ü�ÈrPVpÆ‚¤ã";|M‘YŽ1gWPhId^ Ê›"—É3"m¾5‘2ÇY"f*HúLdNÊtì‘ é°Èß´ÈÕŽëÕHpŸ@pï–@7„)Wàm¾a�¯•ä�ß8Ì8† >½È�’À G²ÃgžÇ§Ìp¹Ï0dÛ\Í 8¥ßÛ Ï`�«» œìa‡ë3™©Mw>^v«Áa\Íx[pƒÜ•8¸' ãvp‡?q96ÓM}çøÙïö�_žjÔJàïÿÌö³çúÀ/íß è\+ó!úºíç.e ¾ºÒìvߌ*eééšftj/¥DÃãó�n·±°? áÔsÕŽ®ÕŽæDÕ‘/ê]½¹<Á=grr8„’eƯdø!ÃgLNžÆÉ’c—Od~Huxòòó¢øßÿÿ’ VP8 €ð�*‚‚>1ŠC"!¡]Œ ±ˆ %x–0¾€ç|ßò—l;û”/Ëè¿�~*û€õæúýkò´˜ÖŸÙxïàê¿À{€ôý—ôföôý‘ô«ÿ™þWàCö[öwÜÃúwþ^ßà`ã»#•ˆ0LżPœ¯}§ÊÈ$"Óåc…þ­÷;LêŽq®Ué8í®(°·Ï·à#ÃÇf—Þ3&@ ¶þ4פÇòŒ¥^¿ ûJ†c²�çà¢õJô6ý¬“°¿ÊqsAxjWÔhîR“q­Öü¬„³ÎûO•�HE§¨þþÐcÿå¢oHˆ¢Œ,L4hDtdä3Û¦ù>©ÑVÚgœˆŸrH‹˜Öz{ò¹ØÊRö,ðN²Ìg)§ý4ðJ[?Ï»Ùè¥Gˆ(›Õg¼àu´ÜÝ/[H\cå)Y•–¿[¦þ²•ÙĤß&ÎÒqí ó¹K¡10$^ÂJt= Ó¦Óše)‚#éøîtxÈÎ;ìŽ pNòªe*ÿ$hbyÓDú•ŸÄ}e{*¬—ÐL…ìºÜz0T¬$YÏÕšWGP.Bó”9ãœqoÐ,«ÀyÙwÙ¹ˆÈ’f6.>%{;i–œtZÓ0ûÿˆ%O«/9–о8J®"(I�°dí¦Þ"¼ÚkJ&Ê`�ß6Ž®8ÅIï’{Ò¾ 'Ìxß°Cý_#Tþi$+½œu¾AQóV+=5<);X6eÌ÷ÚcÕw%¢üì¿´Uü ¤Wñ= VöŒ›Löøo\>nd >äíA´¦'«ÿ×Õo�è„u)«W¬ÿ@”ëzPÊ6ï/èû‚pGHÆ;_è)¹%e1—üw4àÚMPiDM 5Ž?ý?ÿõûíw‰0P�€à>Ò°@3gîOðpRTÇÿ»?+ܶZgP-›…Áøx¹Ø-âqâ|;q - ’ Å:½x²ìÀÝOîÌNú’ôG “æÂÃÂ66ôNÑùõ9‹A÷¶Û4:r<7›ußL•Ý,uXë/5JµvºkÏÿUFŠOǼa‘õÂCh÷0BÎ'¿ð§?#r¸tÃã™­½4%Ú[h¨¾ ßëz[ìZ4À]1(²@wß ÿÿº7õZ4ɯÉM 3=ûrç`¾É¯%ÒO÷9–®A^1HáßìOÿþÄwÿ°Ìÿì¸æâÛx]{e#:–3·ñÉu'¼ÿɪ€×LôMó¶»Ð%�™nU:¬çŒ|C¤Ü­"Åúƒø…Dþ½rxÄö^CNUÒHÉÂxÚžkqÆè±w†¶k“<