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«G Lü¥×•CDdºÚþ×m›øÿଈ)íð©3tHç¿HÔ3�({ÏWÐÞAïœT³{žˆþO?fßVχ®›i3«}'ß̆®qlͶSâ½'8h+Nzêr nèÞñÚó/ œ­jÀsì²mé'²©ÏAÀøõy¥žl¥žÃâÚ"P®Ÿ"Tr;Ëúdƒ1�w@Þ3G p†ÏPvðxBê5Òpàì€ fêq`6¿´sÀº²qdz²1Úq�“§ðb<2°ó0£¬ËBxPŸƒ` "%:%Š™GeC%Ø $Ò¬»®G²ÁÇN H<âxŽBw%òLoYGº…ÙŽÜà„ QÉk‰'€Ý“F>u•ÈÀh$ØB"áИ!"Q´S1¦.-àôa!¤E4 Ücx„�кJ\ø9pChQ"i1pçÀÌ�Z»„QÓ û<ƒ“#S›¼§î\+"i‘×5£ä8<ô8h!VB ‡Æ¼xÀærnë¨aMk7 'Ÿ¨` Dr‡1©'á,?�Щa!œšÍAp@^XO + yX N bæG*q2ѯL“=LJ±µÖþu¨fÀ—„#òÕxä‘óNº4+–\.tÖÀê¯È àB�E 9²gÀï¡­ÿ“Ï4–gc ˆ×@&Ë jc2x-gÔõ�ùΝDš~aé–WVóó;ÜK‘æ¿{÷À#• àãjåùgÁa¢±¥\ÞÞÞÞ.Õq¦²míÙl§¤ùa�Í8  )�ŽL0‘Tš¹>¾›ßÊ–Ì»låWæ‘$g§íwñ†z·oN.F.—ú™ÿ‹®‘/±Ü¹~�ÏŒlyþ»w¥ÅMý`<VP8 â�/�*‚‚>1‹D"!¡<¤ ²·pºMè “ü¯ñ›‡Ž“å™Èà>Ù½F<Ìý@y€ýbýfìúQùòú�Öèú«êmýóöàsöoõ¿à+ùG÷üZÕ}ìïú¯ã'í«¿‡|kó_ÆOè_ö¿Çè“úƒôßå?°˜ß÷ƒÀ ðßäÒ¿¿-xÛ@âÊÂUý‡üµõÔœø�òŸîŸ•ÔyÁ¾�úÝîüŸú—ø¿î¹?à>’ÿfÿaþò«Ú?åßÕÞ�ü‰ûþAüÛü×ö¿Üÿó_ÿÿëý¸züý€öPý~ÿþ±»Ô]ŸPCêk2o¡Ý�h”bó^)ÊÿDÚÛs踟hso ž¹ ÿ�z|/b¡\�Q–=mèhÊX9 Œ‘HãøI-ÔŸ[l¬Ù7Ž:©2“îÇ…<Øn-"ûKÎsU‰AG"PIÓO‡zö€uR°V'ßt.ö½tºˆ»e³5š¹î\aý=ê�™ŸNÇ':I°-§:`iÉŒŽRI‚—Î0]"0 ¹¶ø�pñy¾ÌÙ*< O�á1Ë ”½;YÎ�¸ªËs’¡�ƒÊ×�e~rXO�?^ä‚14 Ýp{(Y�Á6­·bÃõ_ö­O„³;{Öoë Ç-; €*›æ¿Ÿ6C3øÁ»€te�eî`ÕcÄãðô*Ìò¸¬k�Õ&9CjR6dH�ä ÿÛf l��Óü¹¤;#\ÉhÊìP{`_�J¼ŒªxùŸ4KóÚh nýÚÙD[³_Gÿ§4Á"¢0>@‚Ù�8þÁ\Ìy µ:H·×èUø#E‡f…k“5*HQ ‹ç%’LÉ"oè,ñŠ.œiL¡b ˜hmÔ•±ß¸ÂôÔOØêƒÉøíc§MS5c1©ÝG‡eÖk9»Øa‘?ù'¨ªòQh%4ù"Éâ–�;a ÀȸjŸ¬gYÃè«¿ÿþ A%ªeØà¥�Xˆ÷JüF{¿úü=¥ßÌQ,¬bó0í$Æ××r 3#+lò5Ó(DUd�sèYÄôÙï<ÂÁ¿ÿ€QrhžÛjÆ'F¤­šÉœÉLÔ(ÆÅn^®ŸþF0?6B5ˆ3{ë\–c\_Šÿ°‘‰¾–3ü;™n7ÄšB\)ô��‘Üá?ÔŸ‡ZcN>QÓ-ôFåyÅ�DLñøtDYtyø9x$S÷ƒÛ)œ^ОÃÐèIwr´ÅÒ'ÕUïÕ"æ²üÛ0W ÿø¼‡o„îß'\Ã&>ì-‡FC'¸®œU�Û§«”ƒƒ ãóÓÿxtXàÓˆ Ècã¬9r…1×€uše� Ù,pœ½68�«Aöñiïªé••Ù?dKnZ}É|Ò4X}þ·$Ÿl^¹‘C ø�í_Ê)�wbK«B¨ñÖ¹Î/±­¯“­´úEÚ²ccG-a÷žßî¸%â@�s$Ôotå]c¤7}]xú¤y¾µÌ—om¡ÞõÂE%òU²›s}ëÍUÝ•Ÿ‡{i2ÿúÖñs ]}:X�iÕçÖ¤‡HŠÿ<éÿ¾T ‰ž%h©Óœm;}È÷Ï´çÿÄÆþpÇ•�]ymþjwrЉWßþUùwZ4�$‚Sücß¼8XãHrsq(ôÊ!±t�5î+òçhg­O;æÉ?Éøc‡L¼û,ÏQ8À×ÏNC;›Oéxª8Î ÷ÛR>0¬l¸W¥o…«§ÿçííºÇÄËZž£ý~^_¼?U'…(¸*ðN6°>Þ£õñÐhún>�ý+V}]Úea%æ�²k‹M<'Ã#IaZE`Ÿã6!Á²Ø[‡äÚ‚­GOUu£"zÏáš¡èŠîöO²_Ž$+sU^^¾ Jÿ�ßÞ•…݈A‘sô²é…B„¤ô(JÜaÜø&š°¿Ê…|(/îe wQþ%Ù,“ÃìÚÁf©mØx`Hú]ìúøÿÅš9²;þgEWõó°º*Î÷»½Téïåå@CæðdÿÁ9CaðÏYáôÀR”¥_¿æå¯^£Ø“´:óèê ØÎ°!Kþ«uB¯•®F»;´ä]v™7ÏEVÝ­Ÿ€²è.ßX¥¦-nCÜê7MÐcþn¶Ù‰$¤ îZIÅ?¾�«ðÖ7ÓV`0å᲌b±&övB2;…÷ Õx´¼{¸Þz&ÜCÎ7ëlÑÅÕ$ÿ³]Ÿœ®š%íæGîCø:Êß9g•›"9N=ú` Í9 Ø�ÁšÖª›°jj±ìoÔ:µ:¾¹8%x¨øe\Ý ÕüÇ>†�ÿoTÑáÖw'+oû ¬‚ùQ·“‰\+•Ÿ‘�é‘t.ãU�¬]ÊÿËq$ q@âNÃXõ\½zE—+ƒh–;½‚4³Ý© m¿ÃãS{€°h¼|äXÞOÂì`ß÷c_@€[s²—žÿÑÂGÿÏxæt5zŸ BrÀ