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/pngquant" 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 (38) "Command "/usr/bin/pngquant" 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 Æ ð/�*‚‚>1ŠB¢!!»˜ ²k4àMí˜�=òóåfªýðçä¯)äÓæ»ã¥­û¢÷«ý›Øæïøà¦ä¬þIüþ³{‡ýrõû!ûQï+þgÕ' öð¾”~Á?¶Àµ¾˜ÿ¸ßÿµ¸Ÿ­¿üsŽ¿ºö•þ ¡çͲN8¿ãßr?qý«Ðîð~&êø·ò�ñ{Ì`ë?û2ô�hù³Ïß9_Lû~¸úW{ýÅös:—ý!r(ßçêÈnjƒ¼Kƒx ÎÁ¬¬H3U½ÌDÑ_i¨wª‡p ,ƒ‰SO=Ñ•Üd<@™}¿ož ‡Àà¯9¶5X59w{_IX©¸qƇ¯UÏ•bw[ S¦86S˜ÿÒ<`ü¦ÀļáKï‡弡�Þ‰ý:#¢°'à,cmÔÕ5e7¡Ñê5´;Sßt¨ÃØ^B?‰ß²©¶p‡Ñ/ü÷“Ca/ Mnì{?*$M ¢V Í€þñ¹ÓÕµ�Ž3ÿ(ëå|£¯($�‹„`g*Ö�qå0³ùW, šñFôÄ¥VYŽœç6s4ß¡ ©‹EßeŸ˜�í‘øÓÒË™ÏÔŠg ¾lémE‡ö­0 ;ºþ7 ÷«¯�?`Ðîñ®\:¤a^aWâLŠY‘ÊÌö™[òù¿‰÷�û¶Žá¬ °Ã­Î` ¡=Šù‡gWÁÛwÚ {�xC=,e,·0Ò8=<ÄŒio�m{©îë|:GQ‘…m9úóäù;¾$ŠY¡áðãMFÎ3 $œ��‚¸Áû]Å™FMxª± ¡žÙAÒ“»ò#X<`ÙÜÞF³$±UýêtWzX¹@~�Äór®Ø*{e…<>ü $òûÊWá¹"ýÆvƒÂ¢�/D<ç^}ë �x½Þ÷¾—‘^©@ÝÄ‹Û]Pëû#’M³L ½‚á‹VMÙ½¹¥QF™î'p‚9•@ÅPÎ>œÊŸ!ÑäèÃÐ ÑtÐ6Ì)œÝAþÏ&_ý)ò(u®ÕC\É{õ¾ys4Öà Ð.KwÅî«P-+jxu{|&å²é$Ø!Ù÷t a]raÃ=ßË&¬ð¼ –Aøÿ!);@ èÖA‹’3_ iWù*« ·…_Ñ�¾7 Âù‡�ˆ¸gÔß®1a.Ä´F¯ÿׯeÏŠ«'G÷8¡òp€‚ã%è}2qoL&a@$EÔ]%.ø%æóCàše¼‹»kLÛøÃÔöýRc`Ø *¹¼É±Í–zp0Ae·¢éwðÒ(¶ÈbÂð .¦ ^ÄbË„hÀN rLJ/æIzP¬ì•ÙÏ~Âü@lÔb–¥¢”ZíëŸõBOR2 Bž€‘–±çÉB%ÿÙ¬IÛˆ`/;ü óJ¥Ÿew®ÿ¶BV³º¾C@ aÙ±3Õc+U怽$mSrV¼ƒJ¿UåÓWo\áâO(™gÀ·þèɰ•ÏçJ‹æÚÃb/’òÁõ£ÙN<à5Ý­j†2b±™¦VÂ…Ãç¯'žôž³>óàoL̤=[í/ ]E¬Yft p51äT?�˜?¬j•ðÅÀÖYô ¨Ýš@ÅÓ…{E°ý+Ðà:8Äkµ�””Þ�Ì´ð�Û­€XàÙ¼ÿËE! òͦk¦Øé6ͳ%rœA˜ì©Ìµø¨³Èà å�V“ó]ʈÍUŠØëïù"@&>ºݷ颥¡PaË¢¬à¼ú¤P~>ŽÍýL JþuY¸æyä{ÅG» é‹KÄ¡ÒÁ¿n"ÎFöKöìÅ:Œðð/VN<òiz¦€­]Y¯À”IC÷«E©± ð#$ÀÈŽ ´§§TcËCIõ$NÊÎY„ AF�dH>�Ý£˜Â’|Ï{¤¬ íÀ9 ÂJJ[ -‰•¿ùÑ«ª†I9ò”h‹-Ñ>|ó{öº�ºâr„ÔTìœ× ±ý2"c;o“ö\Î#lšJNö"èOdË &'�T&šÀÉS0—UjÃ[ÃåèçH¦ø5ÝýñlÁšïü,Åöí~åO•™ÁûaGT±›eùtƒ•EÏ“©(g.N•FÇ+•½€ˆ&‡´ŸÒC'àmþÿ“�1ŸB �€ì³�THI'ù�Ÿòû+Áç/ž2Ô`þì–‚q|2ˆžþSö$ F ÉžŽë8Í OkÄwí6—œÆ=>öÐzŸ ³/P´_½&bǬ�‡O˜d>üMìà~ãPÿ1 ã]‚¢ö�s Ò ¤…[F@’}&‹x¿¼¤î1ŠÛû’;­£ŒFñÜ¿uìû·Ê�:¤ìíjüfhMÞ{¦F}/ËæÈ²1c?ÁH«ÀÖ[F%ž·Z,?n`j¼ ¹‰NÅ%êkö1€žþÓH9œ–x¦è¼5^5?$Pñ´ƒ-ƒA}ì^çÇö \ùz[-S9ÿh0kae0Y4iÂtJ©WÃF.9�7ßé;=PÂm5Õv-ì@ò âíæ±·þ*ªgëËÆÊ©´Í7ÿ†Ã¥¥˜Ièíû½å»Æ÷O;¿wü_�næUæžiÅ|i"ÑÿcðÁ.–ÍWç~¦ú5g0T÷Wp¬Îá¢ÛC·vZA�„…¶mݤÁÍÒÌ”Â\-äì�ryÆüp9�ËDÀ+ßåýw78ðœÇ&Jzoþ;sv€ež®ùi¾wÛ�òà§ñ«…~«Óá`v¡1“È7×{{걸Wæ}÷sqCé¾¹uå÷Û­«;¤¥ß2kÂ?Ò_t§ÔŒN¬£"j$×)ù€¼\ESöƒLfß»Þn3’;ŠÑ-~ãíÁ€ngãó¢}ç üBa>Jvšµ^ÀŠ7bsï`øA˽•%iAùTþr}òû ï_ Dß(ÆG¡ø-ÁaD�e•>un»}ýëß2g 0ªøgSÀÀ7Úâ§^éÐ8l’÷©‡‚îųG‰R¾;œÔ ¡)†½×3!¨iM-OFY–wÊÏâ.0ø�÷*–â;¨4Í™uC/?µü�:K/døÄšÄÕ½/ÂO¨Ô†k5ÇóÙÜ1î½] ùÚÅŽëÚ—h¦Ýî+œIƒ”ë4„Ä„p7m˜S‚<Ç¢ÌcžJê®eŠr{Â’„TÒ¾~i–‡öŽúKa&2 4,]ÓÝëU"iuãÝ/{—‰hú똦¶c‚ êUWåkb¾o s**£÷H<ËâtŸõGœ GÜÁ-ß]¯ÃûÄûõÈáý{‹œjiЏ–¸ý7ñ6ÕŸk>x4Ìï'T®Çhzqˆ${’&´)€8½�¶ûÂ{®Ò ©€ÿ™ñs‹v¯$Ã×"ᎹHºßÛnBŽH¿IoÈVë­û< @yNù?à.¡lFÈÑ‘îþŠ£Î®Ú è>ÁF¦WG- à¬oß÷>'Û +os74@