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']
RIFF WEBPVP8 01�*‚‚>1ŠC¢!¡É%   ²K�ƒüGäÏ´…±û¿â.‡ŠËʧ•ãýÈ|ôô±æúáþƒ©¿™ßÚ�óèŸà:ã}<ÖÿðþØ|G~Óú.V;èWãÞßs‰ˆ¿u®öÚl¼õcÍ®l²ŒfÏó½Rô!õo°‡ë—ZïÙÏgxÆ;òk–*‡$°ÈÍ’cŒï�í˜o5šŸ ¬SC;kKÅ·9ÒŸþ¨ÿÑq9o,5´ª³üÎ*ãò4ìÑ•/B dƒ§q�ìyvÔ�u5eqbãþT³Å؈eeuÚ£êv Þ¬žǹr”åùŸ¦ª·$}»Z©¬6â-SwátŸˆçD>5+Iß�ÒE™Oð¯ÑB|(jÞ*œ5µÕ(Rëд@A�T!…`§ÞÒÊ y�H‰õZwïÃÍÞ=— ^úqüŠæ'‚ê¢WÝuþBÇóŒY<•.®¾XÕö±¥cE£™�ggÈÜVJ{•¬‘²æEUúK0¶c{ƵŒþú|_(ÿó�üßUÏÿþ­ýJÿú´oÖ‡ÆM¼ÃÖªÍn Rœ ´EÔ¬sh��íÔóaêzrni‰äÀR¢�\ñì(A–ûî­N“àx׊@�¦œ­nHÁm1[C€Ï¾^Œ.ïÇZòñÈÞn®3ŒØz0�Á¾Z‚.ßWq¦—Óˆ³TDŒç.„ÃÁà³ãW' ÞΣ¥'Ñ1¥÷E âßë[nýˆ“Šª²‚ÇôÅÚnKpÿ3æí.5Tÿ|6ðN7em‰…t-’2 Gs­üü뼂3 háð—ËãÎ+¥`ÒuLj¾à½¦{÷Š@ßÒV¢Ãõ@÷>G�FñéFÈ�uìþé¿üC¥Ï9ððÄ€íªMŸ‹=ŒPªU°:¸QÌÏ˪€£Ž‚VÕÍ�8j[ÐQ9ž»¸è¥‹k¸á°(ÆJ e–‰1U¬“Sû<É/ÓTE.I17(Ó RõeÞm”k¸Î¼Ùß9YWÕ£š¯Omöµô%…T¶q 3±3yó½¿Þõn‡ŽÎWõ;†*”¯‚Ùׯêåÿ€Ûß“›C­Å�\e± 'ó'I,W&`$ìzA¤PÜ»ŽJØ’„¬÷]ÁL½ê|m�")*EìÒ€:I ›èvƒO‹Ô¯¢v�öÇIgl?íÔ‡�ÑN¸´”´n2ey4¹ò(ò€cŒï)ÞþÚ�—¨¯ÊÖ-=<³<·5xÆtçÄz´`âHŸŽóá\É0¨t˜Žá_¹íÞAý~Àâ„MêIë—<5!2DçñÂë«o¿ÕG²àÏŸ1�—c'V„A RQ‡7þÜÂÒÉ ˆ£+ØÿñŽoæ“E,°ŸEñù‡ÈÓÿ~ë`òý…ÌåÜÉáÖŒ0ÕÕC ÿÙžQcé­YÔ¯�C† =ºéB`òCùâÛÙ» XËù†›„­|‡’ê´¨¿üŠe{NŸå2¶Î+S§Èr4NŸuc àËË›RÊš_Ìîn'n1새Rg•ëÏ·0D–& ƒx&L¼õ×Uìn³iY¦å‘t< ª°i+óy�VWó6•âñ©¨ ó'ov7;þaÀ‹ çÖ¹¥úʯ…7±‰Xd5X™+Ñh2I¨\N@®Næ6³ œ*ô�ôv—Æ11‘ÿÔÖ�ʬ°Ü»iêV,]é ‡Ž~?Çc;»k¼`€}k“¥í¼ú>eéÞŽŒ=ËU„D²Óeç%Uz½l7b"ã¸&Œš`fþS»ê(|æÜ?,&äÃ�Î""Ë?t­“i¹UG]=9Ê,�œCê•§þùÌõ½ø 3¾”H䈡z[}¨¼LãæO±}û§³ªO›ÕX¯,à÷ìÔùê5VÅK�èã Ñ_ãà?µ�î¿gæÖ´üoû_x|˜°P޾uÈË…0}i^eJÂÂ0֨ѸXвה¿æõÅ=ÆqG³bþ•;ÌG4‹g_êkóE㺶2VFˆ~3lÒö�¿�Ѿ<Ô“0ìܲ¹9S¨Ze1£Ø|áúa´Ûß§˜V÷{_ÓÍ—ÍÙùÈü¾º‘7”F€\¢òÉæb¯ï"Œ ø£Ë@¸\AíVl«04Œ·3'Å,@à¢` [‡„"VP aT¼„Ïõ/äÓ屋(,Qt†.9�Â¥ðçIyR` ö'*ôïl+øÁŸðrÕ¾‹òQÙíä.@+ó"#ígq•÷ȯFµŒ;%„¯òr¢Àá©ËÚÆú¦"Ö‚¾Sêº{ÛœäÌO L‚ô4ƒVÓ¯�sx¢ÒG×÷º‰iφÀ@)äW ð:ÂVÆRÅFG!ÓG{±W­çêÑ7 ’‡Ý»íí_ºïl•|ÿj‘ y¶ª^H#ÄKùÁâ2TÿŸ*`›Àé|I®SãÁÆ‚Ä$'¼w)ƒƒ¦î> ÷Äà'E4蕳Wí`S7ê…x•M,;ÏvÞцUgêÌ?Йƒq|�,Çr#M`e8÷°ib:(~ SEX¿‹Õ¥·>,P?3ÚqZ¯´üZî·?ÄžQ2“ï”-ÉØœª·ˆ7Ò.@ßµ,—´Ì)QÚÕÌBôÈ’Ak]aì Èeïdƒ”{Ê–»”:ÌhðqÕlß|BŸ­�´á K±1ÂYÍ{€äáó›±U¥Yž¡xׯûù´®_KÙ;\4øfŸ(IKì_01´Äoœ£‚ ô¿²¶K+È�`kЯ=´#Åâ˜~Í?)ãT¥¨}ÕÔÑß s ñiæ >R¸Hì#ÍBlV¥¢ST!*¶'¼4Åe.`+K9ƒ¥¦ã€•¹œÀ_óÜÛ9QöjQă«”3 Loh=ë÷}äGy«õv�ÚKa.›ÎéLÕh>ŒûI©V˜·V0q˜Ä§àâù2]¶N�Dœ’¾âè:èµm9§BÍ÷li1Ô§»»[@ú”ÂOÛjÖ¿Ù$<=M«&»HO>\‚WÛ2Z…[ãS?¨Z¢Wä£à¹? #¾3sÍX×ýãLø' èR¹²}.”OïÙ)/{ r_ÎIJì\“0]•ì•2é¨%]‹ÊD—ÝIõ±“_ÀªZ*­°²ÊŽÃö8zâs¬`»-.à»$~ï’…=@(ìAÿÑ/Á;RäÌM}“F[-åþÚ#c«{?•GJ-||Ö¹D®–Y¢$Caºµ:²!Ûý7 ŠY7‰LÆ3‘Vì qï¡Ì* ëì¦çÙf´!¥F>j'ÒŒTH4@ �ï="Ujü=�>ëÍÀç뎞u‡}ä¸Zú�Λ…›ç0•édž Hª¹~qE‘%÷qðû*�gl™ÿÿÃE–ë ¼úõ±¤ýÎ9�†O)&Æ‚Ïyº¡>ð6‚¼Ý´**gÀ>û67í=–(ÂÞ̽ÿµdøò“R.Ô}·ÿ'oç±õžŒ®ô}›Ã4šóÌW˜ªÎ0‘gB оŒÜT8dæj;¾:ä›G#‡0Ê9Ê�e£o�š4–-Sݯ@ŠþW1ãÏcMòÓãw"¡z£xÖð‚ÒÔ"¾ž:uQ¯±"ij*Má€L¾ŽLúlûõ¢Y�…6ÝÕÇ5EÞAÁVμŽ!Æ@�~ƒÂ¾WTxØ?‘ìqI‰¦lÛŹþŽœ&I|¤3ËÇl‘GÛ10 †Õ,$43 IW‡ Ÿn9§qG ßût1w ï±IÙ;•9\r'4 ‚^kWñ‡^Õ0%dœ‚’ÁpÇ3®W•A@íé&í ü&‡ð˽Œe.†v´g ÇËõ*^„HÎR[üн5æ|›OWMd6Ú’=S³'+1/w¦Y ÆçÓï»ðõÁêF=ÊúÆØO/î÷»ÿ<xLÿA„½å1ÄÔý¼*NQ¼(öØcÕr›r"x®á)™7ÞÕn8=óŠê^õ¯â8È�ðÑ_r�'.¯ñF´ƒöz.)=eì¤õ—YñÚ�9¿°Š/Þ¶­o=°W|¡'k = 53‘DžãÂ¥Jê ™ ¤xí ¸¹}à