PHP Error

How to log the admin panel when there is PHP code error.

Encountered a PHP error from one of your snippets that’s blocking access to your site’s admin? No worries. Here’s a quick fix:

Activate Safe Mode by appending `?wpcoder-safe-mode=1` to your URL.

To use Snippet Safe Mode, simply add the “wpcoder-safe-mode” parameter to your admin URL. For instance, if your admin URL is:


To access Safe Mode, visit:


Upon doing so, Safe Mode will remain active until you deactivate it via the provided notice link, allowing for smooth site navigation.

Please note: Only users with the capability to activate or deactivate snippets can enable Safe Mode, requiring them to be logged in. If your site becomes inaccessible and you’re logged out, use the safe mode parameter on the login