500 error during bulk optimization
-
Hello,
I’m trying to bulk-optimize images, but displayed progress is always 0%.
Error is returned in the Console:POST https://example.com/wp-admin/admin-ajax.php
Status 500 Internal Server ErrorRequest:
action “shortpixel_image_processing”
queues “media,custom”Associated NGINX log:
247866 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to a member function handleOptimizedFileType() on null in /public/wp-content/plugins/shortpixel-image-optimiser/class/Model/Image/MediaLibraryModel.php:522
Stack trace:0 /public/wp-content/plugins/shortpixel-image-optimiser/class/Controller/OptimizeController.php(611): ShortPixel\Model\Image\MediaLibraryModel->handleOptimized()
1 /public/wp-content/plugins/shortpixel-image-optimiser/class/Controller/OptimizeController.php(409): ShortPixel\Controller\OptimizeController->handleAPIResult()
2 /public/wp-content/plugins/shortpixel-image-optimiser/class/Controller/OptimizeController.php(374): ShortPixel\Controller\OptimizeController->runTick()
3 /public/wp-content/plugins/shortpixel-image-optimiser/class/Controller/AjaxController.php(168): ShortPixel\Controller” while reading response header from upstream, client: 194.36.25.38, server: example.com, request: “POST /wp-admin/admin-ajax.php HTTP/2.0”, upstream: “fastcgi://unix:/var/lock/php-fpm-7.4-sftp_web_wiso3vi9:”, host: “”, referrer: “https://example.com/wp-content/plugins/shortpixel-image-optimiser/res/js/shortpixel-worker.js”
- The topic ‘500 error during bulk optimization’ is closed to new replies.