Error calling function add_global_groups() wp-includes/cache.php
-
On updating to 6.0.1, I am getting a Fatal Error.
The upgrade required the database to be upgraded and this has trashed the site.
I have installed a clean install of WordPress, but which uses the site’s database (post upgrade) and the error persists, so I’m pretty sure that the problem is database related.
Errors in /var/log/nginx/error.log are the same as displayed on the website:
2022/08/10 10:02:14 [error] 729#729: *6304 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to a member function add_global_groups() on null in /var/www/html/sites/xxxxxxxx.co.za/wp-includes/cache.php:314 Stack trace: #0 /var/www/html/sites/xxxxxxxx.co.za/wp-includes/load.php(733): wp_cache_add_global_groups() #1 /var/www/html/sites/xxxxxxxx.co.za/wp-settings.php(131): wp_start_object_cache() #2 /var/www/html/sites/xxxxxxxx.co.za/wp-config.php(89): require_once('/var/www/html/s...') #3 /var/www/html/sites/xxxxxxxx.co.za/wp-load.php(50): require_once('/var/www/html/s...') #4 /var/www/html/sites/xxxxxxxx.co.za/wp-blog-header.php(13): require_once('/var/www/html/s...') #5 /var/www/html/sites/xxxxxxxx.co.za/index.php(17): require('/var/www/html/s...') #6 {main} thrown in /var/www/html/sites/xxxxxxxx.co.za/wp-includes/cache.php on line 314" while reading response header from upstream, client: 40.77.167.98, server: xxxxxxxx.co.za, request: "GET /robots.txt HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "xxxxxxxx.co.za"
There are no errors in /var/log/mysql/error.log
This site is my own, so I’m not too worried about it.
However, I do have a couple of commercial domains that need to be upgraded, though, and I’m very wary about updating them until I know what caused this outage.
The page I need help with: [log in to see the link]
- The topic ‘Error calling function add_global_groups() wp-includes/cache.php’ is closed to new replies.