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 v°?�*‚‚>1ˆB¢!!ºål ³�¾Fh#"§¥‚îª8‡î,[²èWå^æûå¾Ò~È?#׿h¼¿hu¤š¾ÉÝýߎ7¤zôxÒSìÿíºP:œÒÜØLu[ˆ!Ó�«´éÏ´™=*EnÓ“"m¸8¥‰<§ª²B�è®’¿ò ,W•;â¹ Áî'¼‰ë#=Ë¡¤ÑGÇR æ°|ĕ礄E/ÆxÞO‘£]ÈÍ^‡Ž<ïê'ZÓ³š‰äwAW–ÚÙù/þÅ.`zXG©Öô7·q[:ÚXeOªV â†#hcC›H©S;Ú”R¾ht8ëní!]]cB`$ÕuÕä¶BD:WFo¹‘Þ½PÏ�}ò!ŽÔݽ„@MŠ}{"@2Q®ã¡ˆ¿©ïµ»�@óF¯U7ݳ8تã¯|ÄdD›ï”ŠHò·wÁÓ#»³9tûÒe@rË|KëUñјI®áœY‚ûC„‹ƒo‚•ÇdjÖhú'¯ÚÈÇÕøÒ‰vù•¥ðê‚›Kú‰[î0mEÛn÷·ç|®9L´ ³ë�Ú9gâ5z¹=ð»IÜJ,rÃUqÝ#½{ ”?#Ùµª\©hyyZýÑE £Žl} I®/@Åø�H²ªqu'x‹Í¸ÒôÒ²iRüägæ…zN /Í”#šÉ¾=ÇÅz¼šÚLt4E„  !R:ÓÉÂJ�­™®Ï¾Ê?Cb`„ëòµ†‹²Ó¸šó ›cUCRdã}1¿Cø5H®EŸðÉþg–�Ö'•¦Bœ¹!?‘¸dc¶ovæž]ê¥�êØÙõ柪ÇÌŠK}ôç˜E¼í‘¨2¥Þ¦ûsÈçË>ÒëJËæ^í�ÉùõÈtéÚl¡Ë“BM—eóFƒY» ³Û×Z×y?5¸ð€ mˆ¶²yà„B²µqI;Ñrîèû 3à{ÌG-ꤑ^ÍèȪÓ'ô"Tòf—ÕËv­²l©ž4Áú¡oèXXŠY÷™oòzEŽÍ†ç… ‘®4�ŠìiÈÒ.9;5V¹wå(À¦~gÃl™m=òîÓ¤ïܱ;B»O#1ø€•¸aœn‡Äv’ŸüÙöX—³Ø!ü€Å#Q\žO*P(Ó-�Ð{#§ßd›ø3ùþ©åR �Ò1*ïÑ Š‹w_wwŠ,q*,NƒP�ñPq-‚g­*p6¡’=y&¢¨éØ¡«›'BO–bü6í�y ýï0Zë¬fgD*"ZŸž¬âòè§Èb¿ÿÀ ÷ø¢áóÞxì2]Vi´¿§¶ÏœDC z½ô-@fó™Ò½öÚ$?Ï×X·q^Ó™k]Y�6“ÿ€>ìu zå G:¨ÜCÉz×÷>˜€0ÆŸC2ÑG†ÏDƦ–ùnŸsîR†–�iw.�ëLU£7_ùÙ|?N‡( •[F-ëþ­æ1s]¥H58ù}õYJÁëñ³çC}h+Î^etïבƒ‘ñééÚ°¦’wl®)•t£Øjc½'´Üo§iÃ%(3MØìí²æ�ay„ ‰ž�œc ’{Þfmƒo“=´¥4†-»°�yZNb–$À<6Ñ‘÷ö¹ú<ÕÀŽe`â,o‹TS¾9iùùˆ×<¶Ðç­þèSF½8Å.tÿ|–âY;™‹ÞÍöO´ýE s¡� Ê~ïÀƒb’+1ÄÅ;;MëðAJdvºO¬„"¹[sÚeqV'„ Ø“æ¹Q«F€¥³ÓžæÊŒX„¤Ÿö¼#ø>}ÃKq ')ß54™ûë¹gNuÈ÷‡Œн÷—µI@<SЖN¢«pÞ  ß÷¥û¨r~lÅëtýú7hÈH:í(ðÍO·û¾â ûÍËFU=î‘ì+ܧŸó ?�|›G’Œ«ÝUKÄ+®à¿§<Ì ±¡¶ Øw³Ŕ‘Cв£`SãÁor›ÎÕIªÚV‡šð¯Ï£‹ê�±~AððØû7i§7ÒªÝ1_ OÉùDè"“3@ ËIÎ2>œoG�(›‘9Wl¾ú„ q¨œâï ‹B,h¬y3Fÿ¢Ü “Õ¸„ô¡Çv`�OQF ïúšwˆœ.Ép#TX¦…c7Ý8C{ÕÁ7Þô¢°T$ݹ \.i1ÎuW_�(8›9=u/OdWñ{!ùÖíß“q �°uïŠ ¥�Ô÷î>1’ñ„ª;,v¯Dß;b“º¦‚279pqìë©·_AâÂx—W4àqŸ�ó×hÀÔKG§„?„P‡pÀɧ%"¡¾ûuÏ‹ŠÑ(l°A9×!ðt„À"´RåǦN <*¸£Ë,­y2¡„JDЈÅ- ¨6@‡ÔÔ¢<ƒhêRµñ8U=ý;Ä@Þå™ 3ÊL„cE3ùS�÷M…^4�:ñ²/¨ªn°í§ZdÁtàþGûÂÒú�ýyž˜‚kä\ó—LÛðiÙm(qÀ:¨âZ dÞRp¦2V ˜¡uúÍ�}_ww?â L³ð;Ÿå¹m°d�™Q´#�¥5•ô¿e c¯Œ�ÞbCWoŠgÕPAEsv¾3+gHþ¸,Y· úÆ1jÁЦ�º!ÑéÀÝõO|Sµúé~)ØŒša6Bo=b§(½Ü@'ᯫÓïÙWÈxøìî°ýË{u÷Výkv(¡fÙâP•t.$ÂFüɚɰ B“¿�—Å pLHBóÊÈÌÙ@…ê;ê‡Û@ÞQ{Llõ¤þëÛ›ÏÌïÍ=“ ¿G™O£rF:Ô´Ð2XQ½d—kÍ.}ÿ>€äÃ<{àwî2IÏ _3äEA‚ŒÖC†×žªbM} úen-qfJÜÆ?ºÜúùÜŸ›GA Tœ|F¤˜–à ¼c’Cÿ/Y¬í¹ãõ—¸ëmÿ¯ã(ª_Cú¿"Å0ýSnàkîÆ-‚ß}>ãv€Ì˜Ô>éÒìæKoíàâ†Úœ¸7Ó77üÀ&·WsüÃ+‹u¿�ÀÔqU"º.\p©óMS±üÂÅð8Bn!°*=½ éWïCàþÙøÖ… éröšâerN6ý2…Ɇv¸¢H 9Ó™bý±Í‹Va“ÓS×ĺÜj[ì±°„ŸÖÝG£¥9?#ÒúA°lÚh¤¯ ÈÞ+ò¸ätýŸV¿(QWZ6j_�tJ•éá?,>ÀЈœ�¨ØÁ•…ä„SOå%ô%RÎ�+�®,”ÝGÏl Ež§É]ar°MºÜq"~�¸É( qÀƒoO0W#àQ¯JY�íHuZYEŠ]Â0Š>í‘øªÙ¦c†;âg0mBN`¡š�^í *ô�㟭éÝæ­5X p€…Z9Ëýœ‹¿h«R�,î1³’exI¨TÄ6Än/¹-:Žvä÷,ý„!Ô«øeBì <¦±ÒFa6¯„¤¤Á¼™aºÙ::Û/5¬×Ý-CìFÈà¤ø™·(-R šAck†éï­héZ(o· P|E‰R†à{ t8ÒOÿµ fþ[ ´­¸e¸Êçèf!ø†Òû‡c̬y€Sc"/øO!#ýA?jÿBÁêÜ^7Âôêð)Ì Á°0÷жÆúæ âöõY7¨êS¸Ñl@I½ÿÿLO¿›zÚWEÅæ<í2:]©QöÏ'U�Ìþ<;çNK]k{YÑè<y6ßÂkÀÜYgÏO£ò”5YU…“BxW’“ÂIéïï‹_Œ´x«cÑ'Øa{†QŠg>¸‚jC9¸íÝ3xqÏ„Ç~æÉÐÝ(�:%øWÐS¿×A³ÿbiFWD³|ŒÆoŸ·}‹ÑËÖv1Š �¯ô¼z¢ó/ùs@€ZñêaË{˜ÉYÛ eVý#%ó½‘Çè ¬ï§ ØqgFÞãn°$Í#¢¶«Ãfán"—Ý>¯ ÒíE>¹ƒ¼¥f‘á9�÷¨h0Aji[Ø©¢6 ~};T^»JŸÒËeRÍQŠ-¨|Þ¨ªÚ³9½fGÊÊÛ€\‘Uph¡DW&S<¢¤wÜùE� ‹'©ýw dö­ï¼§ßÈ¡.%ì÷²r›º²Ër ¹}£[G©aÄfi�£&=íÀM6tUì±ÇÙ±¦å[w¿È1¦#.ügçÏx"!KFé‚ÞÛäüÞŽ$GÓÀ#>#.z¡u‰ ŒÝY»Â¨Z)ž��›ß#íî£_;ê}b�)]¶sï»Ø-R­ÄÞt�»ºO]Îýô1éä7ø§|';髦ægñ¾5Û‹*©ë¯ŠÀ^Ü•¤WÏv!éÛl!‰šÁS®p´X@)_ähþ�НÞ