WordPress Critical Error After Updating to 3.4.1

[ad_1]

That’s a very bad news! A fatal error should have been logged in your server error logs, can you get them from your provider or cpanel?

And usually WP send an email with the error details to the admin email address, the one set on WP main settings: did you receive something?

Ah-ha! I found the log in cPanel. Here it is (with our domain info removed):

2023-10-28 11:36:24.565203 [NOTICE] [2197968] [T0] [207.46.13.111:59914:HTTP2-1#APVH_xxxxx.org:443] [STDERR] PHP Warning: gzopen(/home/xxxxx/public_html/siteres/wp-content/cache/hyper-cache/xxxxx.org/404-https.html.gz): Failed to open stream: No such file or directory in /home/xxxxxx/public_html/siteres/wp-content/plugins/hyper-cache/plugin.php on line 679\n

Not sure if this is the only error log. Feel free to tell me where else to look. Also, I can say that the directory WAS indeed there, because I tried to recover from the error by renaming the hypercache folder in file editor (didn’t help).

Apologies – errors from “error_log” file:

[28-Oct-2023 15:05:01 UTC] PHP Fatal error: Uncaught Error: Undefined constant “HC_MOBILE” in /home/xxxxx/public_html/siteres/wp-content/advanced-cache.php:19 Stack trace: #0 /home/xxxxx/public_html/siteres/wp-settings.php(96): include() #1 /home/xxxxx/public_html/siteres/wp-config.php(92): require_once(‘/home/xxxxx/…’) #2 /home/xxxxx/public_html/siteres/wp-load.php(50): require_once(‘/home/xxxxx/…’) #3 /home/xxxxx/public_html/siteres/wp-blog-header.php(13): require_once(‘/home/xxxxx/…’) #4 /home/xxxxx/public_html/index.php(17): require(‘/home/xxxxx/…’) #5 {main} thrown in /home/xxxxxx/public_html/siteres/wp-content/advanced-cache.php on line 19

We’re running php 8.0

Thank you very much, should be fixed on 3.4.2… there was a plan to remove the “mobile cache”, which has no more meaning today, and I made a mistake. I’ll remove it on next version!

You fixed it!!!

Did a backup and tried again with 3.4.1 update and found the error only happened after clicking “clean whole cache”. BUT – I now see 3.4.2 – I updated and everything is working as expected.

Well done!!

We love our Hypercache, btw! It always works and it’s the only cache plugin we’ve found that doesn’t slow down our site. Thank you!

 

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