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']
RIFFvWEBPVP8 j�;�*‚‚>1‰C"!¡)è ´€ Ðù=ø7î¼o:ÓÌ_æ¿€�ëƒûžÿx{?ý–ýhêýÿCÑ.4ÿêxaúw°/èOúž¬ ú«ö‹àoõë­ç£ßî{jC,½;gnæm³¯±ê�ÛÿÏ*Íy@4G¬€î¹è,ùûg1þ„¶x ­1¶ášy�l’Û{­F‰eÖoÁ̦%Ñ~<£vkÊqúeÉjƒEäö¯²ry‚�Ò¨!¿Š¤€¨þ³àÄu÷·h½èçGL汫j4DêÕk޲9“¿‰ŸºrybÎY’©´zén£#F£·óÒÎïQx亽ÆT­øE�¡Äò÷)lØüã£Î�’†[â^pój‘î–朇ˆ¯j‹@Þ·òSp%ö*^;òùúÿS¦$i©Ü™¿ïB:<«a2û„S›‰»7°¨xiðÛ�¿ŽxÚ@í›(E¨–ìˆÚb&¸·�Ÿ¾ÊRkp öL|fL\ÆÓ¬�+ ñ.íîKôTßðŠ[LzÞÕP_²4#¬׿×:NŽ¢±¥àÄ”úµ±hÁŽ‹ÈdÔ_È¿32—ïÛ?rú‡ø’¡+�üÄæÐJ½oŸîtëcÙÊÉLº€þÿ‚Ó¦Â�*·7®íJMæ©å�s‚‚C�æ�Úñ6Y1 É‹|Vó¿àÈð‹wO}íŒ?R­ûúu;^z�®›J¬[-]‰¤yÿw—lìâÕôšÐk+Œ¸Öªwž¦o—=ö¯o;§`@#H*\"´´À씫ƒì« ”~"ø‰×”_îAu_œƒ½²o™˜¥�èŸX¬M~âþ^»Ê}}+á ¢šò[ìœËÌÙá>냇!¢3�4fÖ°º-Öþ_ärÔßBÎ7F*Ï`?”·^S¯<5FÅ«VnaÆêöWG¢vБZNî̪ÿ7JÆ·´M Ó[øf9£ŠaÙºåj·P ì¹côÁmëö8¾ôX»S÷¨ôXBá‚ëWN¹i¶ÉQZ’Ê‹…â·ûÏž£wª~³hûÊïÿ¨Å¦æ�< ™èåRCR¡øñÙ¯ÔŠ#ö¶ ²‰o+†Ó»Dk|ÊÜw¥šnI8øcü�ÂxüOܼšK‰�¿ ®tª“¹0Am¤óÏ)Ê"˜SóCMq…®g^ ¶y»¤c忌#/S¶´Äñª„¼¥½U¬Jê<¼Ü‘d0Ì\»ÐLPâµè��Âa›K)Ñjf�]·ñ�ìåÿŸ©Ñ®F'ŽTÀ,øˆÓ¿oÒÒý;(\lÓOÂÙŽ­TÑ»0@CïOs}ŸâŸÀ Xƒ˜é®æGª¡j“æLå=?õŽ ­]KâžÌ®1ÿ‚\Û[lBuzö|kVoþ‘ô›¥¿¸�ƒ»�`á­Ø‰’VY¾—UÜ”Ñ]¨6Ü.ýSa]-éŸ'R]r'«|äj~ÚFµ0ÃÆŸ Wl?‰ƒ‡•‡BÛ&-‡JàM}–Å>Öüw•zµ'’™tÍM_»H‰bÃ8À*Í3R;–ü˜é€…ËÒ{·ò©?²% „¨|EÄê7ì´L÷I¾R|“HO”€+YU;uÝ�DGÚ—-T]eü3k¯º�ˆãØqz5ڔƭÐ€çü ž‡,þþ¡U›$� ® ÁQ{ðŽ¿‰‰’Õÿؼ]^²Ö¢¯ãrÔYi[“˜‹BY ]hÏý ·Hôbù'´)/vü1-öîí%¼qn$4üÂéÉd³¹C7¾>‰‡úžðBÕØ$¤ú=<”w‡ÃÍïŠk"ãN[gÁîDâcŒ%k~œN“â‡kؾk€>ª„¤3äÎèÑ£xGîèÏa.ýz5(/Þ™-,v8ÐÀl¯ó£®ùÑä}i†L?J#^Ž¼Ã¯íŠ_öBô�Înv4y±¯ë‰´R E1ÒLç7áü‘Ÿ0ܨ›'å0.€tJ·EѳԔI”÷�ÉjŸŽœI«ö[ó;fÚÎ2½6)HðY¦Ñ¯ºa6ÔBÞÌ=|Þ“°¾ÞEưÈþ.ݨu”�Þ:à>‹§ôƒr0 "±{1èKY\ Xc f°S‰ª•‰ªšÑdZ…bo£Õ¡Âû�Ä‚8Iîi¦iWS«uB¶í¦ÁS¾ž0èBé�‰{…qö²8OÜŽcß•ãWpû! ƒÂa[ L²Í@ú*)m1 sHîgËÏ0Ýéz‚�÷ôõnËÇ8Z%•ÊàÞà Ù"ï=ã—6D¹§éØHö±£[ŽÑd ¥iS•Èjb÷ /~._w1Eô¢�~$Åïíá‰Ðcg±&›<´~Ùˆ½5`¼ÆãoÇF|[}{Wº‚D¶>€ðûg¹v£T•܇ÌýÖg ··~g“^t=¯Dž‡Ü[±÷XUGAüÜò ȬIÒÒç„ôŽF%tfÿóX’ûøÙ)ENPì\áåñ–—`2 ¶EÄWŠ‚Ë;+i˜Újõvó¹è5ŠÔ;_’„ŒvL4ßg÷G ŸO…NSáÆ›¾ù7Í¥>IvÝ–IzlÞiã;�ìÜîÕC¹I…úKC­˜¶_·!]þ¿|Á*Ê4Ài9x>ªfŠæ%� 4;è&„ÆÞ²e5I�»�Úì¥Á‹ñÒÕ*øE�ƒõ#ûHû­J”+å>DÛ2ýmî6ÒB-È5øn�\ëºKʨÝñõ×ÔBNº@�”¢;Ð~›ðd‰� ¢$ "jlœéÂ¥ªHXQ@6òNvá.Ïû‰[)(]íÍ“ñ¾•FaÊpSó¨ : E#[RÕ1¼è�¯»Å›x— h7Ëv³„«7ÖY¥þ¤�"äý!ª’%+NH�“àÖYOEξI’ʺe+:Yä�®“‚<ýŸ‹�Cõº7[e�c¹Ñ¹æ¯Gƒ­™.�wyŒT .t¿;N|À¨Zªt�0vL¾ã«ûpx÷nú¹§ñ/Ãã!*/Q)§¯…¹¶ô·–9ÜÑ£l…ç}òwÕ–i•ØèˆÆUO'’ úÒdï½km¯Ð,þœ›>[R ÖU_È0ÒÍSDFì¼r Ü.ŸAé¸gY݆Œ©ŒCÇ8½Ú¬^®žì CÁájù7ßʾ ᦄ Õv½Ì®C´_r’Ÿ1¼þ••ÑÓëíþx„^8G6$¾6ìç9t Œòl{XÓáØ\¿žƒðËêIN,ncÚ7dd*ÕL�/¯¸\M×µ@vâq–™ÂD~*ñ&ÕÖð‹“´ó Oœ�¸vüʦ‘¼N6BÞèï·x~Ré»™¸äžiœZnöÛ;×ÿ�ó —¥Õ WrÞÉ¥þC ñzg~¿ rôÀãÀ€à¿¤3“€aŸ=„«oµØè)ȽNJá®âñãæR“#�C�[ò£îRûË@¾ å#j�ù\JFª�#^ðÇ2ÖýÎ\ÛûG2~yê3¢€=pPø ´‘æe‹g5|,ÍkÁå©ÿ<:R,íxàl\ìËw@\»NcôöE,«Ø³Þ&Ù´NK•}YS:>WEÙpcæèÆl`r ìg )£Jqo1¿Ø¯Œ"ëZ_í!ü5õŽ[ä5ˆeäž·¾‹ïÜhp×�é©fZ–r9�UGÅÊQÙÿF‹Áë&ßZô+í¦Y%õ7þ"áÒäüf˾ŠÒhœÿXÐF€EÑ™-Y�÷âõ z½·ÖÖ‡Èržkðà«ÞÉÌ *NkLžÊIa'¸ÖÌd¦†È†)¦» ]ÁZäë÷Üôç. FØô[cu¯X=5±ÃgÈ4{ˉÊb=•öÔéÔj†ñ ÑÌPK™ü“s$-÷$‹‹ ,9cÅI ŸÙ®3 “«a”![:É0æA¹hûÏÙÆ$ ÊjúgìÑ€ùï H•“ÌJŒ²‰Šï~ŽC˜7'L? gÄ]15Ÿòyâ»*)+“ø 5J7þ†5Ε´ø´n´$@ÎüP§ð@ù¤¬jõü�