• Hello Guest,
    There are new packages allow you download any resources with a single purchase. Click here to upgrade your account ;)

ErrorException: [tl] Image Optimizer: Failed to optimize image.


Staff member
Tech Support
ErrorException: [tl] Image Optimizer: Failed to optimize image.

ErrorException: [tl] Image Optimizer: Failed to optimize image. $path=XXX, $command=YYY -f --quality '60-80' --speed '5' --output 'XXX' 'XXX' $output=array ( ) $newSize=0 src/XF/Error.php:75
Generated by: Unknown account Jan 24, 2019 at 1:11 PM
Stack trace
#0 src/XF.php(189): XF\Error->logError('[tl] Image Opti...', false)
#1 src/addons/Truonglv/ImageOptimizer/Images/AbstractImage.php(55): XF::logError('[tl] Image Opti...')
#2 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(140): Truonglv\ImageOptimizer\Images\AbstractImage->optimize('/home/admin/pub...')
#3 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(84): Truonglv\ImageOptimizer\Job\Optimizer->optimizeImageFile('data://avatars/...')
#4 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(51): Truonglv\ImageOptimizer\Job\Optimizer->processImages(Array, 'avatar', Object(XF\Timer), 1548353270)
#5 src/XF/Job/Manager.php(253): Truonglv\ImageOptimizer\Job\Optimizer->run(G)
#6 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#7 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#8 job.php(42): XF\Job\Manager->runQueue(false, 8)
#9 {main}
Request state
array(4) {
  ["url"] => string(18) "/community/job.php"
  ["referrer"] => string(98) "XXX"
  ["_GET"] => array(0) {
  ["_POST"] => array(0) {
What is that? This message show up is warning message. Sometime the processor could not optimize image.