Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.
If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).
@macmanx
Hi James,
I have got the same error as OP but I am unable to manually reset my plugins thru the SFTP or database (with phpmyadmin).
When I try to deactivate my plugins the website still states:
“Fatal error: Cannot redeclare wp_unregister_GLOBALS() (previously declared in /mnt/env/iwtnl/development/public_html/wp-includes/load.php:31) in /mnt/env/iwtnl/development/public_html/wp-includes/deprecated.php on line 4021
There has been a critical error on your website.”
I have tried multiple names for the plugins folder like:
– plugins.deactivate
– plugins.old
– plugins_old
But none of them have worked.
Can you help me finding the solution to this problem?
Thanks in Advance,
James
Try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), and delete then replace your copies of everything on the server except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings.
Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.