When wp-admin is inaccessible after the, activation or update of a plugin, the safest way is to disable only the suspicious plugin via the file system.
Steps.
- Identify plugin — Find the last extension enabled or updated.
- Rename folder — Via FTP or file manager, rename only the plugin folder.
- Retester wp-admin — WordPress will disable the missing extension.
- Read the PHP error — Check the log to identify the incompatible function, class or version.
- , to a corrected version — Remit the plugin only after validation.
Key takeaways
- Do not rename the entire plugins folder if only one plugin is suspicious.
- Keep WP_DEBUG_Dis PlaY disabled in production.
- A PHP lint does not detect all the errors that appear only, at execution.