• Hello!

    I created and edited a snippet with php code (through Snippets plugin). After adding the line with “add_action…” to the code and trying to save this snippet to add it to the page later, a 500 error appeared. I cannot open any of the website pages or the admin panel. The inspector has the warning “crbug/1173575, non-JS module files deprecated”.

    I’m almost sure that the problem is in this code, although I haven’t even added it to the page. And there is no local version of the site.

    The question is how to delete this snippet if I have no access to the site and admin panel.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • lisa

    (@contentiskey)

    you can deactivate all plugins without access to WP-Admin dashboard area.

    if you can get to the file manager in your webhosting account, you can (temporarily) rename the plugins folder in the wp-content folder to deactivate all plugins

    deactivating all plugins should allow you to enter the WP-admin area for further troubleshooting.

    Thread Starter 4msv

    (@4msv)

    @contentiskey Lisa, thank you so much for this advice! Does this mean that I can temporarily give the plugin folder any name?

    lisa

    (@contentiskey)

    I usually re-name the plugins folder to something like plugins-old

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fix 500 Error without any access to the admin panel’ is closed to new replies.