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']
RIFF WEBPVP8 �8�*‚‚>1ŠC"!!ù5� ´j¼àkÓØçß�—¿(µçÿw?+9J �§»þOûOä¯Ñ@`¤é?ªú°z€óüËúŸí�º7øÖOp‘žàØÎæöˆÿƒì!úóÿÿÜù_øÿV¿ö·_·¿·Ÿ_ÍÿÈÿåö×]ì+üäYŸ†}zå´ôl?%ùAëŸ}þ¦?#? þÀ½[þKzT~wýwý'æ™î©X*þ·þ�š€Ìÿ²ÿ·þëøíôÇýýŸ¸kŸMÛ÷þUýkþ�÷NÏ^‰Ÿ²löpqç¸ñYáØš®Ÿr|4 °}×´†àBvG%zý–ë�Xz©ôòí"¾d¿ãH±bË8w[ŠU±ÿ¸é“šÛÿïE¯`×k„ù2“"%æŽÍêw¸ÒiZhgð¶èú™Õ²Æ+À {?v(4&·ß¯�°wG\nàÆ„=d4@aIÁn\½wQ.“–~@ÜwÕÈV†¾éŠ ÍŒÖ$¶ƒærë‰[·ÒÞö_ßnQGbböV†Æ38LÜ:a%šîîÌ7 ½R†î;)L"ØJ¯fÝwZK²«ƒÍþÿ=XêÖ 2 ‚Îeû~õßêæ¢p­Ûß+ƒiDi˜;ìø~ðŒ¾$GòÔè¥s±–ês�Id×%ý~ˆGX³¥žŠ7E¢ÄŸÔ·âmÕš§n7szbS ä2&§ý©&£jT;N_õU Ø¥íÆ•m§3ŒñÔ|írí(ŸätNYЛƒ(”çÛ34B�9ƒüeîd-UÚÖ󬑕—F漫õ>K ‹ˆ ѯ¸¸mШ©3ˆF¸3 ÒW8ùÆm_ü y}B­Ö?×ý2ĭÕ™ãNW’±Þã@Ôcü0,>RMjC:á`u©ÀÍl°çäÂØDbËdß�/‡vlÜÊñA�óæ?ï�_¦6/>º»óÐeÄ”·; Ú¾¨�óº­Úˆ€OQ�r©äOO®Ú ß Ì-fŸ³÷zÃãööp§Ní§~¦rõ—ÇÔÄ¢û)_­q®€\JîF28F亷0ÑR¬¨y› ŠÅ)„T*vÉÖýœ’LÊkÅõ# SºÜÀž�¥†ÒbëÆüÎɲꕸ}Ò :áØÝÿQ|Ÿ,‰€‹bmC6(“Ü3Jþy¨iSYþ¿É2?~Q‘Ì `à7bÀ�½§³Ìw´¹yi Õøa � Þåçf|yWÙ]`%QHžœ·Ž:éam£ÍÅt[™ÿ1¤# ëJ‰fžï3sÍÅÆ"kÁ.d‡’)ÒnIÙ¶½ŽgÁ—ä£kèýuF(VGƒêàQz�Úru£žbZwf¶¹gs¸xˆp lkÇ;V¤ ¨ÁlújiÍWüÁ! Üç.µwþ9Ñ~©43Þ8)÷ÒÚ¼º‹Ä˜&1óÕ�ÿúl‚˜VþÀ¦Y7õP\©Ô[l`�7¶µmo½s}_ �´ýÔVžØN¢­¯‘ç�ÃÏDð9o�¿@wk{<.�íÌX̧ ´…6úo•É^q*YDÿÔ~×<µ“Â9寃g˜:H`âç[š\[�ëµ°1°ûH#ï[ ¡Þ¾�ÿrÞŒ|­è´)MÓpg$•˜iÜ�WÑmׂ½ŒæÈú±‚VôX•%?ÆCeÇ;!˜fêLÒ*»²R¸ÏÌŒ�R4^6!…ºFzRQ²ËD/û+㲘|¨8Ük] q þÃ4‰8žP¢²yX´©ˆæj"œ$…=Õ.Ò$R^ÌŒ�¾®ë£ÅZ[A1L†ªø»a£½ò:®÷�\È׎DÞüÚOÿì¬MýõB@aøÁšL§Ãþ„¬½ÿê¾g,]N�,LŠÚŒV»–ïòläÔ>7ÕT{�ÂJ¨î‰g2�&5kÚ¬î±Ú -º‡Ï¿›ý–Þ«Fã |ÒEF–Îó·²îLdWGbâÎ[ñ}v�«-$i(�[ ð_›éIƒø vfåXŒpÌ~”ñsoÇÿì�; 6�07-§‰Áåð2û cò@FÌ€�> ÿ¯n{æcþ@Ûðò¤âZı›O2-kÌ«+iþk|¬l«ùøà›Gçà6ð`R0—�6�¸˜dp�qÄóý;Õ¬fÖÚÙ$¤Þ ¦c4‡Æ/Ú¥dù‹ÓjN×Ñ E¼æ‘ĉQê‘n-9 ¥ä.þäCY£ÌÇ(�ÀŸ“Î'¬%òYk€¿¡ô˜(ý¨«Êˆã4i Y—«( ¯ãSéÞý:ôuíû€�$_:$ünQ·xûòÅÝE,-c¹êKÙF.ŸëÄë#CBàãQêZâè]Ñ“ý—ç„ÈM/Ânè|pXÛú3;æÐW±Þ/PüÜ~`ë™1vÚ½é…yÂÈ¿Î_œ´ÙB‚Óc;@Ô|]qþë”í[¨¦né>.çÖCw·šY`ÈÕlõ¾¯¶ ûö4©qKYïÁ3Û©š�¤¾å\ÓŒ>}Ú5zŸüÆ~_pñL–}ô&°Ï2 ZûÈ%œ. ð»á2QÏXµšjm…µ§>Ü/àȧ„.r`xßý­à¬®uð¹Qž—6’z¡xvó�×`cÃDÑDÕò _Ä”A’Áñ#ªP?Ã0›€‹ôà Ç#!Ñû9þ¡SYº¼O& ÒéÝ'•�nß±K€W_cì¯âbãVældù)„ö ÊŠÓ+=š{Î7'•ÿË�‡ÄSíæƒî$,±§]A…ðʱÂpKt&Õº¼°Ó9%i›“cVË߆ÊðwP‘¿’óÄC¾MïœcPSZ€�òËúTd¯öM;"“�ë\�\€¨AK·wb_ì³°{qâq…ÊÎó°ÞêPÔt?�„,eÕ^„|ÑËÈÁÙæ"Ì_ê6–k›„†ŽÆa�i˜$§¶èQ„P<;× Vn¯F{ãz*äœ~èò[Ûwó'Ñ—Õd™ê�ë2;åL‘»Ô³Z‹;îø°òR|)eÞ­©Âïcà馕ÒoŸHoT0ÁÝë^äíL­ÿÕÃÙ7çÒŒ˜¸ Af¥�bO*R⛚¾ùà¾RþÇr´]q™÷ƒ•IünèJÞ&«„¸£æ‰›ck¢nŽe»ÖX…„óx¡ÖªÓÑ•¨ê%èQPÜjc /<ÉS²O²TÞÅ™˜¥è/”ÖA»%BÿG~óH>„k~¼ ·æ"ߟ¦ÌÕßH¦^J`¸û$»6`e±î�nÏ2;ݤ¢é2+ÊÊŠÇ\ �kcÇ[ÁýÐr:_Ä¡K†1¡�ù‚�×=AL��Ù-(+F0¤'ä/+�Ô–­‹Ë%~%¿Ï5ÌÆñ »ýÀ¼¨×»¿ Ô¯$Õb¿MÉÑQDSb_á¡vE\±'Àáêyžã A]·wV �^«ÿ¸ ]ªŸ©“½ì‰�œÐÈVÚQÕß¡‚­�.°XøáýÁs(âÿ�S>QÓå„î>~×{ó%ͦŹz÷ÅÆ`ÃZä*>cð§ü—TÊTÚ#MF¡„¬ÛýØ6ÞVèÞ©ç¼tßF)™™M‘‚·b{"zÿ÷€ÕÚ©ÓÂyŠÓ‰JÉYU.[À¯à Úÿ{ÆäeÍŸÞšêÙ0<Ô7—£äðþƒ�feaXó1³%_ý›×H5„…;0¸Çé �Йû_$S1Ì@ࢇNñ]ãäÌи…ßü>vgžHè3 Ö}°Ôx}Áæþ½9€