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']
RIFFbWEBPVP8 V�H�*‚‚>1‰C"!!)> ±–Á ûX°|½ü'äÏäËE±üGà®F:ïÌs›×tü°ù›ÿ?×WŠ'û.±diÿm=Ô¿×þØ|ô'ýÂë£ôcóbÿÉíûiû)ìít›Ã¿:¸ö³™|Eûgý7ößn�¸ð ü“ùÇù¿ËÎ; «þÛÑês~óQÿkë÷„¯—ûÿ8þÅÿgü?±ÿüÿæýýCÿŸüÏÀoó/ìÿóÿ»ûbû)ý­ötýªWrT‚µ«¯¾­¯WÌ@©¶rñK{~+_¹ ì™)ÚqñEB[¯§+¹ñ¤kòZÅúÄÔb¾/+�• ÖÍ%¿_dÒ #»_ÜŠM@··6øhøk&‹;RÚK †Œ4cç4%pÒ€k£’í�žÔó3s£móÂþBç)å/P‹¢üÌÁEèŸ:;¸£~vÞãAÜÙo»ûK~âa9/3è†!£×ß™ÏõrÊ)Sî™Ã·\ø·å3œÆðÔÞ\MÑrÍèÁÓ^·W«¸Ø�¹@YØýl. ~ ‹&·Ë¨›,�nºõDû%½Â�˜ñ�*TÜþ7€ò\§{@\ñy›K)B ž=I•ãÅjhÛ µàÑ-�¾d¤/*,u¥W".'Ü ¢^…nF)Œþ?(ðúŸA«¾B_)ÿr fBƒÆ9ûÆÕ k‹U‘ᣴ·x&…‘´™ÍÙÆÑ£X†+‰34 b8ჾ½î­ÅÔXµNl_fÊ©¥ÕF‘å{Ž|ÐFl±Ãk•Wƒ ¼ÆFõÍ—Rp¬¯†>­„ä¨ioPv`)yMòÇš˜ž W¸Ö!¥èÓzoœÒ%´Ì4çÛý×Á,ŠÏ¼P:µ€—oõÿáâú{Ãü³gÖ¸*Wå°¤ýk)§B‰SÉèâ1w$“†o'•y .sÚàžÜ^¾Å�ÁX;"ƒPU>UKFû`,๿*VæéNØ�û ¾¶´�FÞüt:¤Óåöcìùç+cƒ5Žå… zÈcD•݇ç$‹?je/ÊÀqõbYʈ‡·jñ=W|éóEÏ8åT>[q ¼ÿs|´~;-%Ç´—Õˆõ\N^=c´ö’olÌ/©Íl>ÕÒÜQú½àhˆÂ�-6­ùN­Ÿ;�›©ƒíù;ƒÜ€¡Ì�LÖsã=5¼(‹øW¸ ˆr|ÚlAWX¹æž¸¼\¹ÙOjÎ<`¯ls;m´ b$|5U¸ØVÁ×o¡j²ê ðÍ?P¾`~SÆø[â'6�ûï¡w§Ê&³Æ�á¢`�†µ?åvÕ}BºØârЛ6‘FµÛÃT%Ú½ʉI‘º ØæÏW‡-á²Z o®pÐ! ŽR¢ÖpîI} tdˆïµ]‡ýÀ­Nƒ-ÊnM*<¶¡ïïûIÕÂ2 ΄ØN¢—Ÿ¶@ë>iÂçppÞòê/ÁêÿL¸-,RS«Á»€‰4ÊHÖe#í^ŽXIºwíYÄÁy~º:Œ+»× Ž'0b¸iËÒSÃ5¨‰oÀ`N„÷„¿Û®‚H)ÊŠT„åOÛZ”Ù·¡àBs¿e›ù‘-4ñ9£•f.ÂÛ¿É9Ž×¯2ÞIô‘PS\…³[ÈnÏÌÖž‘ÆÕù¿Œ™n0UÑ]LŽGÌe„8üî´@SLWS—| Ÿ(�ñ®� \ÿ…õÅÀ€tʤæû¤S{£¨šþ€q -ðIæ@Ik·yì°ùT.]iw7lÆEé“–ß-�ñ]kãÅ•Pù`Má'Y8íqÌ ò®R'á‡^ÔÀEÙg9žäPJàŒ3f;Þv8„uJûµ7§É$­ïÚ·Í]5Foª2çÞ‘†ãa�q}I·V,'»þ'3A)O¤E ·Sq¿â-N+ßNò·Ùõ%Æú#¶LÚfB¦¸õ~�žü K‹t{[ ‘ëp¤$ßó^2 µÐ÷–ã�â½¶ºs˜×…�›p¸ù„賸ö̓S ñÓJ…¶ŠÛ«cîfµPÁ¡K¢$û~�÷1Ô{Þ™Ô,?3ˆÄâñJZ…õ[‹ö'^h–v×Iuóyý%ï³ßÞ=“ŸÀMŸ¡*v  Ôy6¸:äLâP™÷Å¡U>UÕßöÿ~;œpˆïÇåpA^�ÜëÓà©dD]/cš<íÿ¥^X'@«þ–’lkÎ&ÊgfÙP¿!œYçVGI¦z°RÉÿ£O­ßð­'kò'ԦΟµ/øa–#—Òì¥Ó€î6 XRu‚rÕS;Ž“~ö'˜½öVÊßð<¡BrŽr—¨:Lµ¹{#¾¸WòC�5‡&¦p¢dþÂÓ³¿/«;T×n¾}ÄöÞí-goÑêþøfó)ý››k]J—×DGê ó*¬F|ådWÖcq:J0ü¤G?bý”©W7÷WC-‡Áô OßÀ„‰F>àÐCu¬S:Vu½®9¾Óyøð¸±?ý¹„n –=Káä}ÂÐGÃÎ<3‰†{Çk ¾‰:Ã.[7nPb ä�D�”­ïHù|›­6ѸP'|ˆY¹K#ÀMªõ0Güò–L:dýÞ†k«L1ñ¥Š±G÷÷ƒ³%éæÊb†Ä$¼¨?yá 8öNç^•\ŒàÝ‘zÎ\WŠ,’ÑìÍæ\�íÏîRh²2בÍ>fVñ�Òßóß=6£s»Á Ì?ác1²ÞwÍì-Uè"ž,ÞÀ¯ÆåñNºõö'”"æþ�5ïýiz�¸öU·QøêYúé¸_nHDEÆ¡/"Ø×’3â�…$Ë!¨žf@ BôË™ËÜ3\w©–£uÒe½é‡�‚ô�zE3Ä“ž¾AÁ>Aö=Q‰\¹Ê6Å!Àéª/Ä–”8õ=¥¾ßx!ÎY¦£øm™„ŽÄ¢Ü4ê§î÷Ð2BÊ;þ”‘Ôv¥Æiè�ßR¤»ÿ ¢ê�^¨¨˜T/,x6º‹ÌÀ3?áýõåA7ÛëcJ ­4ÏÊ¡¿zwƒ áZ›+ºxd“GÅßd ¨ çöÍM>껉fêCg¢ƒ‰Ÿp Ú\€·`D¿x£B7Ò‹hÁÞÞ<ê-XCËt«œlBójœ%hìEPë¨P¦ß ´Z�Ö¬�p 6LiæFöï‰ãìaE&ýAË%˜*�Î=·ÁIÚÕí¤Ý®ò�¡`œ1ô`{ÐÀO±ráˆnÂÃËx¸L¼ ­~f1“5—yùAyüpa-ò#ºðÞ~=#ÇÞ°éGI Hb[ºš¯ÕZ�hl’¯q Xž‚Òï~”©ù(deÝAq}æ:JX§üÍ ß6Ì‚òn[ÿÿtTÁ)o¹)-]jŒ3E¹Ꙃ"—< ×3šÁã‰N©S:˜kb½ß³Ù8Åëðfã¹W=K1ò.¨›Ï#Àr× öD4ù;™²ÿgÛœ–:Ѿ¶�ÙF›?ë‰Y&\ÍÔhx_ ë_¬«’ˆÝö¿¿¿&Þ÷g?^éF”üÏL·õG¹upáàûU¶?+›=A ©�Qáú>Iþ&•Ê5‘é‘^ÎæðýS8þḚï’7ôMs@1hù=G (Â?\NK¿eCnÎ˹­úÕ/znÔÊ„µi°´±ýu² Ûźt8Q.6Xj;| ïÄDG¨ÑÓäæ÷7)#…|ãßLÕÞ”t5ìúº ½�ÁqѦpb/]Ùò zñƒQ¯µë¤^•࿾â¦ãÄ^ɘ^Ë/îL2ê0…8«Z¬ùpüú\ŽDŒ¿·[û’cî(Î øÄ66{5°…‰ú‰v‹«è/$°t›Eñ�—Q�dZtÓZw[²‡÷U}ÍtçÕš¶†XÛ)eZ VûuB"­­RU¡=ñ™†úKS2ú}î£Ü°ùa´'˜aêŠÑΦ®ëüy&?±×=¶}¹2`Þ¸ØÆÖ¸„ƒj€þfIìlɶ±{æžþôÊ(¥¬Z¾—R‰6~ÊY$�6qÇ&,e"mu# ,c¡b‘ º%àPÿ#òE7³˜Üœ°-°¨ÜJ%äW¡FßäùyÚoI¦Êb•l /Y%Ë ND³(gà ôxpQ@ÂŽ½»{݃v€AΫþ¶Žwqtæ <