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  Ð2�*‚‚>1ŠC¢!¡* ³¢;‹ê߀vdD2Ö4SuIÓIüÿäGÕ�èÞ‡O\^1Í‹_¶>®ù6ñ¿´Ù?åsSú¯ã<Æú ÷?꿱Ôj¿ -þ“Â߇¿Êz�z{ûŸäÏ€ü¿úOùÏÍ?îŸ_%þ�òÜ_ãÿÌÊþdÿmù³¾ž€_Îÿ¶ÿ•û•ùÿWý'äÿ¹¿¤¿é„øþgý;þ÷¯Þωof_¶žÉ_±…DûØtmthI¥)ñc䪉­ã‡Ê‹ç…(þ&“rˆy?8y27ÖÀŸCpR‹cŠƒ�4] 1wüêÌ�ì^‰luDàF$œ‰ˆØÒƒÏF»‹nÀ×ÑXæ\ê�¿nœÿÍê›ñ?mZšÙ‡x•Ü@FhÄäyš¬v¦é†ñEþx®‚€`;gÉ¿>µ~�.�]å¹ ’œX['Hû�S�ìç[Bö/[Ž¿ãWÅh)Ù6(åg1Íÿ`o%¾;ê<ñ"×ÁQ³aç¹R+®°yZ�ë'ÞÀsþþ´ Œ^ïžìKpne â@år&•ý]ÝCR>ÍÖÊc|­lZ>¼+z¨Oæ€_lžåuIpó6û~9¹fvÎÝ ·¸a ›8#]¯Èó¿AžI�™7Û¯N‰$• Jnä——à÷泺wâ//4�ÏEÚ4(®ÏL‹Šüc8pLz~ (*v‹i*‘‚(š[º�fUÜÑxjgZY9¾›èÝn ‰‰Ð&[ èp��Õ™3@�ûUeš!ŽH“²ñúÕ嚯Gçxue»�Õ+û=ð|×”/2õR_H&3,rÖ;·MÜn_Í�%ªF6Ê|ƒ³%=ü1ûm´½R›¡ÞðÂçäö-§{‹ãI§Õªþ½ì­;hIo~¾óökƒ/œ3×!©æ3ŠB­ø {zØÛásg�ùÆ>0áUÐAàß0ÔóĵA–}z u�C°ï¾Ð¿øôdã7RLÐ&$œ!F�ã²ÖUaÒ�2ÄøI4Ä0«"q‹�¾Ä“ÂáÓù„±’.b €·JE/Í &–>[œ¨ó;7—¯ú®Gnîâçï_]uáeÁʇ:8uïèañ¶ÂDÎ'™Ã4=èØóÁž˜q¬Û+€yÎê…üªynõ¤@+­¾«lö½Oða»[}ªË:~Ë…¯¨N' Õë 0ä"ÓŸ—ÁUƒªkêj•�Cu=дý$kˆ"c-Õ¸ÂÈŸ�‚C‡_b\Žô³šF}~â0æoäØgÏ29Ô^¥iäó&WmŠY|¯šAh_M%þU}ýpbÐÝݘHUÖ;&ŽW±ì›Ðï㇠mƒ9Þ™÷h5|ÕþEã™äúß•ˆú„ Ï?vœssBüQîÆ^ßy¹ÓSÂ0è9åÞ·=ùF€>äíèUWÌá—Ûo¿`p,Ýù‹£óP.‹ŠRçóL¢6n=�+ûáLÖ¡»Æã:ëý4Ý®Wàé\žH§3Ú°U¶öê"õB« 5ª,¶³Ì”É-Q�ñæ’¯¼âñÖ[!”ð¹eà  I„æ�Ö'Y{ë¡,Ñ/.~}Qt2š´ÿQ;´–ŒYZö† �T†çmAÏŸóv(I}•‘ü{xñnf›ß¥@Eà˜’o_@~8êN#�\ûÍ|‚؃ÇÙ7ã•₆Z“¦œWêÜz4®úž¬+¯ÙðêC¹ujìë(#^‚8H¿!XÔÍu782dYy?zŸ¸n ¸$ïa…×µmóQÍ[%Ö¦� ([‰ZºÌŠ�~×ã�ÿ5Ä.Ç¡ Yœ ?¡øàÅLR¶ž!óäjrq¢â9iÌ+”Øð9i«Y¨Â‚𻔣1Б ª‡".—zN÷ʳ#¤þº'@¨“gø ØúßÔí©çóSžSLÊ.Ë#Žáâ¬Þoþ®+Ô4X+²îæü“Ÿ‰Ûø«kx][�‰×¹V>¶³õ�Ê^ÓG ¨^ùô켦îèS(e'f¸uæšRóñÊ|%�Lc/òJ\œ …ÂôÊx#¦i òÐâ8#odvmíõxÈ”9]É0i»û²}–U À~®P3Ö�%¢ƒ¤pñš{Í_.R‘Œ9AB›y[<Ç7Gîu½VÛJÕ Á×ü}N¾�Œ;ø»YûÑqÁ«„§H¬ú„ŒUœõèñ+#ûâ—‹°Ï¨!î•V®ðîšâ²þ´éì*ã?.Ââ-ŒFذ(² M�LŠÕÙZ?•ô}óùïœ'oqDQ):g-õÈ�µyj&þAË Î9Ú Y e’_v˜HWzš°G”%- ?fÈÞB=Ôœ¨ä«ñ˜…£ 7Ä¿éS[ýQ�{±j¼\ €\¸Èü<-à2�æ²f1Tb^^Ìw1†ß~ˆ¡q¼ HçÖ6´@cP1�a[OØ”c,A­K@Ív»æSø«ó|ÎÀÑ€9©¯l™4`­¯™G-è;ƒÅl{K ¶ß“\l»a›fë „Ÿ ¢ ìô½Ui7h‹¬(Dl{ˆÿ“p;Ó1áÃku—’ f­óŸÛ2…M ÷¿Û…F[jkៀS#Œ�–y1:M$m§lEuîÂE¡òðGëóó×ÁÅg[Üv*›Ú‘.‹õB/•-×-o2ÞA)-Ðh¼oƒü æXq _«ã&Û@‹ÂB¬§ÉÞü«Ÿ§ŠÛ⊠ç‡Å,&VÕig‡\*"7œá�€GRí/ª^©tž /ˆix�•ˆ«¨C à�ßËQŸb¸dáG4£L—I¶9#Hrƒ¤\kú:Ïš:}&y �'l¨š!?ÜMÅj<û(‚!ðýèˆæôÆeûÀŸ'T­¾´Üé ¾a“™ 2’::®¬°±W ØDîœðñµdݰ'LcW-�JÚ¹'b¥\Ê)¢{D•°‚@Æäó‘¹åDÐÇVžÁ€ÿï>˜Xê•}é‡NBQ*ó´…x)C*‡øÄÚÆ]c–D ¢�ÍŸ÷]}ît½�Ø<•Y‰»ÇêÚa0©xm,»¼H‹ÿšvPOú›¿ñÌô?úÂø��3K¹Ó=RHæ/KcïÉ :°æ`ÔCoÝã*êQ°µXð`¼+gj|éÚè~æjŒ‚iD ›¨azœpý:­È$?ˆ+Uɯê—?úá¿ècZZ‘�ƒÃÑ 1gG”¯û·6Û€ý«ƒuÓ|(¸ò�KQS¯*‘«ò�È Æ%ó¨¾='5Ó9§Rq�ïè¶ÞPW±¡Òæ'÷ ùj`î¼'$Yu¤)«Ã÷âë®ÿm t¨¥pæÀ,ÂUMn¥xé 9·UÙ+”í1—’Ü>¡µiƒ®³Âo˜,Á´Aæð’‘‚¿ùy¥éäa¤ûLÂe‚dõ¬Pò.“ ö@ÙÅ珞Æ?‰a·�‡ýz§Ç3$‚ }�׈ÿ€§c î’ð4ÁÙÛ­(Ý<èíc�í›§"’¬ájXÖ—97Jd^žñ”œl�º;v”ãQs1�3s�ÌÅJáˆÂ7”/ÏSÒÎ,¦ª½ÿ>Êhk”Ùr‡T=¨“üICÎÎäšÍZéøRCÂ,Þ¢•¨ý»ªJEaD\Eœ1ß›°”χ”ìîD&¿# ˆÆß‚ªÊoÿ×ðC ÂM·À–&cÆm¬�ôl[ý:Ù낸t>“*¤T@š^¾E@yÈiW�™W’ ùDòÊÄØx]GÛ¾ë{jXPôÄ´ ˜ U„ð