admin管理员组

文章数量:1302350

Ever since updating WP to the latest version, the admin panel stopped working. Now, every time attempting to access wp admin just shows this error: There has been a critical error on this website. Please check your site admin email inbox for instructions.

There is no email from them. There is no backup (the hosts, on this occasion, don't have one)

Tried:

  1. Renamed plugin folder - didn’t do anything
  2. Activated debug mode by editing wp-config file (“WP_DEBUG” true) - didn’t do anything, still showing the same error message

Any advice for fixing this would be much appreciated.

Thanks.

Ever since updating WP to the latest version, the admin panel stopped working. Now, every time attempting to access wp admin just shows this error: There has been a critical error on this website. Please check your site admin email inbox for instructions.

There is no email from them. There is no backup (the hosts, on this occasion, don't have one)

Tried:

  1. Renamed plugin folder - didn’t do anything
  2. Activated debug mode by editing wp-config file (“WP_DEBUG” true) - didn’t do anything, still showing the same error message

Any advice for fixing this would be much appreciated.

Thanks.

Share Improve this question edited Mar 19, 2021 at 5:25 Zayne asked Mar 18, 2021 at 5:11 ZayneZayne 11 bronze badge 3
  • Add define('WP_DEBUG', true); define('WP_DEBUG_LOG', true); in wp-config.php, try to open admin panel and then check if there are any messages in the wp-content/debug.log file. – nmr Commented Mar 18, 2021 at 8:04
  • Already tried (see my OP). – Zayne Commented Mar 19, 2021 at 5:23
  • nmr’s point was that a more detailed error will be written to a log file somewhere, either in wp-content or your server or PHP error logs. You need to find that. – Rup Commented Mar 19, 2021 at 9:05
Add a comment  | 

1 Answer 1

Reset to default 0
  • Log in to your hosting.
  • Into phpmyadmin
  • Select a website database
  • Navigate to the wp_options table and open it up.
  • Press Ctrl F then find the keyword: active_plugins
  • In the options value field of the line active_plugins change to:
  • a:0:{}
  • Then F5 wp-admin and login.
  • Activate each plugin one by one to determine which plugin is causing the error

本文标签: Wordpress critical error (tried plugindebug)