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']
RIFFb WEBPVP8X ��ALPHÁ �ëjÛ9¯^ý²,ËáefÞ­ÂÌçRG¹žTœ”©˜™™™™–ÁýzCCÅ|õDÄ KÆUu%!Qðåûß}èG>Y·zÉÔq/>2ŠÆoxæsŠ×¯K#–´,麸ïKe[ÁRº†MUÛdU¶¥ÖròÜ;dmþƒã¾EÛ¿eàÒ*Y„É3§ïWº’5 l.[uóIÎŒvM-‡Ò¸%‰Uˆ{ÿ×x³‚:ÿ§Rf1výÃ.8z¤e €‚e¬OGYP(ú¿èÿ¢ïEËDLæ 36K^ŽVЬ~„�<é­J½(‰<œo® Qýã܃ó#›’~zB@Hw¶9‹ôájÉT‚‚'—48{ôéZMYÊ�䎽_RZã?]ûUˆÿÁ‡^Ïk™ì,Ñ蛫®.ÿƒ”rîÔõÖž’ÈÑi¼ÿÉÃæ†P Ò@^á‹ƒßªš§‡ ž�|ó6nj’ˆŒ ðâÞÃAOˆN”‹ÛÚÚ‚Èò@ø”8‚. ÷‰l a£D€Ù )x  �À)H<Ì$‰|J$HdVP8 z 09�*‚‚>1‰B¢!!)ޏ ³‰sAk�3½göïWü° ¿Xïàà?€e€~€zRþ•ü(~ÌþÀa¶v‹ýKò°‡½þÇ~íiükë§Ú?°~ÕÿlýÀç—áô^ _‹(þíù_ù™ÈP¾¦ÿ¬ûhôyÕ7¾ÿì=À?”?ÿCù±ëâ!ážÀßËÿÀ×öbþŸÿúOòŸ¸~é>“ÿ­þ‡à7ù¯õÿøßÞûbú0~Àž_¹°ÓS²Æ RN®ðÞðhžÍŸ,…S¤ìœˆ?û·vˆ3(4½´ô­(”¨Ž2+©õ4ëiHAñ (r{gÜ'ù—sqôÄŒRÑÞôËæVR†Ì[­* óvÝ|Ü@9aV�Uc ìb‚'ifþM�³¡�„£±bç]Gúí§éuHœéÏ MG¶àôr‚˜l£ãðTöcŽF©roï•y, qƒe#â@ÔÕÅì{¦�XÕI öRþ\Ø{ëb G/ëÅ2¦:ù)ÖT7¦Ùl-¹Í�r‘*�õGËFÅ¿›µ-ð5ï’�à7TZÏ' .+SÀ÷j»“*:qùÜÛÍÎu� LÍd´ ýPŽu˜`þÿÍØ£'ãê##nÑ¢ÜqåÁ’©¾³Â>KÈ›Sî”®úü¡„º¯É3ø–ŽgöÙÏH‡ þ™ž|°¹H³ó¼íaõΫ¾øÂœ„Ð]"|vf¯¶K¼œ—— ”'O(­ –ø¨Vce>PcP‘M• ¾u‘§¯[£è#>wÿt�$J…ÿáñÝ(f:)ó=η�{åå·‰yÑð~'2ÜŽõ/Iw,嘬"/—ÌR!E„;�™”Oæ~}ô™¶L*±Ö?Õˆ¨V6§ŒGƒS¥V×úþá31MÒî|á¨f ¬J:}EÉ|™†FEnSÃÕÿø°áËþnõksóùy“·_ ½ �@{{òè­p®â‘ ]Aþò7Ò�y¤rÂEØõÛ88N\GqOí¤Êúmiõ®œY…×é[GåŒ)N° ‘bGÆ#cˆ�ˆ¶¶hMJUç£g²zÑ€>ß¹»¬FÂN¦\s“xaÔ‡¨½oºß5™×_«EÐϸÿ‡VÀ¼ û=Xµ:à|ûQ±³5ïªwÁØ¡†ðÇ#2ŸÌ‡0>…á|˜=óÆŒ¨ã#.Êú\ÝâfËC6Ë- å¥^ oO 4´�ÛÏÜâÈyÕy9SÛF­H *§ÕµN¯–µö‹¡ìb—vmŸ êpð‚=­£üñål°ëz²|dä=sÓÞwÞ³èÌ̶V“æ|åš,?¥5gtTù=áo9ü¥‹p?h’e¡u ó¾7L]9 496Oáìñ`Äñ´·¿=ßÒZ׋CÙänÿ=1drµKKš!(Û.ÂL!Ñô¿ª|m‘ ñã’ FùRÊ6áÊÑÄ nNÈ÷sxßF�Wlƒ?ð©7í€ ×�vœ•ÅäAt(ë%£òûsËç]›Cy>]¯i¢ ’¬FA¿‚;qÉã^îk-F Mz%¶ŠDÐŽYºî-ס¥“€`ñýW¸ÝëYG½—÷j$�”Õ’Í>óŠß°¹µN•+ü¶["k„¿×é—x*ˆ±˜¼9]GÔøl�®°ÜÞÉÔ{†Ýñ�Vª)ègÀÀ¾º¿¶äX¸=0~qKÓzx‚a5oÁ–"q7äE9@“/wšå+!GÛN·æn{ó‘ R,ä&Ô™�Í€]yËä² ‡{dèäY�™O—”_k½K‚e_òBøñôÁ[ï®àZK¤µ䥶ÏóÿSéü9‰6½]Œà¢M\7—2/DÒñ]÷å‰Ä¥%Wz@ Ñ$ä=ñû\ò]{žKnýîÇ&ܱÉzZ°Ïók^rgÀ"wãþ"±,÷ÄÕ¿P@DÕ�€îÊ¡MXW–ÏïMü†fºIF8§îD¾ ”�Ù˜9ÚJúW˶¡Dw_Ï%yçY7;ÄU‘ú å)šIõà�ô]•C½kœJD†ŸeÇPÙW(�Ïð ß¼e�”á¡=ÕhÓÅ|éˆ? ô»µÜ�úúG3œéäýaÂ’ðä�0½'B ™Í‰ÞâŠ�Ùw[/ÐW=ÁF‹†lC𓯲¢`“o­›Xq£N�TXUÂ?¤–è¤ùôÍüaTæ2?û¿Æû*úF½>zÌN¾¯笘ç�GÏŸÉ�¸ñD°ø×sÔò�]/.Ž&òúq“Ô0}µºô:ù ù}ÚÒ¤›”fŽzbÃQIâ”É´a›&Üvåùl�ï£÷Û k¾Ú¦Mù¯ÍxŒ³½Ç‘ž¦„:,–ÿƒÅ`æ¾ì\¹€:H3eÍa‡NæÛw…1Xþû¸ Ufv|šÆ©ËðÁO øÐi­}É8¶ð¼ôNu �±t·“ƶ·6x‰x�W†ÁuQ ¦‚/8`§Ï£¾‡9Î pXÏ“ëÄŸŒõ_oÉJñ‘°_%žÊÛ�6íÁCâ9ú e Yb˜�r�À;a¹w‘,q*çC{KEº(>ödꀈC Q”1�®“űԭˆ³ƒ¬PÇyG{Ó¢ žˆnM¹Ç„Ð9õP~ú%ˆ6Üe÷7ãà„v6ŽQÝ$[Ÿ ØÊ÷-Ÿ¥¯³ùò.ÔIXÿÍWùwó=•V;�c— �¼ ŽE怌?éN§_òe)÷[¹ƒ\‹$° •^¤$ËŠ!´„.¥:éH¢Ã�.Á…u™}Ü9ðj‚m“n4À/a,ïÃÑICÓØÍj¥DâK®«tð“ çu©.Û)ý›¼@\ɰü Ëßšú•…ˆ¤m’bÿµ Ï4oš~i/ÉO/Ožç´Ø¤ó©n™NG­ù°#€…G7G£ì©øûìy.rAö–Á™–Oº9Ž%j�D2Ôtr“tôÌ\ ÆÓæ�M¾æ!xÐ~ts(^ÈXÁ]."ïÉ ,T4&Ç kÄ�SÊ öW¬”�ï/ÿjí´¨ï:ì9ÌY©;©J¬<™n{YÅkrMØÍãÖ˜ë;/VÍI{{Òž¬á™©ôz¸TIÉÏ2Šw·sd‹”ëÃ{ ±@<I ³myA?ÙÂgòÓxÒ %¾?ÒÔIWˆ«69ø?-³Î¼?fk tccÌ|¨+u;žb¿,Z‹ÂÛ¡~ª»ì´eCÖèϘëf¯h{ ^‚¸S¨Ì­\`E ëzB.|#RC¥Ì<ˆd”¸^y$o‹3£#œ¤/^‰ÎÆ_¾�…€h†ø@+ž>¾ KŠüìO>´¤Û‡Ð}yù„£ÅSª¶c‰ú¦ƒÊŒ�þ£ <ÜÂ�Ñó¹´Þ›À æ 8q6ïãdOÇ•îM“¬ûeGèŸÕý2e8�+Gc™Ã☙ÐMûV�Þƒw…kò´•¨%¾†øš$%MÇÇ©¸3ˆ°]ÚŒª<»æ¨Ook"š€L¶Õû è‚ !w¤˜¡¥h6…mó «Kì§ô(ͱPÀúÆ=¨‹»²6,Šè+c%Û·k±‡p{µñwO°Nß”¶?R,r:#¸íùìá"GZQ—, ñž"šÔò‹þ~0”*�¸z ½�ð,XzÏÀö~ç‡.^µ²àŠ£ xŸ.COwV�‚$¯Y"äiJá ^’"ñúôU2^Ú|Ù�‹^:?),Û©>úÁޝõNH¼®6J[oëmø;Ô±úµ¯ÿ)YŸ|qiÖU¦?#ÅäO…g¦Ê©xž}_ì'}­“Ž ²Ð¥HGëíBz&ýèšEl=§"öÛ³p?bPÎ…Ô  áOíž¹ó¿RG‘G´žxb~§/qÛ)šÕ,CÉ>/