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 ÚðC�*‚‚>1‰C¢!¡Êݸ ¦ÆuOì|–>Kò;ñƒåòÙþÃð¹­ï;žš|O¿×õ�óo_Éí)ûoúAFïž¿ŒK…ÂH;ýï÷ŸN<7àìö\ ëO€Æ­Ø2ó§Áçí¿ñ}‚¿>ú$hê�ý¾â_¯rl=¨¿nÌt«q–þ˜½êÍCb\N³ï{¯þoOã™ ÑÆeë†xÃ7Öú ˜ VãÅÿ^êê{²ŠZþØG&I×ÈZXnj¾Hú|µaÓ‹6 ƒäp„£š<¹R¼;Lq„ø4qö"D/ðUáªvðÀšT& kðCßµfCæìÖn¬ø!ÿCÛ”qwûj Ô½ o¯Ì]¹�àA•ÿ^@y]õƒáJ¡ŠŠ} >¶§ŠÊ•œ%ç-æGMÎUŸÕÇ(ƒˆÜ^C.£× ÊŽUÀÓnò�(]h—ÍiG¼"÷(xò“oz¿þÃj¨Æ$‡¿ÏBp$ƒTÁ¾ˆDqáìÏ4úoŽ2z»¢[gl®}ß"r`ìÌ(ÀOŠÝ~V±‡ÀHgÈ�‚¤þûkž=p;§Pÿþ—žd>|1¿þÉ-³³M�?°W½ ¤`ÏÓ�­Äƒ¹‡ž/lt]q <ÌWzlÝÃíg tV=&Mí&zÀÿ�È8²ÂÝTY”8?+Ÿ4ß_nd4†L6âÜ„ò�žbÌ>Ñ[ &ì=2Zpæ(©]š)Õ”péru²á”WÞ.›vU€Ùc§ou¼ÏBµ¼Ý/Â?#¹Îh¿õЖD9Pt‹qì}ÒXHáC6ñ�òÁ…v•"³ýc�)ù:JßI4=³ÛaKü^Ømgûá7ïšàÔ ¢J«¾ŽOrŒk˜�£ÕjEÓ´ZKT6M“ uÞ@w Ûlw– o6ë%ƒ3îIôªƒ»z^¼‡‚™9‹T,÷sqÔ&V×j�•R}uš¨þò~�—r8Wœ€gšN ´ÑåGðDÄÛjs39êg|BþÌv“@5ˆ’ß3_nuO ~ŒœÕÎ5YËjä,IMhH˜8³ ”)–}Þ¿¯Gxìú1²¸ÃºªFḎ¸ÌE¦óÓŽ1K„Ûå?€ ¹þP­-Ò(þ`¨Þm€>ÑËìʇQ †™M…r $ÜòèÓ³­�ïæ’è…)ú}ÁÞÜÈ(\Æ‹[Fo) ö›ØCf{(A�lóÖÐ9Hï¿u÷ižM¼Š:LÒþî–ÙL2p¨AÈÞ„/ê<Úh„æŽþ2»�OìîSކ–\ì(®äó‰A?˜*x·žl#.Ü(kdY€Ç›ÍHpWÅ&¯SjÄ £ ÿŸTDå+x‚֫®IxÔÚœ…3s¦Ïb?oôôp�G3ÅÒ”Õ_Ñ›Å-Ÿx‡AÃÚTµK'lá­§/Mèë†ÅéÛ9†4mC£t¶êšü ©²†¬M²¶Iq –—¡‰:¯B3TUù«5rœç�¦ÅAãh_Iî(~-Ýãö}éýü|Ø ¹å yV~»“l‚ì’c¶N@€J×½ýˆP¤·Zs©ƒáó·ºügÀ›¿­áAÃÛFÄm~Œ #´â¡P¾eÑÒ±G´æ%•ðŠè\Y©Û ŠWù›Àç•‹YÌœ ~ª“%(÷T+ziaõhÜ.²5^ÕaÑ©–¼žFçI‡=Ë6k2Ë3­Š€B×î’{ âí“ß(ºÇb‘–ýR“·ù’±øÄÑésÀV†Â¡z»äJAÎ*ê#RŽß™=�´7PÙõè¼ßlíÎÿ)Œ•-ïAë›ëNb·ªµo�rN»Î:& '¸@ª€Vô‡MƒíãJœ ûR‰Šö!Ÿz¯x°P;�ª7'ƒì©- î³ñ�QW¤Ù]¿ù€Š¶Úó ˆª±ÊS7œV>‡¸ÏN磰\ÃF#BŽnÖ%«p.-ؓѯá2¹}LÌ®<Š5*Ûç”E¦6ö®YC"äh·|&ǶrwÌÓŒ¾= L.b¤…0(p%‚d­\þŠÚŠø }6æAP˜IÏWø¹æKŒ¹¿c=\%¢73ãÖçˆqä€ ¶&àœó ˆÙØy·­Òýøo «5?#UYHú‡§ÿ´8Ij+к ``K ¦ Ͱò¢�¼c<é‹ $ ]Ùð5ù¶ofЗkã›z!IªBÉ‘ÙÑž±ä4ü&Ó 7 rDãk×óŠ}=W+÷ˆø*F´ ¥±|Äçrœ¿`0˧ûô€’xº™ÅÎd´èwD�±ò–E”þå°fMV,¬èMjNÐ9ñËÙÃnx&ÆÈüª§òÁQ»'M´×dÍ÷àŽo·™¶9°ÓìŸVS¾Èínes†wûìþu®˜ñuåÝt}wKÛl;²¢èº\”‰Fý^Xm; ?V ×·¤în˜Ø¾±‡Z5FÇų8°¢¬�Öø…ÃKÍ+yܨÁ•j©_ÒŸ(KËïæÇÍ/�ÿ PsPÓůV®cW> ÏÑ êC'8å¸ç·ÈåõSün7ÿ¾Ðd¶"†œ)lªØøÌwþ>ËaOÓ1yíñ â�‰×kñwTW?¬“ü °›ˆï£¢ÛÚ–`g1Ó҇{ª¿þî)ìSáYu*žZQÔ»R$š}xH\¼ü�G“’º¡î ñ·Ž)D¿f…1a((ûˆäöã ñëDöHFIZÆ(µ¡0QÇw–ƒœÕ»õG«4õÿ‡—¸³Ë—Ù:!}¥SXè6bãÚ‚K"âO+FëtáÇFšùÚË ¬ºV±AÆ”¡ŠiÀc!ò=î6z=¯¦ñû1µ „­–½$9I7–n¯•ߊ™\ ü#·„ѳ³µì–�jöFæKÀC±/ÇRýÁ¢½×´_`á_é›g a5Üd5 ‹éoùó‘ESõ�~³Nà©„�ðZµ:qøSáßð€-VÞ×,uãÑŸJb=Rn¼Á”Z–_–m€y}q��½˜^�{]¾ö.ñÍÉ�›²7®0{ß6G]@*N:•U,“à¡Ùô­jH¹uàV”ì)™G«D�ùãžé×ï‚Τ�õV¸‚QŸÝ;túlÿ,@fGö¦üÈ6[zï&ÖϤ‹;åíÒ^ §üD™€ ì_LTo×=G Í Ü-ô쟀 ��uÌà �½{s“?×KšÓ —MpÆãsôÃqföÖ�ëP¸^RXWª€HOø2§¾¨0�ÀdxLê®r´Ð铽nÚ –ï�î»9Jö5S3gSlð!á�‘-‡Âf7KÁ¥ÇÍR®Žš”ëbz„~†ÔŽW3×Úpzš)˺Œ“UÚ͵ö®çeÍß~üaK2é/ÍB¯Lz=æÛ6T¾£|÷“ŸðÚ2—¬ØË£§ö ž¨0ŒïˆÕÈÈ%?dnžGŽ\4 =L}*íö� Hb§®—u­ ¶Ü¼pœºplD y¹o^[$�hc´ x^f?Âû~ï;îc`¤2þ{ äp@f¦v”ñyÜ÷ù’þ||H–Ê-{ù¾|§ÛkôAéHr]žÕZ(�¶Ï°�X ó¤ oaù§0έÿRþòy¹Ûÿ†¿ñrçbE¿C7¬ÉƒÕü óÛÖ?ÿi3C¹=žÆ•œÚ,4–^UÏ_švx^Õªe‚­¨JŠ9Ô¥ûK“D Ô<Å�!7o¢t]TLno÷FÍ8Í:,Òï̧ —2iÁËó²wJˆƒ@Ï»‘†r1|S{ßÎ~åÑ*лI8 þ¡ÆQ®Ÿ¦Êzb )#�uí£ã9Ízø‹Y˜©Výœ Xj„b­mÂ%'÷ʯîf3ÕŒÝ]ve‡é{i4§î²4HÁ—¸s‹ht�,a„V“8ho==&&æ… '¨Å€¢†v‹Ú¼‘(@Í.§¼#uÂüã52cvl<Ö yÓ`´‡'€,¬e¶wä<¦ÊJ”ž%㊴ö„“Ümˆ �µÔÇ ¨º :çàcåè�ýóCØ´¶ðºò2 óÆÔÙÎäú±œ¦´z`Íí.öKÞÖUšÈUGY¯é¡ËCËeüЪFý»´¡®òAÖ×!¦™˜!éðÑü{“÷î¿ ¹¤8)Ÿ¶÷z« ОóNc¼38—Þ…#ÙîøÉ�îCZ`¹vé¾áöÓ/G}…2bñ¼ õ®¨³¨—ñųºbêŽéﳯª/Q±^WÂb~ y*)@þh¿çÿ÷XŸ˜Óà´½ý·ÿÍ».ÉÞQ½UG­ÕIŒœ„?d³÷\êÿ.nr¹’¶Hî¾±û