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 †lÛÚÈzù!”VÊê°RÖÝÝ~íqwwwww?ëîîîîî[Ê̺K)%”BïÑNò¼óõȯˆ˜ú©Ý£W§µ �•¥<Ï+8'f=ÝÆÒÕ:þû±qb:2Ü"˜Ù;p£­¡BqÌþ‘;MÝ1û šh�9{¯Ò{ƒbÚc^QM¼!¡?ÞVM¼ÂÐ)‚�úã+ ýñ�Àk¦?^¢ôç&ôǃJ€Sqýñµ%À´`Ÿ¥?§–þx@ ðnU ”°I¢¬Fý^³jO:½kÙ°{”™R6)15N9–õ¹H/“Õ'.bŸ)ÃhòÕ ŸCôR/7Px‡, ªÉœ<‡žù¥Lµ¾Ër¤çÞ´Àö™pªSš#ßÑk�‚{ÛeÀìƒP£ÜÆ + WÁb«v”Âé†e­cà1Ê•”1‡¡0@v™HêÆEÈ·û`œëôBJf>U áˆdÌbüàC„7 øz_;í¢ËÙ@ñC,rNt£Ð@_†Ó&ªl‚pÍ=,t\TpWŠÓ šT iK î�ÄkGÀf¹žÉ«„ܪ '‹`A?ÎrýùÐf)¬‚ø³K!L‚V'$­8Žÿ“AصI'.…’{Ú ðfIÙ\Á¡vßœ井sÞ­Fø½Dù~eò³Ú�Ä*$ÈOiC2ísUƒŸ_òp3Û혀ÀÉþÂõ|ÏÍ[ññ[àÅ‘J ÛMžœ•Ê“»pâ‚“‡_Õ¨(ð·�9Çïû,8m Iþ�ã¢e9MD´šQàJzžfª½ŸçJ»®¤\¯Û1sAR¦šñtŽÃ<³GÒ…:`æO‡zaš¤t ËÃ!ç•4� �!¶ßFÒóXorèž‘•ã6ƒºÑ� 6MN*ŽT+ÃQ<,g›«8’zž” Òó �“rÀJœ‹ª…/ävÂUƒ8*Z$ãˆT–�®ƒ'â~~•££Ï$,1€â)„§ðò ¸—�@} pÏò(† ×°i É(1ÇP»lB.Ë€PlRªAwñP(¶'Ý€°Ÿf²Æ l«Eàƒ€Èx·€àO² }Q›ttÙ; Å¿p¢qÇ•¾*#j0Í Ï[Óƒ$ Uë‡Sád¦41Hæ<"²oŸvÈ)Î-_ò|5ERW‰ ¢X��_ÌÙs¤¼<µoÙOw'ãŠ�‘ò—f̶ã¦"éoŠª*ûúKæôg�Ð-*n.gôGƒJ€&®þŒ%ú£¤£?ú¥H”ë�z¸úSê�Ô,ý‘½CTkŸþ¨ÖýQ|J =¢g ú£äŠ@{dÜ ¨Œ¯"ëæ=^%,ýYÝ~JŠ8DšŽ·xyQúB&ç䎴ÑÕŸãu$›$mú)VP8 Ú!�*‚‚>1‰C¢!!¸M8 ±�l€=8gˆW~Cƒ6kü·Ø8éߎÿ—]S[ ÚÿÜì¸_üÛü·öÜŸí>÷?¹{óý ÿ/ý“÷ ´˜æ×ÿç›÷vþ¹ûîGõëØùßößX�÷~À€±ž–÷È| ~Ï~Ù| -þ×ÿŸ9wúOÑ*l P=¬½,á$V è¶³ÑÉY5{8¤ÃuKCg˜³Ä© 1î9&³÷š³!žÛ~ží'×Ü7!?„Ñ[±ó,j™”(›ø8–_äy :™ôêY€Œd¢‡‚{“F×dë¶[aê$‹Íu.¤*˃8†µ8uN Àþò=S0ï|‰±ŠwGˆ¢ìËWáb|jà–Sè蘄÷]ÿ”ÓK•ùÌÍÝŸsëåÜNºýL6M™­HÊ^�¶¬kxÑä³s(5éªTP>ƒÈ,@ÚéăT .2 nEÛ°”]_t×Ì+ñ ­šÌÆŸ€0»ð Œ0¯¬/…¿“ŬØÑ;%ëâõO ŒÌñùƒ™õ üÙ={ÀŒ�í£4ú# :\Jrd³S×ËduþJå%�ä›Kä¡�Ò¹;©‡ðÊ/…-_ˬ`<^RBˆ×SšîeýßYW×ÏoÖõêWWN³+1R”%:96‚Ã+Fª¹;ã³M±Éùb�ܶ{ЦáYø•¹¬­áùH��¼AÍçê¼V+d'i�ŠeÐ'z`:Ì 6@s¼×úÌ{yò0]rJaF¿UYI$±o)ÕügìC&Ð0ž‘ª}'&꘣°w¼î|è´ONHe-HÊÍ£?ãÅo‹64~Œ�¤»‹Ôe»Eâ?'îÈ(2÷êê˜SÖªn³KW»’M¬)§uZÂ-Ù'þ$"ÌiãÃ-Åe:S;m¥ñÔd¸èê\&„iË5´N ø3óÈR.†¤×S´×{ †µ¹áËÿþ�9p·ßR�}äÿöû£®„¤ñ(Ž4oâÖ€à©Íí¾=4?˜š ÅÀ M0ᯉpýÖ¢ùKcŠå�¯>±òvö”ÈEÃÚ (c�…ûZñWrú4ˆŸ+¯Š­ì¨~Pù&¥0O*üÞ-ÅÚò¶ü@¨ù”õâ�{én—¶gL“§ÓÁ¿/¿ñ º´\F’@"tfÖLós³'ϯýMñ÷êåŸ2ã#ÁèemIªm¹Fí¿T§Þü”¨þ"¨d·CÁLîÅN®šáhs$f'´DJ±%¹NA ÿFb#sw(ZáÍS1c¡Éù�ÖßßfÂ6ûÌØØ·RŒç«ÿÿ�;ÿã²?ÿǧäƒum®M¶£ã†®BâÒ›66|Ù,DSŽÞz`á cÙdn©µV¸Ì ‡OÁn™î”Y·„($î ¸BÿÿÛ*‡A‘_ÿþÝô„Q¾l0m‚˥ϑû¹±WÄøÒ|ß›¬MÕe°°KÖüò[·‰�¶/¹�Q~’ô‚|ÌÙS]aê“|@ò¢m¿7Á�æ" !ÿö¸@/‚P¤ f²ý �ÖÃ6¢½‰ñ~«g'—AšZ`wƒ>ŒO:ÿ,z0 ªOç5_ó›(sêô¥FЀ”*Å-oEQ@º,’B†4á¡ÞÖ<¼¶V€