Fatal error in Media Library after ShortPixel Image Optimiser update
-
After updating ShortPixel Image Optimizer, the WordPress Media Library now throws a fatal error when trying to display all media/images.
The issue appears to be triggered by ShortPixelβs backup/preview logic while processing media items.
[05-May-2026 16:29:03 UTC] PHP Fatal error: Uncaught Error: Class name must be a valid object or a string in /wp-content/plugins/shortpixel-image-optimiser/class/Controller/Backup/BackupController.php:93Additional warnings from ShortPixel Adaptive Images also appeared after the update:
[05-May-2026 16:48:10 UTC] PHP Warning: Undefined property: ShortPixel\AI\Notice\Constants::$recommend_survey in /wp-content/plugins/shortpixel-adaptive-images/includes/views/settings.tpl.php on line 285
[05-May-2026 16:48:10 UTC] PHP Warning: Undefined array key “title” in /wp-content/plugins/shortpixel-adaptive-images/includes/views/settings.tpl.php on line 301
[05-May-2026 16:48:10 UTC] PHP Warning: Undefined array key “body” in /wp-content/plugins/shortpixel-adaptive-images/includes/views/settings.tpl.php on line 303
[05-May-2026 16:48:10 UTC] PHP Warning: foreach() argument must be of type array|object, null given in /wp-content/plugins/shortpixel-adaptive-images/includes/views/settings.tpl.php on line 303Could you please confirm whether this is a known issue in the latest ShortPixel Image Optimiser update?
You must be logged in to reply to this topic.