I encountered another error causing my site to not load and blocking me from logging into the admin console. So if you’re getting the following error in your logs, keep reading to learn how to fix the problem and get your site up and running.

Fatal error: Call to undefined function wp_suspend_cache_addition() in /home/u356894638/public_html/wp-includes/cache.php on line 415

This error is most likely due to a caching plugin – if you’re not sure what that means, check to see if you have one of the following plugins:

WP Super Cache

W3 Total Cache

WP Rocket

Any plugin with the word “cache” in it

What probably happened is that the plugin was updated and/or WordPress was updated and is causing this incompatibility. So what do you do? The only guaranteed solution is to disable the plugin until the issue is resolved by the plugin. To disable the plugin, you’ll need to access to your website’s filesystem through your control panel’s file manager, FTP or direct shell access via SSH. Then follow these steps:

Navigate to /wp-content/plugins

Find the directory/folder of the plugin causing the problem

Rename the directory to something else (i.e. badplugin-disabled)

Once you’ve done that, your site should be active again and you should be able to login to the admin panel.

I hope this helps someone. If you’re still having problems or need help, leave a comment and I’ll try to help. But I also recommend checking on the WordPress Support Forum – lots of super helpful and smart people. And if you already host your own WordPress instance or want to start, check out my list of Best WordPress Hosts.