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']
RIFF2WEBPVP8 &ÐJ�*‚‚>1‡B¢! %o:‚P»Ïb²òCô¿–^Éü‹Ú_·>Ñúï‚¶½ò¤èùŸu_2Öúäóý{é÷æ§tÛùïøÞ¼Fï4ïû^Ñ_´Ÿ´Þб ƒü?ãß™þ8¾C "úÙúÔæÿŠ?�þ#Ûó=ðü£Ô#Ûû®à¬«S¿ûÿ9óþ׈Oá¿Üûþ�ôQúßÒ§Ö|SÙË ¥±CÃU ²ZPw³üjhŽÂã÷zñzþd®“fã+�ÿ=Ì÷Rß7M…]ÔÒ8¯#?¢¢Ñàüáù>Œ'YéÞêk؆Úò²[çhü�ŽÿoyòÖ±±Y¸³.# ½ +ü>í9éD¦¤4FÃSö—ÚsÿŠPófbçdÊ£=`lG¢œaÿ@uZ‚2Æ�pUº4'™»",“§Ânm·•ÿ¿Å©i‚¼“F¦†?éb¥/g"üÙÕ=TMƒ®DO›Jž¼ÊOÓ^›¶ZïÛÝ‹sõFzë+qš¨·Ø—¦tæE¶íp\ià½m¥•%/É×òcZð±”T+¨ÑCú�0t»�diâY¹Å®>÷¤ö˜DT´¿¸G%Á \‰ˆ8¬Â§Ô÷­ú ˆ¿è‹ÛÞMr Êåˆ5õøÄej!óÑZO?“‰q¯¶R!,f¥/i µ‚Ъ­ oW¨ŸÃt~ŒY7Ð]}³¡€µñÏ­~·"¶V“g=9–ïCàMÙ WÕ¯$8꽡юñÙà¡ÔÅ5”¥EÏ]›l±MÿKˆi5ñôÃä¼÷‘> þý?صޱÉÁ�T$ÿ aÚ‚KSñ£mzÒLͣı�à¨ÖŸÒ5Í?> ¹~G˹³ëx^`Þ¼„Ôr~õhy¦-ÛšðÀß)­-F$ZÇĦûö?ªø� n“üƒ8 ÷JÝ]®¶=ðƒïÙƒi™Àºâ[Ï­‚N‹± •&›© a¨¦½dî †ysÈG ûº(²»òpŠêM¢@ƒ�Ò‡ý¸WÖR÷uuµ›àÒý ÈÙi�ÓËCU‚=©ç�€€ÿ»C�6z�C¹…kÆ0ñ4æÜY Î Âc‡…%4ˆ¹˜P$@^â¿IœãÙîT±pÙ›‡B>6úÜ �M Œ\5òo�r­ˆ¹åâ5mõL�`1ÝýJàdfeO¦£ùw¡µ;n‰c»ÕX¶úd< E÷'ü>Ú)Æp¹>~ñ=c)‚DÎè™3Ü›tÇh9ƃ;‹†ØþI,—hÓÈca›K‰ùu˜#�¯ryñ&Ua�@PÉ¢‡š !S0 Á\± ]Z³¿~òí`[Æ'Gx gQ gE€ß²(¨î/M±ÄØŽrW)½“û’Éæ;ÀB™Û}I¦Ý¿ê“BÚä¶+]tif«€Y/SðTÖn3®)²½Éš[k@L�ôèÔÙsÁ“–{÷“Ì.¥¾‡wÿz’ŠÇeƸ4!q" Gxâ¤zeýªzÖ>Ù L;S'&kû¨é[£û…|LØ�BnºDáùΣ·Q½_>X†k„‘eV ´uiYâ?£A”{ºÏ:÷U¬¯RE œèkGÒVî.LFwq¨ŠÈ§¬Æ2nÎBþ!‚ê¤nx=Ñ‚x¯|K‘§Â×-»hÌ*Î*?8sÚ„þùåÄÙàå@ PªÃ"›œù—v_}i1 â1@°!�Nj@…´Ë(#8¶8V(“jn¦„4I¯Q´:Ú¿“@Tìêaßý1!†_W¼0wBòæP‚5….Â<4%òÒH÷.]š€„-®N¹üÙ)oNô_«¯MË ûû5ÃC( 9ý²²ñmßþ,aáNm9<„”f¤nÇkqàfgNrGÐÏ'–5ÉW3˶a¡Ìb¾>Ÿ)ÈÑîšwkT6;¤õZ\÷ëÚ@<é$­4}®›Ü?‚RgHñ?Žtð1IþVÄ r`sd ¦ZŽ—~ÚN�àÓßyÆÈ Ò~yf?4×>êåÂÑqSU+®¦¢G©÷ßø²£/­•A‚¯íg-ÑSšF0»<ø3Ÿ“ á¿ZžºßŠ)4"�¸£Ú›t¬)¸Åë%HZ\�ä\•î¶ ¥yq‚±b4ä`©sØ>Ñ#ù¨/]e$ ‘È´9eÍÄié*¥Û[OUˆ‡^J²-ƒa¸”7(ÛŽå|TжaúµˆÃSÁ4Osä§Üº¦$fZ¦üC£›É¢3a¢™gàt‰2¨h9ñKœVœHñµÀæhØçAçG0káª|ãºyVxÛle©lk÷’á mRž$Ü´èÉË�!ØK]ºÙ`BD�ñéÛ«é>‹K÷5AÏFô¢¬O§õ˜T¨4ñÁ4vmã¿•^åfBÔ\9²Ja�`R3Á{?—¾»òlígCŠPPFS¹âg„�L>“ððvZܬ‹h3vkî®›Ž¤º¸ × ì©t8œÑ$+YØvØê¯ùí o¿{Þ ú¸à3Õ¹#òŽÉZס>9÷¤Ô(‘15SYks%†«“‰äqsxÝáH<‚Bgd¦.¤R—zÍ-†ïòeŸ­m±CHuà Z‚’8/¦pÊ,è³A¯Ïñ(_„Ö7;÷CW.ðD_iE'°ŽÌlŠt¶#_Ñg¢9úG2ÚÒp˜óÛ'¬‹¾æÜ~ Þú/T§b辇_ZæñLú§‰i°ÐÂt©�—þ¿*îicÓ¢ÖîµÒk³ð…]hVÆE™ïùÏxJ±D‘ ­ûiñYCwl]à4nÃÇÚ†�œþ èÞˆ䝿Ýš Ãn,Š}˜I’=z‰ÿyIp,7Šõ ç¹~8zhm�6ä’[G� ËäÇ�ñ± p ´f§`Ò#“øqÄËñFåÕêM.‚w¯?tÁjøä’gõ[^€Òô°tÆ¿ñ¿z¬L¬îö?0ÃÁc.Á²ËX½åСÑ,„$¿àkÕ\»&Ý*k>ãÖ*Ü^¸y62,î—çúÈl|l̦Ш�‘ÜÖð³,�}.+m|6Š•1Þ*—S# ¡|½£îë1�€ÊðÑæ1ww¬è—5’ì—o7€dŽ8dži6«¾÷êÕ7pe¬gŠÑW÷>ˆTŸŒ_ˆ?/côG¡Œôï�u÷´’ž{:áàãF.êPCG?•+ÖK:zy�¡!¸ `gqXÓœoT5f™ýþÉé>[qD³ZLµ]̘ͭ½k_U9ȱ–©!V«u  ªªÿí8„E«~Ò(üÚ¤�·swt™©³Ç\h¹£ÔƒÛƒ¤Ï'•‡¸xœßM~UÈÅž¯Å5,1×8š½Ç<ÏAÕÿ¦…œÄCæó�–‹9�îVë­EvŽÊTuVÿ¯œµþs –´ð,ý¿ö¡áƒúŸ�Æúâ1.ùWÿ(W乂ìát5ß.ÿ^*C ÖÁ t'u×«È .EÞ†::ˆ;e?�xZ¬ÐTQi `!¡ªsýXÝ)‹ïø™é9¯ú V?2¤Ðž‹�w¡~_óA¼%¶é;û%•ŽZ/œ�ˆð‰ŠüzßI�VgöúR†æ…®á•E;(’ƒK²®KJêûÈØ ®žT¸¶À\GÔ ¯&j 3ƒú¿‘¿íïé¯�üV]™¾ÑLiô„%6G܈¤¸´µâ]±ÎT) ƒ©!ý{øb~;º¾ ­ ÝíOÉg®œ!^ø{�ýÍ îŒÃ�1jGàÐ •ñÒY\Ÿö[i-wø™–eý¡ˆ/Ô™Þø Wä[AèD3`ê$rsîÊÅGÿ/ù ¦;£ Ž€®TâÛÁÆÍÑXcŵp,m#½¿=V#š/’r ¹7§�eHj§\Úºôøz Ñp¢2tq¸�á&€½©¹ò˜…Žé1�»4GÛúÏ=‰Á°pàAÛWÁMÂæ ½Ïf�©vA-ËÎýËSqax«Eñ,ÇzÑ!LK¶gÂoKn÷ßç4‰‘ñO,ïjÏ%œ¨Së¥7üܧ.àI§SvwW”JC7ªÿiK9ÅÕo3$2>Š.g†°ÝfV „¢ÓJêãé¸!êüyûŠsMelw=I¯¦ˆÃë˜Ý¼‚sùCŽs~7=Y� b>�aMiN`ƒ L,§¶!»Ç�²ç¯Qjç?7DžR¦œåÚ›9NÕâ÷¶uœCÈY)%¨²¤=‚[—u/¼ˆ$^¨*õªAä~'uŒåµÅÓóÓE'³èòœªLD#çÂÈ—Õp‰tA¼Õ1Ñߺ ÿAIÚuø›vŒ÷öÐ%„ãÓôRÃpZ~$Âÿ�7áÇ‚³Ñ™daå� „ÓÒÚsE,û0Î[Œ¬ŸyÚ‰ t[ZœZTT›V?€*:(ƒoû‚Y>Š4hÓŠZÚ¯‚¿Ô¶¶½‘ü2&&·9ÀV÷V¼»µ¥gY� [�Ba¸0çP£Úü±zÕQáôé�~•‘Ÿ]Ôø"ge_³;:·6ð�ç)]rX/qà’€ToÕcà�ÒáûÑÜZJx>@¯xVüvæÏ|F}”ã©•<‡.¦SíОM€�ÖvmÖ¯[|ÍôáÌ16àc"ÿë1CŠà"Äi‹€=®X�œ¡:pBvËOçü»²Gó  ”xTh1"€ä™G�É4xµ¥ñ½Á6É0Ûš ƒ‚pçÊöY|]ÞUŠž[—¨Ž�KßÛ®pÈ\r}•3ȲNfÓ¦{l¢U…¬Žé=��DÈý¬±ªì§½¤;àÂ'·°ºõXñå)_"l„[Ç>™Ò⋌‡ŽZß»(}—J��¯¡¸´-ƒ¬ ± ”$kG³3óV·¨v¤öF!ºC"Yãzdpu³›° @¦g®^#¤Uü-±­T�*ꇱµº4=H=ü7_ƒÊœJ�«¡l½H à­Õ�{²Ÿl}r€S:л¨„@Áá¸óß#‹•ÝD/ä�¨¹þ¢/„xŒè