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/jpegoptim" 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 (39) "Command "/usr/bin/jpegoptim" 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 ¾ °6�*‚‚>1‰C¢!¡l•Ô ²€ièX+Rß׿ºä‘Å^Oœ‘ùÇÛ7¥}¿|ÔÝ,Î�ü¥û—ÛÏ_×þY÷ãó~ÂûKàìoõœ  ë'ú®7{“¿ÔúÕÿÄ Çý€ÿŸÿXÿ�ý×ò�äÃÿôþ�>«ÿ½î'úÃÿ±Ç£oí9Æjë³ÃÙMÝöW›®ZÇP_CÉ„™”“&ÆåÎìš 5oÿ¶èLÐ,r j#¸<7fIšh½Ÿ½¯<lìc“oæc×U¶XÓQeU¼deðNÏY”“Z¨Æ–gñ:I¦â³9»ß—æ÷ù‰È­ïW º#ݨ+Å’ßv!®oEpì_çãÕé(ÀH&'Š½Ë¦‘}'c¹WcY’ÙɈܧ`N÷õB… Â¥ÈA3_PÈ G‹áÉÝ7P·ˆõÏN€å^Åu¡±ë…iŠÓÄ8ÛÞyÝN‡aOàÕiyÔï 2.7Iï¸ÃÎŒÛt413Ü£ŒbÎ×’!IW‡ZJÂ�oQæ×÷u§ˆ…F�¼%×÷A‰Mýÿ7D™V$àå¥�{ÞP�,×ɲh¢«žµžñ rƒ‡á|þþØÌit¿� lý}’d?ÛuŽì øÍlY¥mˆË$!Á©ÄN.æa’q„�Ïs„ŸL3zóf_;¨¯þZÇÙOð¶JjÔg½€Ž¼/tÇÝÆÐ¯C�Õ%ž•÷üd¶ÐÁµ�éß´›D:Ž[€L/w‘… æg8LJÜ'ÚÀ2ƒõŠö}‹JçXÔ”LPþ¯àt°Àè†+�¥_².ÏͤÍûì(„¨Smq ˜3?%³¶ þ~¤¯ÑÊ•ÅV¢¾\aR`OA®Rkìá*’âÏb€â‰OV§éÕ`™ðÇ)Q;4X[×MßœÀŽ]´p‰T ?�Õ·küFV6ån'~]4ÌSqÝöù bÅÓÛZæy�àF “e„ëÐHú¥[l|Ƹžo+1rî½;ƺ½Ÿfûã89{¨€.§ÓkôúhòÆ Í¨\tÛ5§Ä~ÄîÕÎe`&CjswBºùª,`SGöMK).—°òÐU½¾•Jž¥ùªÎH8¤@±rn3þãM‰8Î�ˆË©+/ ‚ÍÓ’ÑÐ'©÷0Í@ ºƒž‹\T&Ñhõ†‡¨5<ã�¶sB¯ÍW–ȨkY AQ\H¿Õ uµÏúi× 7Öf'v¯+0”ÏU~J� z¦iCåo}­‰q�AºC¬¸ð%³â1eplt>mÖÏË×¶W ^øÏõ+¡ Àô¸W”�ic³q¸IQìæ&d ÄÈ[�CÈñœ`–9u¬¤ЩÍ7!@©¤¯j3‹Ú;ûã9é8.‚ªdÁ܈nÙë•�;Kþ3*Bø„»¾¿ÓxŸš²ºTÃÖâ%¡5y0FÏñyyÎ%1š×€)z‘]ž©Ú~ƒhR� ú=u_ðgö‚oÌÔs)¨xOÞ`™ø±ª…•è­øÝÏÝw²‹õ'hdž¯ò�E†€�˜š9Rº²ŠØ�E+òvñÉ|ت ؾCÄŸÓ›í3 ?Âdt3�•gÿ»â4÷›O _d2P‰×ÑÔD}ñ’H Óâþ&K¤­6„„´f?¤f„ë%£TúRP'ñ€_(ØÏ¢w*êÖ½•E¼¡¦™¹ch°gª Cš|÷Ô$ÃTÎT³ÍàŸã\�xZûZwØEsÀ­)«‹ÅW_æÝ“ã2,3Õƒ<9yãû°%¬†øŒt““íZ¢;¯ãÿŸFÓÛoC�À:ôŽ_”ÂXciü -ú½MN,ò²žôñå.—sGö|ºaLq]žsþ°RƒwVçóÞÈ‹/�pÿV“”|­Y�2¸›9R V!@KPÂ)ž«ƒ&Q Jû†[Îe5³§nÜbÿ¬éçá©7ï�øfÚÓ±,�ÒçBn�)•ç*IXç>‹ë¼aíÛiºËª@{pŸ«¾7k2†÷ö£õ×{¢û{tòF®;™0]w�3’p$·_Rrö5µ”[­Ó…çCŒT⊑Ër’ ÂWØj¼ŽWêV\*¤s ÑܬÏÚóñnuã'êE ŠvH�ÚðÊ/] Ã1õ³ü˜Tæ…ZWübX ;‹@!©ôšS 6ä߿빘­o8(@qͧ‘t¤ÔØþËçóï)LX±‘tÚÖŽ-s!·…“òŸ¸³µÙ¿Û§1+ÑÈ’9ÿAv†™jÎã6ŸÂbÕq—�_#ŠK’_s°ÚÿxË*î&Ehê)Õ´$¯Ó-ó¡ŽòÏ�Vgé߀Ý`hÏ-ÌÄvN[DÐ ƒ–µlpl²2OÉ´°üœáP*VØ3Íp~l ù%¼&·|måK}ôûöÖ·ÈÔˆ7رÈAûXHAí3ze‡Jž Y¯ÑÚ)wjFñ{c>PõoÊ~°‘«h-íãÿ2-|z€> c¬Ì†Lt•LOGŒìò„MˆºhÖûHÀ �ä•Õªg øé»¿S®�fªªzt9vÒ¿³¢‹�éPFˆK|+¤2_–]ÓІY´üÞ¯3¥»)ßš¥(A˜!ézQìUFLÄ“PŸ¿¿5ë´�oÜòìÜúw>/2Š¿a¨Ž-ø;¶{F@ÆTfêçâ”YÑú©os®#ýÈ<ßo†èÞmN›–f´_A°Äé¯=j t€›˜Ù±´ÒÀ)Üû+u›ÒˆV'xãÏ…wÐi |±/I˜È̢ˢ+b§Ê€"±Í òñ]�êäJ�¨…îKàÎq+ùŸ%Ë ´«ÂXyW ÜÙÄ?H°– 2t}ãEE�Fm"ö)z·Ç:Í‘QFœSôÆÁqáþiøø¦Þ "*â1ô@$ó.E„¶¶Úàrðî}à˜ •×5õ³^2\+�ø­eÑ#¼õÜh-ej.q4Á¬jb¢@�o¿.›¨8õåD:ÉnHÞZžm~Ž)‹P—s¿ÇècÂf<�•j/½“´¼×’ðQ_÷F�)/ëЮhzK–‰fÒk\�UÛ\ŠMþR\?=gXÒN¿ÈÉJPŠbBÜ;wo–?[ʸ_çúÃ6‘—u·ã–íßIú¦üï?”ïÖ½qO·™ÚOì^›ìü<ü·$À—Ø|A½ÆW¿hÞ#?TDng•˜ˆ1¾Ž%éúGÝB¹G›ùWXÂÏl¯M&øZ!Ied#žü!ó|Ïx_pW®²øbL¥ Rˆa’kâÈ`fNwm+T‹hÔ£ûÁÐÇ]ÔPu6£;ëVËÍé�ů(öá#¥v¼K×Ô¯n«\_ Ï´&ó�Ï|¶ÿÚ?*”ñ÷ÚÐVj P 7Йøt… "z_ítéßc¼Y¨vùÛꮫ±\J\ Q ?§ ‡0üÆa3Âàí@ˆ�R”äÏÏá+ßÅæÀÒ"ÎðVÁ>AîÑ7Â,Ž]9Œ�É>{Wñ6çë¹o÷ö“ÞYû+nSíŽ<yý¹²×�ÙRú†Ü�»Úƒ3/ëz.ÕÐx˜ÿ㯂X´º& çãÍVS«v�÷ØXb*èÇæñ³¤›¹ybà:�"·:l¥ ø>¢Ÿ U¾~E’�Úl@òµsÑÒÈ5ã%~=ôó¿Ï+†y’Í õ€0Þ›¢8MefÝgI?$Äôå#]ÑÑŸúª…,Xߤ rë(:'�–/·¢™(ìiï*F“ðVÚ{›Î´8¤OaÆÖó˜âtu(½W&NhŽD˹ÏǸ”`ðÏJ ÃϰËϰØáï¤R£2_-Ë)ûí¢¯£À ?{à7ì|lWæd“¾u�ïŽ7;䨤Ç@