• Resolved hothbricks

    (@hothbricks)


    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:93

    Additional 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 303

    Could you please confirm whether this is a known issue in the latest ShortPixel Image Optimiser update?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter hothbricks

    (@hothbricks)

    Rolling back to 6.4.4 puts everything back to normal

    I just found the same issue on my clients’ sites this morning. Sometimes too many features are too much, y’know? I have zero interest in all this AI crap for images, too. Make that an addon for people, not part of the whole plugin.

    Plugin Support Adrian

    (@adrianrus)

    Hello,

    Thank you for your message and sorry to hear about this issue πŸ™

    We are aware of this issue and we’re actively working on a fix.

    In the meantime, rolling back to the previous version fixes the issue! I will get back to you guys here once the fix is released!

    All the best,

    Thanks for the speedy response! Where do we find the previous version to roll back to?

    Plugin Support Adrian

    (@adrianrus)

    Hello,

    Could you guys please try this dev build and confirm if you still encounter any errors?

    https://we.tl/t-uN3bjpwDZX2oMtTc

    The errors should now be gone, but please confirm if everything is fine as we weren’t able to reproduce these errors in our dev environments and during the testing stages of the 6.5.0 update.

    If this will fix the issues, we’ll make sure to release this update as soon as possible!

    All the best,

    Natacha

    (@chickwithbob)

    When I visit the ShortPixel Settings on a new install, all I see is the ShortPixel top banner.

    I cannot see the form or license key entry field or anything else.

    Version 6.4.4 is ok on my other sites. Is this a known 6.5 issue also?

    Plugin Support Adrian

    (@adrianrus)

    Hello @chickwithbob ,

    Yes, this is a known issue in the latest version which the dev version I provided above should fix too.

    Please install this bugfix version of ShortPixel Image Optimizer on top of the other one and confirm if you still encounter any issues: https://we.tl/t-uN3bjpwDZX2oMtTc

    It has the same plugin version but it’s actually a hotfix release which isn’t publicly released yet.

    Best,

    Natacha

    (@chickwithbob)

    @adrianrus I can confirm that your bugfix version resolves my issue.

    Thread Starter hothbricks

    (@hothbricks)

    Dev version fixes the issue

    Plugin Support Adrian

    (@adrianrus)

    Hello everyone,

    The fixed version has been released, so please update to 6.5.1 as soon as possible! πŸ™‚

    As always, please feel free to reach out if you will encounter any issues and please accept my apologies for the issue, this has been a large update and we didn’t encounter these error during the testing stages!

    All the best,

Viewing 10 replies - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.