(1/2) How to recover from a buggy snippet? e.g. "Help my site broke"!


By Verdi Heinz

updated about 2 months ago

You can try activating ‘safe mode’. All snippets will not execute while safe mode is active, allowing you to access your site and deactivate the snippet that is causing the error.

To activate safe mode, add the following line to your wp-config.php file, just before the line that reads /* That's all, stop editing! Happy blogging. */:

define('CODE_SNIPPETS_SAFE_MODE', true);

To turn safe mode off, either comment out this line or delete it.

Did this not work for you?

Then please try this other method.

💖 Buy Code Snippets Pro - 🌲 Help us plant Trees - 🏡 Back to the Home Page

Did this answer your question?