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ê WEBPVP8X ��ALPH— �Û¶iK«V�ÿÚ¶mÛFú;íÌŠ‘ý¼m»;3s‘­S§VrÜݾˆ˜üc²uÏÎ + OŸŸ?~îs*M^ÖTBñ³Aû¶¡êè¯<ºnp°’Õ».j¿þª²pê2˜ÊÁËÏí F/„µõ×ßÛ›®åZØ[}Ó¡ÛJáVÂ⺫×ÿHb÷�&ahÓóJš ›ÝôCA1¬=Ú( |÷qMauãÚ¯!{«Ðø¬¬buKY'(BÁl Q †BÙÿeÿ—.Z%¹„_%g~ÕLøPߪð¥n—O�zçãD~šQ×[ÖŽtjDs“~�iÎ8áË¡ù´èróÆq‚pºáxƒžžhM0I~Kå@sÞîèØD>m¨œhÌýª®­Á$Hø²©ÉŒ¦´ãËÑ;ÝÛD¢‚Àpâl¯ñ]«Óù×Wïõî^Sd„âÛ•ë¯éÀ‚šöíÙR"ˆ”’‚ÊÿñPÁ®f‰�H"µ@ _:"£à!ET|:"³ &$‘«A&€DþÂ:VP8 , 5�*‚‚>1‰C"!!ÊUÐ  ;écÛwÏ5›[ù. ɳÈO™¼bÿ¡öù Øõ õWÖÏôÏÜŸí¨OâÿÑe}à?Å~€{�ôþ©þoÖÔÐõÇÕŸþíïÁ�í·îÀwó/ïÿú³Nûpþ�øéÖÉâ¿i?§núæ_ìà¥~Üþ`{øïkP/ÆÿŽzü—ü½ù™øÑÚïþ«Ô#ךÿþ³ûŸýçÒ õßB;Õÿ9ÿö¡íàaàÀÊ?°ÃþéùGô½ü¿ýoòþqÿ7þïÿCü·À?òÏê?ì¿¿~öÿ™ùºö-è—ûo‘Ì´Æøüî´Žö›(1þ—Õ‰V†Ì–oŽœn§Ÿ¡+ê§`& 9 ûm .Eõ�'µFw¯ügöF²ê׃¥˜›YTÊÖ×é°·Ò(­"èÄÙ(ìï|-öçö%�Lôà[]åÅ–<ê©S|?àz½[®?,qø ùÔ�âmðG5 á×.l�â=…cܪ܀Ö}¦Šu]*Ñg  ;¼Ù‚èä²W À•‚Ÿw¿úÂ5ô€þô�ž,LLöøö`Âá1 ˆ92·Ñð¯ýz¦¼ú— >¾¬ †¤¢ ¤„+À ÅO·ò®ÖÛ5‰wñü"a[}aä•óâÂ�ÉY™ù%Σ»¿­ ŽhK)F²üII³ŒˆálŽœMºË‹˜¬ÚmƒdIù¸p´x¤5|Ïh@ŒÇÕ6ä�£•–í"øÝ‘ö¿NbrÂoò$‘_}[í‹«ÏòÌvzs~Í–+þ~9L€Ïÿðéxú® Ò:ø¦@}—çÑÈÝáÚŽZa~Ë3\Œb–ÿù» !‚ç7ê¢WÜ]^Ÿ-¨^É¥ï pà=jò—8ÂÝ:ÆVã~:ôWK»{´þToCÝØÆÂ~øiCÆû0Xà­z->{Eês?ÔÑ×bÃÞ·jë.é Ä3±~a°vUk]óGùR;r™‡LBœRfõÔ‡½ Õ7YÙ �Pš­ÍQ0i°9íAŠß횪“ëðt¦`sƒˆš×©Oì ¾ '…\Z-z3 øÑ�ÿÔtz/Ì_µËǦË6µÞº/¦Û>×TrJRí×ÅÎoÈhúó”É“wÌÙs Ó4ñ�&q¾øT¼^” WYRµ†ÁOŽ]ºžGÊbÌE™�ÿSD�ÁÐÐ E�³Ú!üTyXQ9ËÌŠÉÇ$\E)†!x“¾Â~‡÷•¦@: èÑçõyÚ€„n{}ükĦF4ñ£ÎÊŸzÞGHßïfØ:M<ÐW?Ih±o5â«J…WBžg Þê¿ÿõ-~4Ù¢:0[n BxSmüTWçW×4'ÊþY#Ðß&6ʾ"Q»Z©³Ñ”B°U…’,.ñÑ}9s _’"[‹3•mü@Êõ÷5*ÔØÒ¾@ur¢‰q‚â$­Ò3º–ýídÃuBÑò³u¦­ÓG2y¿†޽X¿­ú –ÁìÚjkvŪ²¶�¶ÒÇÉæ…so�þ·¯À­¡OZIÍWôû•†Ú’’„×DãCXã$zÜÿî.83¿ÈäKÞ8¿˜Ogsón‹"¯ç/Y�h�`fºcèš<; 8 ToÜ+7úºˆ¾e÷;X³1]°)\r¬>/Æu×Û…Hï^¿b´-ãýÁ5OÖȬ]¶(8}Ò\÷žK ª«„ä9l…q‰‹nÂ/—îäÅ(«R:%µòü%·bSú3Ô7Ó¯Z<½ ƒgbžÈ~¾Ø@yW2/ &MgàÓ" àùˆöJm37ÐT·6}lŸ4|9¼ÙïQÞù(ú}ô:ÊÒ6”SaÐb.ó�¯VËÊZ÷XMø¼ÝÞ6«B›LÌAKÒŸÿT8$mGŒ‘H¶%:M U¦cÒµI*¨ö_¡sõ0±ó‡4ε£ßa¸Bú7¼tyôˆ_ذŽ[Ô0ðZJAÄ/�4‹†øËZ…㤀|ƒï@q0ƒ{_àdQÄ~ÓrqÊ+.© ™9ù5•rÞnÈj€"÷U‹áx[}›$ÒvÇæ"`”gâéA„ÿ�-Ã××k6ßTÏ0 Ÿb}˜ÿ öG7á¾| “åÜí¹ ¿ƒ*v,ç••ÈÎÂ�²ý[XÚ=i„y™~~½¿{2¿6%³®!4±§à+ÏÂñËËIHjÉ»7…õâínmÒ¯„ä8�—yïü®sa;à4Óç÷Ë)½N Gù»$ƒ¥wÜOèEîN§ÚMߘðmŒú•óâ™è¸é^,ì ÛíÿIZ§r7×�¿RÇÕÚž«’¬@v'0²ÎÛæaçûÚ£¾*IÞÆ&Àú>›¡o[xŸ´á‡Þñ€•´_Ežçü%û4N è`ì)xr¯âÔá»Ù°¼ì¯~gOç¼Èõaî¢wJŸÿà?pùXxz×N·çJI!œ=;p€1<�‘±ÙššS%ÿÀÁ‡ä -ÉHâû.T$ÔÂIkþµ�açѬØõýZ¹Lk¥ÜÓ­�f5äÑ/ ‡áØÀÙ™tzãÞ»7^dÆ`µ¦&ƒj“EŒn› S›ýX§çþ›�î¦ÉÚ‘Óèø€c µFx·¥Ûll}Â|Ø_^ÊªŠŽ£ïœŸÁÝS”¦c�cA>¯š#ë”®œ½K}ÏÛcO�ñÑjÐþ$@‰%To%÷õ@ª,½n¢È±Ë aB´éL…xcˆé±jŒÎ½w­ú_rYÆQСÀ Ã#wB�5¶6U˜:¼.†øì½Œ/­åª3¨&Ñr%®•Ìü×�9–1÷ú�qÔ;ätýK&øÐòs’s& ¼{�|A×oUr¶à[¨bC¹Å6(ßd�'9“íß¼{ ‹-×’ 4qOh Ø9KôuO"qƒ£Ê ëšYOœPžª5±‚ÿµ«Ðp×5ö%\WެØ[áŒ7KÜ͘*ºìa»Dº(•ÀûnŸÿoR³ÔÌ @ÁG#ƒ’‹gØD�EP·e€g=±3§¯Òü© ¼­·…OÉ?ˆÍ˜ç­¤Š¶ÆŸµQ:&•Ë“V1}èÅ÷ñÇ-åÚ˜n(j˜Å²]4¬šžƒªfø“&_ÿ ‘´“Ÿ æÄh�–¡ ŽôÄIaÂÊ{ª!øÓf.ŒC^Q[tÂEå#qÇžiÊ'gæÙ›_Êò!Qþ„ˆ®îˆ*…-�Õ×KÞ¾¬d— ƒX5âë2m«0£§ÍÞ¸\tNéÄðÙJˆ�$|¢©èǺ7{”ù PÛgl„*µ¦JXüÔ#_†ö”ãÀX{¤6ÆkcÅvl\#HÌ þ%&ÐǬÊB2òN±Ë˜DމüS\מýw;À$i61å-÷ZÜl¡Ø)PÀ«#µ’;EEš0œçgà6ñÎ �aÒÁl¼‡rÃlŽ4½;=ùœlBW·þ`]¿pP®ѵ©g2Ï)ð×èæ é™91ÍAæA¥‹‡8o±à[`n€jÑûÖ�ˆ³Yz_—uⱆú‚BQ|‹Õ³n:ÔôêÉ�ú a.î§–Ö®N:U[>-É#³x€0µ}N˜³‡„¢á@Û¼ö�†'2þ»§Õ‚€