Quantcast
Channel: R2D2 » featured
Viewing all articles
Browse latest Browse all 7

WordPress installation: Call to a member function add_global_groups() on a non-object in wp-includes – cache.php on line 207

$
0
0

On one beautiful day I had to install WordPress 3.6 on Apache (Windows) and on the second step I got this message:

Fatal error: Call to a member function add_global_groups() on a non-object in wp-includes\cache.php on line 207

My server runs on

Server version: Apache/2.2.23 (Win64)
 Server built: Aug 24 2012 13:38:09

PHP 5.4.11 (cli) (built: Jan 16 2013 20:26:26)
 Copyright (c) 1997-2013 The PHP Group
 Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies

Looking at the problematic line:

function wp_cache_add_global_groups( $groups ) {
 global $wp_object_cache;

return $wp_object_cache->add_global_groups( $groups );
 }

The solution was to disable cache in php.ini

In my case it was Wincache

;extension=php_wincache.dll

And life was better since then. I will be looking to replace wincache with something compatible with WordPress.

The post WordPress installation: Call to a member function add_global_groups() on a non-object in wp-includes – cache.php on line 207 appeared first on R2D2.


Viewing all articles
Browse latest Browse all 7