Fatal Error after Updating to 5.xx
-
All my websites crashed after an update of shortpixel-image-optimiser plugin (I was naive enough to enable automatic update). It seems that there is a problem with the locale
de_DE_formal
. For now I have to delete the plugin everywhere via FTP.Fatal error: Uncaught Error: Call to a member function switch_to_locale() on null in /html/wp-includes/l10n.php:1679 Stack trace: #0 /html/wp-admin/includes/misc.php(137): switch_to_locale('de_DE_formal') #1 /html/wp-content/plugins/shortpixel-image-optimiser/class/Tools.php(285): insert_with_markers('/html/.htaccess', 'ShortPixelWebp', Array) #2 /html/wp-content/plugins/shortpixel-image-optimiser/class/Helper/InstallHelper.php(44): ShortPixelTools::alterHtaccess(false, false) #3 /html/wp-content/plugins/shortpixel-image-optimiser/class/Helper/InstallHelper.php(18): ShortPixel\Helper\InstallHelper::deactivatePlugin() #4 /html/wp-content/plugins/shortpixel-image-optimiser/shortpixel-plugin.php(683): ShortPixel\Helper\InstallHelper::activatePlugin() #5 /html/wp-content/plugins/shortpixel-image-optimiser/shortpixel-plugin.php(66): ShortPixel\ShortPixelPlugin->check_plugin_version() #6 /html/wp-includes/class-wp-hook.php(307): ShortPixel\ShortPixelPlugin->lowInit('') #7 /html/wp-includes/class-wp-hook.php(331): WP_Hook->apply in?/html/wp-includes/l10n.php?on line?1679
- The topic ‘Fatal Error after Updating to 5.xx’ is closed to new replies.