WP 6.6 update left my two websites broken

[ad_1]

The reason for the error should be visible in the error log. You can find it in your hosting area. If necessary, the support of your hosting can help you.

Alternatively, you could also enable debugging in WordPress. How to do this is described here: https://projectdmc.org/support/article/debugging-in-wordpress/ – also here the support of your hosting can help you if necessary to edit the file accordingly.

In both cases you should be able to see what the cause is in the logfile.

Same happened to my page:

  • This reply was modified 3 hours, 47 minutes ago by bjornhandy. Reason: Added image

@wshosted would you be able to share what version of WordPress you are upgrading from as well as the PHP version? This will help us diagnose further. Thanks!

I’m not seeing anything obvious in the logs, if the following info doesn’t help, I’ll get my hosting support involved.

I enabled debug and updated one of the sites again to 6.6 from the WP dashboard. When opening the website, I received the following information:

Warning: require(/xxx/xxx/public_html/wp-includes/html-api/html5-named-character-references.php): Failed to open stream: No such file or directory in /xxx/xxx/public_html/wp-settings.php on line 252

Fatal error: Uncaught Error: Failed opening required ‘/xxx/xxx/public_html/wp-includes/html-api/html5-named-character-references.php’ (include_path=’.:/opt/cpanel/ea-php82/root/usr/share/pear’) in /xxx/xxx/public_html/wp-settings.php:252 Stack trace: #0 /xxx/xxx/public_html/wp-config.php(93): require_once() #1 /xxx/xxx/public_html/wp-load.php(50): require_once(‘/xxx/xxx/…’) #2 /xxx/xxx/public_html/wp-blog-header.php(13): require_once(‘/xxx/xxx/…’) #3 /xxx/xxx/public_html/index.php(17): require(‘/xxx/xxx/…’) #4 {main} thrown in /xxx/xxx/public_html/wp-settings.php on line 252

  • This reply was modified 3 hours, 2 minutes ago by wshosted.

PHP 8.2.20
WP: 6.5.5

Hmm. That looks good. Nothing obvious is jumping out to me and I cannot replicate on my end. It might be worthwhile to get your hosting company involved.

Should this file actually exist: /home/okidokee/public_html/wp-includes/html-api/html5-named-character-references.php

I have a theory that CP Guard on the server might be blocking the file. I have a ticket into hosting support and will update as I learn anything. Thanks for the help.

CPGuard was indeed quarantining that specific file. I understand they should resolve that soon if not already. It is possible to restore the file from the CPGuard scanner log.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer