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 Ø �7�*‚‚>1ŠC¢!!"$Ô @ gøç†ÑòÃvï2ÒYz£-”ú_ËOb¹õѨwtÿ¯ó»¿Þ¾ÿMÀ®?DþõÿÑÿíüÛû+å‰ëG€Þ¿Úûþrý†üfù<ÿ¿ÍŸÔÿú¿Íü ~²Ìõ®ö™éAûFW—¦%à˜%N”uÛÙ·8ˆ£[5É�˜á:“ ¨äa{Fç{·8ÙœÅû¾è~+ ¿•§ÁÇ;9¦?Fë-ió˜¨TR™I¶Òþ&¯çÏf¥SM1“¨^Wµúð/Ï!‚JUÈ“}r.üåÀÓ_L•Ù£1¦ ª=V÷Ô¾ ©q’Õ3£ÕÁ(4 ;OL©*ØÄî4—dÛÈT§DÒ Z` ØA³>ðIq•–v¤G1¾ƒ¾ØG‚uvŸýr3°�vÑ·,Ñ øÎL‡úòÂä2º�ØÀBtÓ£P•~i‰Qr”ˆGrô²¸»¢Í—#§Š‹@º—ã"P,Æêµ,užJWùî'À6< Í 3,ÃF0üS\Ç-F!útx‰Ü kÒCÄÅh¿ f~j&´m*�òâ«qxYÈ n\þúU6o¶E?V[žaB’?®·eˆ]3®�óPä¯N™ÝÀ Ë¥M©Ÿú”€æ“ÑŒî~íW†; ›Ú­!ä.ÕÚãþ+mvöË�Àó¤ àSÓ3K«È?€jrÎyD†"©vúÖª^츹»ù:€Ö–IŠÁÙ'�ÐN±à À\õðg7§•µ?8ìIÿ7$ŸÔ·ã_úT†ËúÛ/íäˆS1T«T·[-9êV"8ãÚ|®Ö¯ãPwt¾¼ƒ. š½ Áɦ‘°)16u}¿ö!’“nõö¹ßùG �VfócíJâ_k¬³êRÅJ½Ʀ¢×»PÈ«IüÛÉÿôÒ7̹6`ÍÇCH€õáÙ.âÞÜDÌ—¿™Wô‡‡À·œgmc‘ PˆÄ &-üª4?ë½t|’ÄǪ̀`æ’>ÏU… yyŸæñG¶ÄäF�ZÊñB�ØõÁµt(@% ›£í Š"–�FÆKWÓèqÝut@«µý¼ý�b�cÝ@_ÿ¨èbG|Ì¿LKZ¯6-Î7 &ä^l3•=7æË¹ñ!�xuEŠ{–äadzã@7‚|gÙ#Hç©Ì©S©&ß2ÁY,Ä¿YÔ¡I~V»¡•ŸÉÓþ&8Ü1ñ²Ý›á‚³ö�3tÐ�Ôò¿Q›‘Ð[wÇÞ׌mÆ—¾×ÁïâÐËVÁíˆ#<Á5ÞqÍo"¼‚â¾n÷°îqº$GbG<2fpìGßs›—x$ÕSxÝüþ-Ã;ÕÙwö,&I/�¤F‡o.R©-üÕ°µ@~ÄâZÍé:0ùÎÛ•cαµÛL&Bœ¹i¢r|d…<ãçQ©gä–\ ¹Ã¦ñ‰ÀÀ”oÔ„f+â›ÿµz¥Èª¦+ñÚ#jÌ+hA½…´eEÑc©‰±‰&gÄ^îS.�Ø ,¼5©?‰sWwCu‹¼ü¬éÂày`ä¹§ˆ.‡¾5,@\ê=‹Ø—‚çËÑ9"ÓgÊÛ—íµ÷|ù똠'‘“äCLZHZo.Kê õÉ€à½�ØÂy’ÔáÆ­¢jÊ�F*ÎX²ÖÈ·«¾^ |‘£‰ýZ"?>Ç3AyЃŎhˆ‰Ñ¹gHQãÁðaÀáȆ¦:6m¢èpÿÿ"®Ó;À‰ìŒjâØåD�âçŽ:nx?¶oœ·áœ»H¤�YÔ!ŒvfkÃ~ÄØÓ�åj4\c‰±Q�b2ž mg¢þ¯W´PA?ì…•‘?–Ž-qyê(ç£U*„c nšé�‹Ÿ�ãʵò7YlÝ ¢XU7Ó½2­D�ÏÓrÁrÌ~Ì_¡¿&-§˜ØXkË 5bžôœ—«,¦¡°}Ô™ÖvóV¡—»Œ‡i»S^/¼Ç¥2:=öI � ý0«¤ÄÓ ›KNTÕ•}PV¬EK¡zü‰¢4Qš@þû5º? RÝ•{ ¬ý�=±„ÁägC™,8N´.¥�xÛ0ÇïÝ�Î×jÜ\³Å_=o¶ºÞlso_JR}”%ÿÌ"Ý) "©ž7Ü&Àñ& ñ")~�”‡ýüYróE'Ï=Äø 17o»§X¥Ó[¹È¯Q+¶K7æ-'pÔ¯¿*¦˜_7»Ã�¿QòŸÉ¤}3A{,¼Q™Ï ܤ_<Ö›P j½õ6¡B´õßÒŒ[&�–È6^UMe±ˆ§…êÇIgÙn_AiUÒ¦4�·Þ‹áŠZìXÐj s’®VÙìǦüó¹²IÃY¡OÂ-ê»U"ô]é¬�>kÔÆs¬"8¼µjFÇ 1Þ`&1þoÁõƒv%+ÅI¤ä¤é¸dÍO&–*ƒ!„ñ÷Í~ĦԋÃ!³xs‘c1ÆÀÅмÇ=-%Í6>Ù¯ü+/vÐÖúÚ®‡Öù¦[òå8e±,=ëŠì`l­Þ³ò6ûÊ_ž´_Cz«ªYg:Y€Ë´“A$>ÂS×â"’ô-X$IsêJ§üt4;uðŒÐȵÕ?rÅ+×÷x½¹XPUwœúL´ôÈBúHŠfâì’P0TX‰‰áUÞlè-¡Ú¡È-\§þLX¶�1pvz¸ÛRûÅ&ÔDæÒ7FÀþ7‰�Ëd©/)ìÑÙáËò Oa¿ñz¨F¨iÏuõ¢ ¡S(ಋ ÉSèØ›r�ÁÞR}�QÂpN ¾¤‡VXõÔÏÁd.“ÄÜî,UXÝd>ÜüÍhŠøCKàyOÃ$4tÅs‹�ÚxÀˆß´k'Ðm ‰É[²Ñ>¬¤4Ùüå#nݪ٤r£°ˆÐ‡ÔáU¢ YµTyïlkn@!Øî¼S¢´«âž²%.ð’޽ŠÀ¿¬óéÅìÙ9œ+w²È' #¨å˜Qa•[*µÈaÙ#ËØÎöˆP¹ðê{ÍåGŸ‡O:è‘WîCÍÙ(éáCÍÒº‹{Ð,‡ô‘BJ4EzBH’T²•Ó‚“*v9R$7Ôb‰jd'Àû=ÃõWá Ù_óqlG®—ž²CG¿f÷÷È�é¹qªš¤­Ý̓F&B¤š´¦sþ7 Ÿt~¯2ԥʺP¶‚Ë3gÝã­ÎˆŸ&¶RG¿ ?UŸÏk2ªyƒ»ýl øêxãÿÏáGý·�¼øù!4Í“/_BœÒ{5VTãI,t€,R<;áZÿF·KÎNØ“ðÁžr˜èGÜàV’é¼Buugs0ÙêAþ¬•Î|ÒÅq²3‰@¶Wd¡¸Â5E”çFp¯÷[úRÚg4>­ô ·6«ÿùBžÏéM¢*]§�iÐlÊ}#ea¸={Ä=«¼Uüø|wîã©Þ&Î’ÏæLiJ{ ¤¨ï+c¾‰½�:ÅíkQa™·8ëOå_›,?x>>ßÔ²éV»% L‹ˆ³O->»ñ™Uªâô'¢î¬(3Ù^c Ü5rñ«*Þ±£›þñ²ƒÕú#4ìûmê÷´#ÁsúôCrgÔJ'Åœ´a’ ÀhGÊûüid3õùüŽ˜Ä…p‘~dý`FÆGûœJ,ÚÝòðæÄ-)œØ<Ÿò¦)d§ýæSùX¿{g»´Õº?ï=\ð$Ü –ú �O72¶bÉ«åε�5¤\ˆ0�€ ‰7Äd0…ø¦K�•n-ãô‘ï‰ÆwÑq‹åEÙû¶Ñ<8qÒq%5„[aœ²É" Ç•ýáÆ—8âö<Lj¾Ì/ âa�–ÜÁº¼aP°Â_?`.5g;,ª@YŸÜ¥þl:?-�žjå¤Ì"ºì› J�ÂeÛM92ÅÛ£j¶ó㚈ǟ±)Þ‰vkÂL–©ëåÿ¹¼�õ¸8 Ö§aäƒç_ºa8ÑÍä…û.ø”½me¬% ’ K yˆGYoñdµ&šM®FF7�Í_ ùÁØ)¦‹Ò',>º£íÎãS`$£�×{ÀD‚9�gŒUÑÓ¤(v&uÖJç&�¬¬ˆ[?¶±í¿Ø'ˆêƒ}_˜<èZ‚èmS6`a4ÎÖyn݈ÅPä[Bà ·?J€ÉÐöÀ¼Õ¡hqŒQ©iH¡õÛÝ¿ˆ1GÄÎÉØns†È“è"fݰ+1@®Ð