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']
RIFFvWEBPVP8 j°;�*‚‚>1‰C"!!Ze ³€iRSvÚ¦þÍ®·ûöjõ¸=nƒš?ZøñíÝš~ºõ ùgÞoÚÿ}ô‡¿ÿŒš…ûýŽüÈúÛß�¨¿‚}€¿V} ï û÷û�`/èÛÿìú�ý=çÇé¿ý¿ê~žrÿ¯ë�ìÃö·Ùûö\ÑÚÅ0�PÃsó((!£Î¾ÃD“Цóy¨ø‹›S íeëcú;Ážùô �Fn˜l¡­" ´µß©ÿâsSÝW_Õþ/ÞÚˬþ4iòÀøÍ„]h  +ªõ΄DGVú+¤ìÔúÐÈŒ†°Jc°UYíø…ÿ÷ @”·Ó[gäU�ž1'�WQôyJ°ŒØZ*ÿ ¾ü]Þs]çfÜ6�€æËŠ(/4»8WfBE §‚¾4ŠœvYXǘêâŠÇ/Y@éHºïÛ­˜P±yéiÑþX§OÏ:)wcÌœ“Æ0ÀšÌíÆ. FtX±/ƒb�˜Ý`P‹‹J6~ýëóé$«´âx7~𝣗™o8Gzý'ÔíÐjÛ”ç¹vü—OOáúêp‹IUï‚ jÚœtJ€=>””38�¬Ù(µ…UWÜèJüúüp‚ï·Ð0e!%(þû(M½äŒ�ÿÃ+/ʸ÷÷ßhyuÌç«(�§ìk«p©ã3}¸®6*‰\“²a3ü*è3�ér[º^¹'²Ì®s�^ÍWº[YVèwÉÇ r›/²\¨`ø«F± >ot?RÏoêõ¾0‰ÑÄ+ªÛ}U É=@÷ê.õ»]i´½'3É-¹Õk×Rg¨win¬ótm³jÍþ[»´~´B£Á[,Έú(›žœk:ÚsOµ\5¨¢Kö:çfj¬ö3ýntf¬1`DL¹¯_è'×¥DMÝ[¥†"@uðs€4ÈZˆjõ½Rß–¼»›9­Ð -AîQ£uºwÖâØœþØôZH¿‹»­O:Ó~^/ÿw :.é¼wñ>õ÷º<¹y²ô6‚åmÀ9 ç¦zÌ%û3UçÚUÁn9ûaûñS9úm % ¦ùçS,Á¡8èõßüü‹ÀÍqhV´ŒÄ Š.e4¼°.œ€Ãv÷PÊÇÔ– ÞRŸáGÂWR‰ ë ª€Ÿô®d1îéór –5û‡J% >Ñøf(¯Ý�Hº›©²�ÃæÛI6µ »îå›——yZ餽¿ãî Ý1AWø¾Ô˜@»(ÙÝìg‹ ÏÜ©« ÃÎïË~ÂÕÙ| üK;‹ÏamÓ(·ç²/­=tܵ۞üäDA\Î蟙úµ=wOd:1r¯¢:ýįþYè§Sâ’Æ{\Hspw¬u”¨ˆø{››õ9ª½`(Âmf´F“1„?NÓžrðg6†ó‹CŽØ/ÑÊ�ÕSˆÍOd,ñ‚Ÿ\;�À–qþðCŠWeáÞCïtbx´ó¾+�ÚÒíúý»z»â*‡7Fò:8ÞÁzmÆŠü ûZ3`QÔ�v(À…ß½Õ*œ=t8ØyÊÆÏgò�ã�{©48‰€ŽX#�ÉÔ†¾~n�³üCBdìø v2¶B·'b¦Î'ŽìÜ[³z9žÒ Âéì#ÿùëZ_¯ÿqÏû§…'5�¨h¼ã§_^¯ÇZ:+ Ïxä!ùF„×QM®Fb( ŽÄ‹1t¨½}`A+ñŒ­NוÑ'÷ t}2{’ë¼¥p;¾q4}bÛGc5�’Üj\êÒå]2H]áÈ`Ê£j9SjuE³$<¦ wŠzOPöc$¿á…Öå£1¼Ÿ^Þ¥à�âmË d°Ó/úƒzÿœò[º—æ]€¨Ö:ç~àÌ‚{” Çyf¯g§Ù»”�+¡ðÇeŸç³)E±îytΔ¾£©íÉÿFó :¦£OUƒƒí]Uc›=nùƒ>Ð&]/ðy£Qu©ÆEUj4ñÑ�*O|è1=“)tTưôó‰A+èˆúßí°R[ù@Ï_`´¢`�ï‹ëÇ ëI5Šþ©€‹RìláL$LZêüýöÀè÷â§.&¥U–<[Î¥˜”b)^ØlØÓCv4.H×(L7å ] œO³ZEdf¥FS g¥"½ŽbþMÈ‹§Xh4ËtØ’ý•Åä_ü$£ó|Þ†õ/@~ u?ón-óÛi"ñqÈÈL�‡ï ›­¯cAïÔ*�S=�ÚqfSŽ/81šV¡µŒÄ¹�W³Zߘ¼ò —p3Èë€ÐÁë�¾t=ž8¨>ºÙ·æ$•L§Öªþç¾�$Zâ– {Ž_oþ«¥q\ïKŒBÀuÓ+$’ˆÁ3§17hlÒ�I¾©®j|7Ž5#kê:ÈÕO ¸q ®Š¹î¦*ðÕó„Û^Ž[ïæòÅ.%ËÝ;æÎ“ ÚèIS>ñ’Źóîå�Ê×аr²í×é˜þ][»öä-ÒÓÂýޤp ’™j�¨‹¤ñÓ­ÁÔ5ý‘‚Pá†ö¥öJ½’;-¢!l™Òv<f”ÿ«ccP ÔDTc ëYÑp�¾fþÎúÌVkäò;S#ÚFªé§¨º–ÃDîý,CÒ“¿Fm¾¤–Å}RŒ ®«€‚Z÷>·pÜØ×`[N\ìºQS³–,oN �Ùáš½õDy±ƒÑýÍ£à×@G&‘ Ã>ž³¶Ò[_Qž¥iŠTúdËж+ö‘ˆ?ÔvÖð u¢­#Fg+ãʔɨ� �©~(&Ý8±\ Ì�†:àÌ�èæ|é.™úÑÎO‡À œØ °„ÙM­ðŽl4Ïêš#µ×Õ øÜéÒ®"}QJY$†Í‡^(¹0ÈELùY¢]™Vì:>cz÷ÿ�))€† ¶U=Xµ)îJT”Yïoˆð-­ùç�ýùÖŠy®ÏG½‹0Z‘û)YSÕ MècÃÈP-?¤Ð±j?óIA¿Ëj“Á,ä£^3=Ë_YY†ß1�á´ä•c µ;XãÐßÏÚŒ>ül(×B`õŒÝV6jEýª÷ö ª/ íèþp:ÑÚ×Py ±$bƒ¨xj¾,ò‚·jš8i`*î�†f�:÷'¬ù èÚy)´õ Ë·or+8Ç3>ð<ÎäZ™#¯Ž’Ìcš<$£(‡®ÎU³°F¡`[7šªiÛ‘ã äÚ¸'¥­Áxt {«I½™yªóIºIØ7¸$mR4š�z�jÿ-«EQ0äàgcËfir— U¸¿,ÏËÿ€óá�i�¼þ”û‘Û ´KŠ–Añ,9]?¥®Ï˜Kq‰ $ŠÅJÐZMéþʦ××[.&…ï|ú)þük>;¿P¾4ù¥9~Ak ”ÿöÀ©ñ3"¾É{„:ÛWHÃò¤?•¬è¬F›V@�‡ò(‹…X—X.iÇ�³‹Í仄§±'¨¸ÁƒÁ?š£[¡†Øéè‹QMyã+±f`_nˆÙþ€ÞH\Ìs˜ ¦ÅE —›ø[§ú*"©$h›È_Sš­–ÐlK®-ŠÖ¼ìz/„ÖdÜ©ÆVþ©¼}yxÃwJë·6z7[ý­6™œº½h™êŒ ƒU>µ`í_N2�ð|Á}Ð\íù3.ÞÃD’³ØËæà[²ïÜRÊ|÷®8z±­ªÇM Œ`]\¢P~Àyp¢2f¨—Ž> £öð§'Lµò�–gY¬•ç97k‡¾7º²6‹Ÿ¾È.¸ðpLèê�$êôq$Ûâ©tVwë%¡ææb©£ÿ’�¯cÀàÑâU’¶ÊÊËh³¹îÍ EtÔØòEB(œëüßd�е>‚‰…¯•œpβ2+®:=8bÙ”§Z‰ý¸ÑÜ|äß8¹•Tž¹ ’˜Ò 7<¹Bÿ ! EV~sìÝ@,LeæÊ°ú�§èl¥Œõ¥¾e˜\u]ˆÞˇÇÿÂGPG{L«‘’¾¾—>º•lVÞÜ9¯ÊÌ–âO‰A»?®¾zz~N;Röa:'¬vaÿwÿÁ€RR“3z/A@¤À⌧_ä$}«zøŸÅ�!‰Íù"v<�6$«q‚¨=–�ˆïL:ÏEl¢€ŸE]ýR뀀é…c¯Z¸s±¼»áyØL­}BÎÖuC#¨Ñ²Í)fôsË·¦h\²8«‰,ÊáALIôÔø«ÿ´4¢—\}U$PÆÙÿZ‡Ù„þ�i¡rCš ÒV=ØZŸ¨ÍÚ”B}/±Œh£ô=2óAÓº4ãd¯nHš#ª+Ð+ Wý*Â/’3Â"WƒÚUDçºi¢~Ò“`Ûó)eß[ÊØ´Ýý_m"!4xYÏ#KjÐ�ÿçJ4 $[$ð(Ë~¢/“ÔF’Ÿ ¹å—D¿‘[½Ô7EQBÞE×Þ +ä[”`š¬¾WZ¨NRú¢Û˜ MïF®ÒÛ (w3ŽÅ)éñ&ÿ{Ù>Â(bO.ù¨ÛSbîÃñ€Ì¤Å_Ûÿ5’<\.ÀL),}/Àl™ŠGIm:î9•�Ïa@‹ß‹T¡Ü€Å3�ø©H•ònÿß°? ÛoˆcFÅP°JDÜÄÕU„iX”~w÷ÃEŒ0^Ö&žðgŽ–±¼— ÷Œ�ûN&¥ûÆë¢ÆB´¯íéì&k=·9²»É-é‘È€/)ˆÙžÀXv÷«i1¤Ç�`o#Ð�‚õ#)ùõûmp9_ïŠ� FQ®UÕžßµâù)ÊEöœT_»å°¤ÊБV½Üœ‘;Vãù"³‹5“aK.Ú@4­8IÀf“b?¨Øz¦a‘‹<¬qkN­Õµžzät &^ÝAˆ�–#Ï€7Ñigx‡þð=Õ#À¬ "V}H~pB„‹‰¤Çñ°iÎ`k@@