Fatal error: Uncaught Error: Call to a member function switch_to_locale() on null in /home/dmebikes/public_html/wp-includes/l10n.php:1679
Stack trace:
#0 /home/dmebikes/public_html/wp-admin/includes/misc.php(132): switch_to_locale('en_GB')
#1 /home/dmebikes/public_html/wp-content/plugins/shortpixel-image-optimiser/class/Tools.php(285): insert_with_markers('/home/dmebikes/...', 'ShortPixelWebp', Array)
#2 /home/dmebikes/public_html/wp-content/plugins/shortpixel-image-optimiser/class/Helper/InstallHelper.php(44): ShortPixelTools::alterHtaccess(false, false)
#3 /home/dmebikes/public_html/wp-content/plugins/shortpixel-image-optimiser/class/Helper/InstallHelper.php(18): ShortPixel\Helper\InstallHelper::deactivatePlugin()
#4 /home/dmebikes/public_html/wp-content/plugins/shortpixel-image-optimiser/shortpixel-plugin.php(683): ShortPixel\Helper\InstallHelper::activatePlugin()
#5 /home/dmebikes/public_html/wp-content/plugins/shortpixel-image-optimiser/shortpixel-plugin.php(66): ShortPixel\ShortPixelPlugin->check_plugin_version()
#6 in /home/dmebikes/public_html/wp-includes/l10n.php on line 1679
WordPress › Error