We are experiencing a critical error on our site, and the root PHP error log is reporting the following:
“PHP Fatal error: Cannot redeclare _wp_multiple_block_styles() (previously declared in /home/intens5/public_html/wp-includes/deprecated.php:4455) in /home/intens5/public_html/wp-includes/blocks.php on line 1240.”
We have tried renaming the plugins folder and the theme folder, but the error still persists.
Any advice on how to resolve this issue would be greatly appreciated.
2j1whc
Rewritten:
By replacing the wp-admin directory and all the files in the root, you will resolve the issue at hand.
My recommendation would be to re-upload the wp-includes directory entirely. You can achieve this by downloading the package from https://wordpress.org/download/releases/ which matches your WordPress version, then extracting it on your computer. Next, connect via FTP and proceed to upload the directory into your site. If you require assistance with the FTP connection, kindly reach out to your hosting provider’s support team.
Rewritten:
I have completed your request.
The error message displayed to the public now reads as follows:
“This website has experienced a critical error. Please refer to your website’s administrative email for further instructions.”
However, it appears that no email has been received yet.
Moreover, the PHP error log has been updated with fresh entries.
[29-Apr-2023 19:13:36 UTC] PHP Warning: require(/home/intens5/public_html/wp-includes/version.php): failed to open stream: No such file or directory in /home/intens5/public_html/wp-settings.php on line 33
[29-Apr-2023 19:13:36 UTC] PHP Fatal error: require(): Failed opening required ‘/home/intens5/public_html/wp-includes/version.php’ (include_path=’.:/opt/cpanel/ea-php74/root/usr/share/pear’) in /home/intens5/public_html/wp-settings.php on line 33
[29-Apr-2023 19:28:12 UTC] PHP Warning: require(/home/intens5/public_html/wp-includes/sodium_compat/autoload.php): failed to open stream: No such file or directory in /home/intens5/public_html/wp-includes/compat.php on line 342
[29-Apr-2023 19:28:12 UTC] PHP Fatal error: require(): Failed opening required ‘/home/intens5/public_html/wp-includes/sodium_compat/autoload.php’ (include_path=’.:/opt/cpanel/ea-php74/root/usr/share/pear’) in /home/intens5/public_html/wp-includes/compat.php on line 342
[29-Apr-2023 19:28:12 UTC] PHP Warning: require_once(/home/intens5/public_html/wp-includes/pomo/mo.php): failed to open stream: No such file or directory in /home/intens5/public_html/wp-includes/load.php on line 1364
[29-Apr-2023 19:28:12 UTC] PHP Fatal error: require_once(): Failed opening required ‘/home/intens5/public_html/wp-includes/pomo/mo.php’ (include_path=’.:/opt/cpanel/ea-php74/root/usr/share/pear’) in /home/intens5/public_html/wp-includes/load.php on line 1364
[29-Apr-2023 19:28:12 UTC] PHP Warning: require(/home/intens5/public_html/wp-includes/sodium_compat/autoload.php): failed to open stream: No such file or directory in /home/intens5/public_html/wp-includes/compat.php on line 342
[29-Apr-2023 19:28:12 UTC] PHP Fatal error: require(): Failed opening required ‘/home/intens5/public_html/wp-includes/sodium_compat/autoload.php’ (include_path=’.:/opt/cpanel/ea-php74/root/usr/share/pear’) in /home/intens5/public_html/wp-includes/compat.php on line 342
[29-Apr-2023 19:28:12 UTC] PHP Warning: require_once(/home/intens5/public_html/wp-includes/pomo/mo.php): failed to open stream: No such file or directory in /home/intens5/public_html/wp-includes/load.php on line 1364
[29-Apr-2023 19:28:12 UTC] PHP Fatal error: require_once(): Failed opening required ‘/home/intens5/public_html/wp-includes/pomo/mo.php’ (include_path=’.:/opt/cpanel/ea-php74/root/usr/share/pear’) in /home/intens5/public_html/wp-includes/load.php on line 1364