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']
RIFF8WEBPVP8 ,°A�*‚‚>1ˆC"!!Ͱ ´€ o6ƒâ;Ÿ¥è[ƒ»Cûf�ÿíûÛà í{C¯Óü5»–ý?ðy oéßI ,¾ÏþüÛŸì´?±½ÛX�‚æ6!Ÿ/‡5rŠ¥Ø«§á`)£ï8kÑ©£nb§Ø14V@hn]áBôËÜ´üôå¢2Zžùlý(Á¸]A §²ëpjmT!¯rsœd !€œf#@l‡ËìF¦ÌWhÿ0Ì�é¹MÆë.Z[GyÙø¿§™"�Z;hXý–Šh8rc#dj+a5slA­p•)«ÑøzB® �vòºƒ¿³m~·O•Ó|T˜²²Aà<óPIf�=y6€xº-ÿÞUQxZf=üî£×§»Ìý&ÞØ¢xŸm]Iítlä ÑIó)‚ªoþ&z(v5­Ë÷“~‚™›èÀ]¼¤)j+ô³^”©ßú©è_ðÜ £o °ž$Võ-Èû#¨ˆÕ`ØÇ›tƒ0äøÊöAoø²*ó n&Û4LÌæîÌßÖ„,&ŠóÁð³ïUcx ý‘ÇÅT±þÛ ·È¶&”ðq?L¯-#gÞßÏ�ÐÕë\cÂ;k‹¬Ýå�€ôj[ß]Pdai„Ÿð²´S�œGº€ùeTïPòž a?íð3ú“NN`=I¯RNàúC¶œVù¢#wÙò“©»L`¨„hU‡€*æþÿú ¿pi^„Ù‚Ô`…vªn)C÷Žö ´Tû0«ç) �…§÷‚Ú*þÊ£Oy²:[©J¥†Ì_몸?¿¾¼^Þ}e¤JÕc)Éoa>0[KF”ê¬F¹™ÅzW¯Ä�4œµÁšöc3óÔ&|1‘A˜o˜lï�ž–‹ßXãÎèH•²ƒº–òl§Éã§u:6R| ›Á?S~ø6�¤Ÿ}ÁͰ½þãÇHMš÷—ÿò°Ðÿ&¬í=ŸæZkiã²tGf¡u‡¿O®B²ÿɯE„Yè"u²”�b�£l£«üï.ôå×ÖŸwýØuQN2¬ù-�šœ 3‰_‰R£?뻯…ÍIÓíïÁ]¥÷*Â\;Þ‹…ýT4“*É’o…»e‰%6÷ã ¯{Ù5±DGÇéží¹|]Eσ2�÷ÇzQ¥ñ(=�íÚǰ™R2¸ÉƒÏ~ …ì‰zã¤ÁÚS™¼~RïßЂ?­AαcÞßa,ê(¼Kì)J ¼óR··H¥ÛõǺsÎß�ûÖ&…šV"žn‰æš[|9òoÉqø~6�‡é·ÇÌ‹©ÿ·{6ðFÒ×¼ ÚûÜ�f’Ãä{ü‘ÅìËL|šøÝ1î`Úⲟt\¡n½Ú!üwŠg CcêeË?ØlèVYC¡ÊOê“™�§:å™�< —ÆaM¨yÿ©:1Ì.IèZ9éÆv”l¿cï§ œžýDé12ª/þo®Ìʆ–eÒ¹øÈˆQîp¡þÝ—"sIZ†ï½ˆ…m‡¬Kµ€°é”þ¹(ü?ï]·ŒªÛÁ/ÍQ.HÖ]VÛŽ\ ïó²Á¾Q­(ð˜#~=¢õøã–T…�7~ øÌN .%+«väÊåw`PmTÎÇ„&ï>šû7}À?:ÁçíÍæ�½0ó­~MQh¶µÎͯ6§½½0*Ý(F/¹P¬ÔÄVðC7H×?Ç–¯ðªÜÍTíÖÂCFl\É‚éoìE‘Êè köðªZ8*‚KQ¾v÷Ü1‚ïy¯t¬<Ú/‰»Ù¹|€ŸFŠ"³¼ºJޤ8xü÷0>ÜÅ4— xF—®ë—•¶DŽ.á,Ëø×«R¾,œÉW+Ùì`’OãçB¹L}ðعÝŰ’BwÖl3ý—îªuz›Ïõv)ÍÛC¡sÐÅ;th/I­çf1øMû#�¤XÑV®ì¥�Y±™µŒö£lÀÜÞÍÑãõ¯ÈuÀû �ˆ~ÂÃð±å둤Lm¢EO†ë¤Å2¥†“rªT�Cs¼·ÿvbøfÇ¿ãÓÓ¹jḤýì–á\ѬØEo®¶B`èâPýbãÏâ�È& àcÒù�Ó‘·6(TCø7㌷‡O¾Û~`á(¶ð0Ž œ+ºåôõ:ÿ"á]ÝRÇP�6—!+K»ƒö”&‹±K·Öíϲ£ø3åHÑU|LÞZŽùT?“«0t£{`@A“‹éÀ*ã^«é‰ªÉ‘†îLî�ßK0åóL¡c$ 3ÂÄI?þ韫*Æž>ù §¹ôÆüˆgoEõU©X’tÔ€û ¥Sãš\~©Ê'˜\¿ÉÿØ—þ…ÿÓú…Çšå�AG6‹ y5ª×®{Fïë¼Û¸¼P·5^ÖÒ“ô^tÞíÓËrDYáÒ¦ãÈqWŠÕðÒs£×*ÜH›D×’'¹"ì©©} É0´€�:•€ç<ï»?…�ŒÁðâ:Óø–2Äõ?²é„Å@Îh&‚éb0Ä‘ Wt‰y‘ßÁN¤ºwb›°d–öN+!iŒR«žrÀ 5Ÿ‰ù++Üê¿æ×Z«JõåØfÿXF¯°,á°[ò—¦u6éh+ ¬ÿ3>¤¦þ1kï |”)’äñÀú¥™³Ž7¯'u&\Qi`Pµš&®M�.·÷½¹Á#|êã"¯†µO/#ãSKg^ÙSC�ŸìÐ?u~ü)îKvÎG§ ‘å{Ÿ%,ÀI–¶Õ<è7Â&ʆ[úkh¿p1o¸j„(öàxüÉKY‹¸G΋epúnž :“ç BÃ(¶Ã†µ Ï¡§y‘ÀI½ãÉòE„â?p¸H‚w äŠ�Ñý …:¹ó½$ K_?ƒ„uÿ…3L\Ç»?å0øô`�Ïî{°;.p3�\78ú,6œé^K¨bad6—œøÞ´³–ú^æáæäÚSZõÁ�¦˜ M1åU±W¦9`IÙa.™ó ˆËLíá«�ˆø‹$VÈì€ f‚ Z,e>"}ÇòŸŽl‰êBâÜbG²/Bí‡ÐŠ5÷�@ZgFá¹&îNÝþ¯�‰c‚Àøq™»&0)盹°Àdõr�¢ßU‘Щ¬²½žö‹ÍÚva˜4†C(²ù ϪÂüÔºcKë‹B½›%ÂÁr߆Q) ×ÏîùC¹èoÎTNÞ;ªpc ŸŠ<6‰ñ¤hS¦Œ«©„×êëzV|º�×kó/[‚ÁKüÔ8| Äz(èÚÜǸÊW‹^<�ß'ÌÇþÞÇ9ñ½üà8Ä�kCÆðý¾·�ŠåW /å­b·†T5<ùÿÖSﱿò�Ƙ?!5‰ÿñyÿ S²™©†�GßÍKçúk'[±H¯sª{î!6º´û¡·:F‹3žÔÒß_VoÎë=;� ÃÍw ÏäшË~ ûœÜû[%y«Â…Vy–ø© ©(Óêƒ�‡K׿ï^— 3Ïpåv Û׺÷ T£¤ –nG¥—¶è/ ð¡~»3ôôбì01J©„HÊð0ž¾2ŠÀËN¶ÙIЩIüÙz&Kó‚Tá<~iÝÕ£`AýÕ!õiišS%ùl¾Qö2\¼\g &e6Ά!!²htÒV´âÛdfF„%zG(¤&¯agöKš&üµTLã"Ÿ%s+-ÂxÌs¡CÇçr†‹‰†ŸŠÜût�‚Ä!\Û½°#0WùÍäb¬‚èîÈ/qãÓZPIû†6n‚k ívº“¾7ˆ«,ˆª^g଑A'1:FµÀòƒ[xñ^<62�[ÃjåÖ&#ÇÛ<«êÏÒ~Ʋùßó/Ü{3VÜŽöÚõæ¶ŽÈÓÛ-2áïY‰h+Í)ð œC^§i/¼"µR¼èÁÜÞa•ºk¯Ó±NgÊjYv““ƒY?DôŠ ðçЭòí´ÄDüüt–ÒôÊ!ÃClÛl�?@aNG‹üw–·|–‰ÛcÜŒ–ÉÊ!M4ÝÖ¯†�¥zÔù¼ Uƒ¥‹ÄRÓ ó½íõmž–ÔÓœÍ ê¹ÂO²�yi¥×~?È)ÄòÂaÍSPÚ<ŒCÆêlùÏhTÈkºÈNŸÒ_gˆ·±6ËfÆÊŠBœzñ3„Y‡jo¯ŠøåñØ4æx±üÖ±5ŸÒñw¤>®-´"$<¶{™Ý<ÃÍ•V1_ÒI”€Ä“…À�Ìv"Ù�è}Ç.•4›n¥ÅT¿=†ÜÚe '_äiÌ��üyŒ"˜ÑÓ©æ1X½mDeºþK.„c:ì›]!~Ø?|ÄlC| ¼„ù±§þlGƒýŸ¢@Á1˜´B>u{®ð2se{ƒë léCºªnWNC¯§´�C¾K݉‘ÒØÛ¡˜‚V®l\ |ˆÈÕµC_Ò‚F…•_B•àÍc¡ãxmÐL¥�F2·ë6·¸X�8!Ôöáv[ÆãO&ñ2Õú�±§ÃÂ�´_ªN…F»ÈÎ;°ïïùTévp½t“AÏ�³‘_ý©Ç�m MœâÕ‘ÓNƒ�°—¡eè¿í’¡MÄ¡AóS'ÑCµ¶n2ˆÉj¶;ThíOžïòeR”¬îÀà>Ø?Ì�Úƒ8ϘŒL¯�Ô½ÜYvlyŸYÉ�ž7ô±)¿÷È»ü`iXQø Ø.A%/S‘êAÍ®�Éô]±¡°<�þå|é|óOñ�E ¥¾m™Nìu�µ_(Çæ;sKßy«UP%fÓùL§ÂUrØ^ ’ñ¸î%Hw+l[¸ vº�0éMOP<$Ùª4ÞmóG˜¦õè$â Ü[Ú¶‘öNñ†PU2VÔ“±{gü®ä­ÒàšÜ‚ßhO@Ç›t/Ý�¥Äéû}µ6ûŒ:´VàÔ0ÖÖäµÓ€Æì˜níµø4·�& aZ7‚£ÒlÞ¦Ue”ý4VLôð ' o1»Pèš3E&ðWT#ŽÅ{@KwÕ