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']
RIFFx WEBPVP8 l 07�*‚‚>1‰C"!!Z  ²€i4‡†T—Žèñ¤íÿ'ž¹7y®°<õ‰­GáO˜?~û�Ìæ#]½ÿ'Šž~Ðßׇ:u&ŸåËë½F“‘ ¸§¸’+2÷�rÙ~{úvÃåTÃŽJˆ¯Ì{ÜîfH÷«^,2œ^Íoxy{ä!WãÜË›h%w›pähн-ô1kXeAN:®‹É0lo�%—*.³è¯sB”Ðïð¨�Fç{Žùwºe|;m¡špì̶½|OisalˆMØ§Š©�xU—nFÖu=D‡Š£2ÀîKÊÁ°½G‰?“C—Ië†Û¼†ø–Ë�2+,¹ƒa«†pŽõhzæíû£j‡Dòkëî¦k¾möï¨åü+Õ^úMã}ÐÜU§Ù+a"Ý¦Ñø—䙇X îh.i@Ñ^>ÕˆäOÿ§� ï#@2©f�Ù.WT4ûÐqÞ46ßZ»ƒ"ûžÊjïòû¾ò668Ým¿r)W°ùD{›ûñ˜4‹yª+|\öé­þoͲf7£�¦÷œnßÉ#ùà½:,òmä®?|¨ßgÙ„—0_„à‰ø§hÛ þÿ|3gda'/Ô×Yÿ�IðLqÏo³Ìÿÿ‡WóÄ{X¦¥ L”ßI¥¨Š[rä.l!…:79ZqÛ}�Æs£RÒ²µú�4“¥¢ÊùØCŽiÓž£Ê¹ƒKùj)ñh®RRÐa\×Uø²niÌ©GºðåéšÛ¡‘,ütÒ¼ÿ¦1V;t1ÊK½ÈTD�'ßÝê6娅A-/5½� /"Œ”NŠ"èùö¿jè¡2­æýn�ºõ¤r }%·ŒŠŠ&]†>Ž©Ñ‰ík"Ú@€,ÚIê1ìl‡ñw±«Kó, L‘ƒ›M &º‹M¹OÔ‹¢“&Ínøm |Ш‡÷à+ݺÀÛêOœú(z=ŒÉ·žVèœ|`™çŽœÍýüŠj¤ÞÐBV½¯ƒ¸°-{ë†Ì×Ñ&ß›í&B£èŹXmÂÔHp ŸÑiÃBÿ�åÒ®Ž™ÐKh¾¬/þÞæÕ%ž ‚(7ÖÃÉÛWõ hun.?M5´éó�zÕé§}Âù?u áüÏ °Ýâ©&¤GH˜?´ù¬ˆý܉”º½ÛCL—P5Å[Šz�~œdA©‚Û%öúÿöUø¬4½%ó~c™­!/�{oçps aalºuNoÉ|}ƒEk‰‡ÌèÄïclF vªžž(hA3‚\æÍa§&T‡…B *›�R ¬LöôE²pâç_-‰¨ ½ˆ�Xõ4rª“š‘ɪ“ 56ÈhhÏÄ%õƒþ. Ö—Ë#‚=nèØ¬X£Ð@æxÿ¹÷)½Xä\ˆÊ�ƒ"þ´>€�†ˆ•é,Cúi×:–—åÂ`ì&‡>’²�™;3Ýý·31ŸÆ!�fJSiçTÄ®Åáùå6Ôs8›—×¼w?élÚ†0*MŽ˜-�¨InŠ·Œ6º"<±slË¢ þDY?Î’Løˆ4Pí˜McçEô·!Ûµï}ÿØ’M7*þ/Nj—óY o›f™ÿ–þ-$?�ågo–ßÂd­Ù åVß?²Rb1 FØÌ‘›º{c« ‚�Ø©O EÒõ;À¢á²�¨ä„sx£ �ÿ“b~4Z›’3x SŽ{îtB‚g¾«‡†Z*º­>äÊ”Þô�˜1(ÎMcß%¸;/Ç¡¯eóŸ¶e/#Íj°¢‡^ÿÓ3ßÎßGš�ì¸^+¯¨¢áH{Ÿ?PonŒG$ÁÓ_Z}+6IÓ-ïzÇÖ–âEì0G͵wä÷ʲ·jhßDU=ðÏ4p�ûÞY°YãR™o²ÿöÇ]Õ»Ö~Š{ACð É‹EÊka>é†"Zgq£­5O­2á§ ö¶´¤ñ¦pqbºïI‡Gsª2s#4€C?Qà W¥;ò!Êcâ˜,²4æ©ðj¾!‰wa±OÕ†RS$ÑäÞà¤S5°`—)t|.øÒ �µ LO„˜‡ø§‡¼Ç®öXʪµ–æL f8N½UÈõsqÀªãO¥�ú†'†èúã-ø˜ßT×yª®^ë|^¢y¯¡r¼³¸B�0oþ-ÉRr:Dñ^aÏ á»l:)ò»–¿þ­Á‰¿»Ÿã S_9ØZ“»ØPKÄùãf˜3rÐ÷™l )ÐObÿýå`Á²àš BœóÏÒfÒœ§nÁÐŒïMG®ÿÈU»Çõ!Û©Eóg1B„Xü­ï˜²\îÍ[%àj„öQügv—Ú*Åû÷Í­¨€�| œ;Ï9;ã7 O‡bªhZ7=aQÒCT~ÀëðC"èHs†Fµ)YÀQ0yIæWs u�G® “Qôûê!Ìë ÉþGLº.¤LûÌ$áñO_ÞŸ\�˜0VŒK]ƒ—JPM"ÝG&Ûn 2}ÒuK5't™=LÑ®íò¸µµËð��–b1aˆk7CE�’ã=­dÆQû'�w;# rl½`*¢|õ \¦qF8¡ÿKhâ¨Ã€‰~B)Ä¿ìù~z®@˜[4ÂyîóÌ¡�ë!Chðv;4Â%õŸDŠžÒ6·H€·ËrxY.é)g½|ÚÑ^7©œö”ç²Ýà¾ùø‹ œ+`ߘɥA© |ù;C[„“1´‚j·¾G@ƒÆ,.¥ù[·/]oSeêPÞÑ•U¹·ÐZÙ§bÒjÉÆ+öóՄŦ¼Æ_nö”d݃í¥âô×D¸íÁhÐÐ!‚zD¦§dt&'821P-ÅìØWúƒ7�Ï툾Ÿ0, _|�Í2‘aãGóê÷,¤òÖexÞTÛßòa’¥V”«]¸šVé­Ú±Ûâ÷8ø¬²ÕB D6 =‚“\© x^² &µ;`RVd<¿Y_ÀíPO™O[Š bÛ%â9,JI úÖ«NC§Ÿò0 £UÃ(1oĶ‚¡(α3»æ‘“'º ÜU¿ý×ò®jŸ(às‚¯Éþþu*û¬Òtƒw>òhç—¯¹m*¦^|ó¼iÛ€çç<]u7¼ÑGa¸õ^%6QôÖo”uÄV{bãæÞ ý“÷ïHò¦?¸¶ ”‰ªQE¸¹,£pË*�äÊ~ôè¸ËßüMnÞ2´÷‚ͳ®ñÂxê7$3zxì½zœ“þ²Äÿ±([møæ±‹º“rfw\�€åBŽ?R‹{]P@˜*Ã3I#…"¬�Æ:¡èŠT‰Ö:öíe ŸlJªX¿-”e‹،‹¬õg]j½‰pˆ^ç¬TÑÀ¬‡ÅU!O—ö“G­#£Á_V0-ŽðÜÂ3 3ˆÁ¡ð’çú=“ïCÏn`V5‡/.XÕb’Ö�vÀ"—D8͇ÒtQ�’žà¦ÚA{$3ˆ¿‰òäN¹ìâ°¤wµæ§Š`Žr툌l•&uÞ—…ދӍ„2“ªW̯„Ã!ªÐH“J-úKuV@+F¥;‘@Y¢CC_Œ¥GF~g€X3�%ÅiK„ŒOT8ÑØð–ªW0L,+GsvÏÔ鼞/#¹3{a@íþzÍÈüêRÌQ¥(œªaÃÀ�㉿Ün.ÿÅãZÝædu6@B26Ø­7B|)„¿5kÚ¥þD]³uEròÉr3‡æ°ï5ÿù†ó5gœ)Äá°âéî[Õc‰…+©&VhQ¾`{MTîùñõ`M„¸Ð›vÞgqÛ¾rk9Ýo%W|Ï75ž6²ƒÍHõ€ŒY¾P }'ZàL …3Ò{DRYû•DÀÝÐ×5ZV