• 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]

Viewing 3 replies - 1 through 3 (of 3 total)
  • @dgcov I’m sorry to hear about the database update causing issues on your WordPress website. Are you by chance being hosted on Pantheon? I did a Google search and saw a similar issue mentioned, but unfortunately, there wasn’t a solution.

    I’d recommend checking to see if this is an issue due to a plugin/theme. It could be that a plugin needs to be updated or doesn’t work with the changes to 6.0.1. You could try disabling all plugins and see if that resolves the issue and if it does, enable them one by one until the problem returns.

    You could also try repairing the database. If you go to /wp-admin/maint/repair.php on your site it’ll walk you through how to repair your database and hopefully get it back running as normal.

    Good luck, and I hope one of these suggestions helps get you back up and running again!

    Thread Starter dgcov

    (@dgcov)

    Thanks for your input.

    I am running a ubuntu 20.4 server on a South African VPS.

    All plugins and themes were removed and a new WP installed, but using the database from the old site, but the problem persists, so I don’t think it’s the plugins or themes (only using the default theme, anyway).

    I can’t login to the site (the error message is on all pages), so the repair option is a non-starter.

    Thread Starter dgcov

    (@dgcov)

    Ok, I don’t know how it happened, but it appears that my site is back up.

    Baffling.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error calling function add_global_groups() wp-includes/cache.php’ is closed to new replies.