I’m using 9.3.4 and PHP version 7.3.31. Short of rebuilding the whole site, can someone solve this problem. I keep getting these error messages every time I move around on the site. The first error message I get is
Messenger Worker Message Failed: /var/www/concrete5/public/updates/concrete-cms-9.3.4-remote-updater/concrete/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:130 Handling “Concrete\Core\Command\Batch\Command\HandleBatchMessageCommand” failed: Handling “Concrete\Core\File\Command\GeneratedThumbnailCommand” failed: An image could not be created from the given input
Which triggers this
Rejected message Concrete\Core\Command\Batch\Command\HandleBatchMessageCommand will be sent to the failure transport Symfony\Component\Messenger\Bridge\Doctrine\Transport\DoctrineSender.
Your web server and/or Concrete logs can probably give you more details, but it sounds like you might be missing the GD extension, have an outdated version, or are running out of memory when processing thumbnail images.
As a workaround, you could try disabling thumbnails or replace the problematic image (likely the most recently uploaded image, or possibly the one most recently added to a block).
But I agree with JohntheFish, it should handle this case more gracefully.
The strange thing is I can generate the problem every time I run the “Generate Thumbnails” task. It gets stuck about 12 times (It says I’ve got 296 thumbnails?) … Makes no sense as this is a small single page site with 60+ images…
Check the logs for more details. Really sounds like one of those images is large and making the thumbnail is consuming too much memory. Multiple thumbnails are made for each image, so it’s not unusual to have multiple times more thumbnails than images.
How would I check that. I know memory is not a problem as I’ve got 32gb on the machine and the site is a single page with only 60+ images. I checked all the images and the largest one I have is 215kb