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 –pB�*‚‚>1‰C"!!É^, ²€fEß'¯}æÑÉ=ò¾of½ƒæ9ϾqýCîó]å‡gi—¤ù=øô‘ÛÙÔƒ¸ÿãzÖþ—ž/_0>=?éy€È¯£˜Þ²ÿÑê×éUÕ&&8Ù”ýsðΉhOY†øI¸½œaeg*0.Y‰§ŸrSvüà³vßL*‡?~Oñ�÷VAÜ­ Ò¢=¨¹ `Ÿ£ù)NŒ“ãM…v!h½Ê2 *º ©Ns\ hM[çýl£ME¬$+܇YŸž3­4 ñO¤ëÚV”Šñ`¿�9ªökøåÌ[‡cˆ˜-½§ñ–SsûùŠã¿²ëy –Æ®ÛuðÞ”šuÎTk > Æ�p`§ž*Ö@¤óä ±ÊNo¼¡G �¡�Ør]™ï�7>ü“»ÆAE]ïµ»òí…ÝIDøjx¼�Sßür†·Éàqq ÷ÎÍUÏ‘ÿ9ŸR¥q*~^â#®&R!ð~ùWÄ üqÃRO„hR7Žwˆ$2·CÂÅt ¥<éòÛZôÁ¹?>‡([ïxr¼ÿ¨ö8ê—.}ù⚢hÏÊt³G]cA4¿�>®9£< 5úe¤d„ÛŸ¯¤Â‰Û‚Ù$¼™Ôh•–VÅa9�þ¼ƒ5¯ÞI LWBëMÊÐdêšn¨áoc-½À$ÄpqÞ¦Wb:)@•:-IhÝ””°Jþþ“tÚ­w7\Ц}Íô»WQÄ?ßÃJ®ýiûAìûs¡änyúQ˜ÀŒE {’®¶æIGM×úJñÏœ´Óÿø˜ÐHûú¼´Oć¾ø еö_Nð×ÖÅ"Ð'ÚU¹Y$Kè BÞüø#´_ÞsáÑ~¼5K�¨�aW²“·&ël,×'`˜ee$¶ÈrqÔð¼^~/�ƒf U:©]­[Ç(ß·¬%~²¥=FÑy<¨û»WpF9=挈`|{è§1G—6Cþ©Ø†•ïü„®n9PÈ«ìºNUkI$¥^×icˆÄ~Æ‚4(:%ª=aߣr¤† +#M…K[q-oïל[…°7J03¦ÿRS¼Ø�º�Lû§­±”ÁɧàÿB¿šÿÚ�˜tÌã–Ò¡M’”žÌ™yëíc{°k?I«¯ªœ<ÐRzH�|t­§f  ƒˆ24oØ–N0ôÓöôjYèSMŒH=xëN{ û¦QH„é©BSÐÎéFN{7ø�E­cu–+VQq#>ƒåGT^¤âJ¡õgŠ›¨êœº…Á¿ßLéwælP;7!š]—ûE’8Çl|È ðP�ÙB E-}~¯A�’'°ƒ§[ü‚Øå<2$Û’8ü·Z;ÉÝ:XCå$¿`1 ô;H¦á-§Þ6?[Ü÷’Ï¢àö½è¡ÒZOÍ8ZÍrKú”éD@¤¤àÁ,xËéíïz5°&…É"bë]ùþ9,ß�Â;äÞ3i9ç—qÍ¥êÙä§ÞÀ“n™_t!·û�°'üÇ\6s¹thŽNZUˆ6uÕÑu„r‘ˆp@nGʪ¢8}’®‚¤Ê†¥h¢´%ˆŽ¯•ó·StûVJb‰/‹®è”Žj ‡×'¤ÁÍ­ ñnRhÄt�êk¥Q¶o»Î�! "PV ÞÕy-K‡™¡|‹Rºìü• …ÚÈ,À+ 4F÷{;Ñ�á[w“òaËÒ¢½KÔ Á¯¥ J󨞜–Jÿ2j"–ˆnlöǃöÚHÆŒ�¢š´8Ä*e´Ÿé]‰yAï³óÏ ÛkCÈÏ�ªáö¬`~È)Â*2<¥%XÜÎOá<¨+tj´¶ué11-ÌÏ& c"ª~i…#Õ�âyêÜLèçTªàÂOæ K�wºŽZÁ§Ñâvfâú6e|Àžíhi£†ã¬‘¸Ì9$Ôòg Á½4áÜâë…ËÖ)ôšf_¢ˆdÊÿ»Âôì¾`TbïÞñË»‰ëb\r~Þíp²$”sªE$fX _ÆÍ�250Íkéƒæ]~là É0"i¿ûYíŒz‹µ@—2Ó3Ro¢)ê�øµäÚ£“$Û„¨×8Ñøôènú8MˇžŽ+þò•,4ä]›Gw­J-7*âgö¬42ó—À¹íáÙFɾG)Ïu„ àé÷�îàæ¢¥C’Ì›} ÎA¥¾>ÅÛ^¿¡ѳ˜ŸÈmC_'AÆKøË©žÑ�G?ʧ©o?°w¬ÊÅ`'|lúWÿðijüƒoÑC¿+jL¬+RÇ̈ä}œ?ÿÚæçT©sËgÅÒlñƒThÁ+†GÊLöÜõu²U1!ºÜK}:Å%¡ÑuzÒ>³ž¸Ù˜VÑõhã;è,!yÌ“—7jƒ[ m³âáR%'L&|ŠŽá§µ4}6ž¢,‹X­u {3žVvgL"Wµ"µpWMÄ.äÛÓ |¯"Á 'Ø(óRêºÖîôH¿áôÿ"TNÖ“Bˆ·3ÑãŠG[öÐi7mmK؃„Ðî[Ñd„Øj•¿/W‡m›yLÚ(½K™»”OÀ_$CÔÖ–ã-ìD¦„¬í?'H:¨gv ðA�÷GIã?%±rRÂמũ녩$Ê¢“¶éŽÝûp¢ñxX}PÙÀ’¯DŸ5àÑÞ¡Û–Sº€®È·ÃÏYn³æq¿åȰ 6x<ÀÌÔ*ø$LÇ_&CÎXðBd†kà‘íß(0MÓžt±ûŒ†˜ qä7¼¥}….·ê.4ÃI€i†S©œÒÍz%³Vï¶í–ö}cÑv;zÀôzü}ô”ÿ¡B” ÄÒ;×8àsጞ¿fÔÇKk†ò‚šö�“A¹Øn¹Ñ‡¥Ý‹¿ c㢛ÞÞøÄä£^Ò;�/ši†Ö¢3ÀfHÄinñ½d˜è j=1ñNKϽ2yº±&_�Î -ÕÆçò¯ÿnÖVå’"Ùý  ¬A&X±_Zõ_äMO²êÊ„ÕT ›T¹êõ—–?ß…A©oXÜ&$Á#9:{M×ç>SÛªP†ymá+y^³@ˆ¤§Ù9çIigèv˜áóŸñZî²læ!E�æº-6# éΛC|y­ ݹw&¹ú¶ë^C7ì—¨Ç5M$�%6ìü»Aý{‰xŠÏ÷AÚ|Ç+›Ýü¿¹2 ßy}Ÿ1§Ý6}V!�9»yaJùÜ2Ǹ,·Ad6Û� ¯ô�‰ö‡A¢x�žü°IIÎÚ$º/¶•äòÒK˜DIk9žó˜J]3À r•L°ŸÒ³òWØpA…ÝbÕ<{:BO榽FÿþüÓ/^4³w½¿àë¤ŸÄÆ‡zÁ•³îÌMmwacô2׃I›Wgó<’GM¤D¸Yøçýþé/ÙˆÚ•9ù³ 1² \¦sÒ®oÑvËcWß0î5–nZá2'ˆswK˜÷ì¿H�‡³¶]«ÄþËn¦¡õža¯“Cƒ‰Ë›n -~Ÿ¨´bXÔøU™]Ú"rQ©ZH5[òÁ goñêEËͬ ÿng=UC mè•ÞpáÖc?Dzß½6å1¦zˆV I®À¸‡¶»t?0%Ђÿh’IÌôÅí�ô�íùh<ÊWF€aõ…Júw¯S÷þI/`ðü÷Oé¹d—Çz¼†˜`uÄpèz‹Œ/SÔÁËL©×`ÅRýþÞÔe¢‰5“E9Zè{ËM9ài�¨'*^c%Yå÷–2Pm¬G™x»Á v *v�M$ :]�Ã’z®'¥·S¦ºf®ÑÃ-œysn‚Ù‹ÙIÖ ÌßúÓ2  B@Ý¥ƒ Â{JŠˆ1!¦_¥Ž¶s9¤Í{E×¢‚Ûôbë># Ïæ‡œ.Â>HLN_!Ä- À~†õô½çsÖ¡g>y”Æß,Â"sÖliç–ÃãŸ[ÞÁ ãêõã jž&aÒù"u —æ‘eaïR2M]Ìh®ºF•RKœ»P©£~tÍg(38ò¼“ iôWÌ®~áOþÉ‚ø’ÞÄŒÒÛ,Ÿ/¼³]WF£Ôð;žî’vºÁ-f:n`LªJmŸßëH†íÙ\ÖÜí5w@Ã]Gã¶-¨Ãì›úø¸v˜#‹ÙþiÍ0÷D‡> !Lj c�ÊqÃß>ƒqÃÝj\/œêV¡ú‘dt{Âzj©ò±›ú‰¸§ûö�Ye>H÷“Y©a<‡[^A¨}Ñ›'Ü…Êj—‚À‘y¦ÍYš2‘´ž”Ù㬠DÕóÛŽMåž²ÒÖör4‹}?Ú†³q£V?Ø:íoMmã׌’–Kµ¯(œ½täªâÙ!½AïÖe‘ð›íýY “¡b_ÕDjíŠÞ˜FX±L�óVeΜ¤pÿ�oi”Ö'X,# »äs0à¥Ö?mîÌÇ †fM>à~µxoö½áöUpªg@€Å3'rík ¬¤"…‰JÎ`³™ü&I2Ð-ϼkû9¡E�jksš¦gG –z‰ê¦N†ã¸¸*^‚B®ÒyQì0à›g·q2síy­8Fæ%køÇ�IU„f]ùNopr_ÞŠä>Á¯ð!E)Qùê�Œ>IñTÀ<µŒâ‰ÎÛÿIxAf‰C<}pNEß1'ì/õ ŔĄ�¯†çc˜ð Í�¿p6+‹þ-ª²��K-:åob"/íZ!(´åšÚdõ/ê Ø«PµxpU“·Šiš¼pQšƒ}“f“Õa!ï6ûüÀò�€�ì Ö“9£UŸT WŸ-*í �äd&ïc«|Ó0UB™ ¥ÿO›¨ÐK¸Õ%€�Òü_—RÝx/“}Ë‘w’­Á¯ é¾6¬ÕõøÍÃ~R61Ej+Ûn‘– …)Èr<74ø`%œ‹jS—®Nv“(Ïž�d!t‰Ö_ƒaxŽu²\î �u0²†’!HŸVÖŸ=ÀÐ ÜÓ#z92ŠìÊ^ö†Šø&x Ó}!†ÖtÔ’#ÐB0QÅ®‘ŸäCa§KÆi§5Ç<*éf$Á@ø3K kÖ~¿¸ì\OÛ)�8T%oËeq(\JIcÀ@ˆ