Image Optimizer for XF 2.0

Image Optimizer for XF 2.0 [Paid] 2.2.1

PayPal: $29.00
A new error was logged after 10 minutes I updated to the latest version.
PHP:
Server error log
ErrorException: [tl] Image Optimizer: Failed to run command. $cmdOutput=[] src/XF/Error.php:77

Generated by: Unknown account Jan 12, 2023 at 9:16 AM

Stack trace
#0 src/XF.php(219): XF\Error->logError('[tl] Image Opti...', false)
#1 src/addons/Truonglv/ImageOptimizer/Images/AbstractImage.php(62): XF::logError('[tl] Image Opti...')
#2 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(202): Truonglv\ImageOptimizer\Images\AbstractImage->optimize('/home/nginx/dom...')
#3 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(123): Truonglv\ImageOptimizer\Job\Optimizer->optimizeImageFile('data://avatars/...', Object(Truonglv\ImageOptimizer\ContentData\Avatar))
#4 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(69): Truonglv\ImageOptimizer\Job\Optimizer->processImages(Array, 'avatar', Object(XF\Timer), 1671868748)
#5 src/XF/Job/Manager.php(260): Truonglv\ImageOptimizer\Job\Optimizer->run(30)
#6 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 30)
#7 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 30)
#8 src/XF/Cli/Command/RunJobs.php(59): XF\Job\Manager->runQueue(false, 30)
#9 src/vendor/symfony/console/Command/Command.php(255): XF\Cli\Command\RunJobs->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 src/vendor/symfony/console/Application.php(992): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 src/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(XF\Cli\Command\RunJobs), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 src/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 src/XF/Cli/Runner.php(111): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 cmd.php(15): XF\Cli\Runner->run()
#15 {main}

Request state
array(1) {
  ["cli"] => string(59) "/cmd.php xf:run-jobs"
}
 
A new error was logged after 10 minutes I updated to the latest version.
PHP:
Server error log
ErrorException: [tl] Image Optimizer: Failed to run command. $cmdOutput=[] src/XF/Error.php:77

Generated by: Unknown account Jan 12, 2023 at 9:16 AM

Stack trace
#0 src/XF.php(219): XF\Error->logError('[tl] Image Opti...', false)
#1 src/addons/Truonglv/ImageOptimizer/Images/AbstractImage.php(62): XF::logError('[tl] Image Opti...')
#2 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(202): Truonglv\ImageOptimizer\Images\AbstractImage->optimize('/home/nginx/dom...')
#3 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(123): Truonglv\ImageOptimizer\Job\Optimizer->optimizeImageFile('data://avatars/...', Object(Truonglv\ImageOptimizer\ContentData\Avatar))
#4 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(69): Truonglv\ImageOptimizer\Job\Optimizer->processImages(Array, 'avatar', Object(XF\Timer), 1671868748)
#5 src/XF/Job/Manager.php(260): Truonglv\ImageOptimizer\Job\Optimizer->run(30)
#6 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 30)
#7 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 30)
#8 src/XF/Cli/Command/RunJobs.php(59): XF\Job\Manager->runQueue(false, 30)
#9 src/vendor/symfony/console/Command/Command.php(255): XF\Cli\Command\RunJobs->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 src/vendor/symfony/console/Application.php(992): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 src/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(XF\Cli\Command\RunJobs), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 src/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 src/XF/Cli/Runner.php(111): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 cmd.php(15): XF\Cli\Runner->run()
#15 {main}

Request state
array(1) {
  ["cli"] => string(59) "/cmd.php xf:run-jobs"
}
dn18I got this error every few minutes on my admin error log. :|
 
View previous replies…
Something strange going on for me - Updated to 2.1.0 on Sunday at 11:18 AM

The following day (having had no issues previously...)

#0 src/XF.php(219): XF\Error->logError('[tl] Image Opti...', false)
#1 src/addons/Truonglv/ImageOptimizer/Images/AbstractImage.php(69): XF::logError('[tl] Image Opti...')
#2 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(202): Truonglv\ImageOptimizer\Images\AbstractImage->optimize('/home/pinball/p...')
#3 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(123): Truonglv\ImageOptimizer\Job\Optimizer->optimizeImageFile('data://avatars/...', Object(Truonglv\ImageOptimizer\ContentData\Avatar))
#4 src/addons/Truonglv/ImageOptimizer/Job/Optimizer.php(69): Truonglv\ImageOptimizer\Job\Optimizer->processImages(Array, 'avatar', Object(XF\Timer), 1674127132)
#5 src/XF/Job/Manager.php(260): Truonglv\ImageOptimizer\Job\Optimizer->run(8)
#6 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#7 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
#8 job.php(43): XF\Job\Manager->runQueue(false, 8)
#9 {main}

Getting this every 5 minutes...
 
Back
Top