Forum Replies Created

Viewing 1 replies (of 1 total)
  • I was just going to stop in to post about this.

    As soon as I updated to version 5 this morning I started receiving the following error.

    Edited for privacy.

    [14-Jun-2022 13:35:25 UTC] PHP Fatal error:  Uncaught Error: Call to a member function switch_to_locale() on null in /home/d******q/************.com/wp-includes/l10n.php:1679
    Stack trace:
    #0 /home/d******q/************.com/wp-admin/includes/misc.php(137): switch_to_locale('en_US')
    #1 /home/d******q/************.com/wp-content/plugins/shortpixel-image-optimiser/class/Tools.php(285): insert_with_markers('/home/d******q...', 'ShortPixelWebp', Array)
    #2 /home/d******q/************.com/wp-content/plugins/shortpixel-image-optimiser/class/Helper/InstallHelper.php(44): ShortPixelTools::alterHtaccess(false, false)
    #3 /home/d******q/************.com/wp-content/plugins/shortpixel-image-optimiser/class/Helper/InstallHelper.php(18): ShortPixel\Helper\InstallHelper::deactivatePlugin()
    #4 /home/d******q/************.com/wp-content/plugins/shortpixel-image-optimiser/shortpixel-plugin.php(683): ShortPixel\Helper\InstallHelper::activatePlugin()
    #5 /home/d******q/************.com/wp-content/plugins/shortpixel-image-optimiser/shortpixel-plugin.php(66): ShortPixel\S in /home/d******q/************.com/wp-includes/l10n.php on line 1679

    Rolling back to version 4.22.10 allowed my sites to return to normal.

    • This reply was modified 2 years, 9 months ago by dtremel.
Viewing 1 replies (of 1 total)