Title: Uncaught Error: Call to private WP_Object_Cache
Last modified: October 9, 2025

---

# Uncaught Error: Call to private WP_Object_Cache

 *  [nowakkamil](https://wordpress.org/support/users/nowakkamil/)
 * (@nowakkamil)
 * [8 months ago](https://wordpress.org/support/topic/uncaught-error-call-to-private-wp_object_cache/)
 * Diagnostics:
 *     ```wp-block-code
       Status: InactiveClient:Drop-in: Not installedDisabled: NoPhpRedis: Not loadedRelay: Not loadedPredis: 2.4.0Credis: Not loadedPHP Version: 8.3.25Plugin Version: 2.6.5Redis Version: UnknownMultisite: YesMetrics: DisabledMetrics recorded: 0Filesystem: WritableWP_REDIS_PLUGIN_PATH: "/var/www/html/wp-content/plugins/redis-cache"Drop-ins: ["Query Monitor Database Class (Drop-in) v3.20.0 by John Blackbourn"]Stack trace:
       ```
   
 * `Uncaught Error: Call to private WP_Object_Cache::__construct() from scope Rhubarb\
   RedisCache\UI\Tab in /var/www/html/wp-content/plugins/redis-cache/includes/diagnostics.
   php:31 context { "error": { "type": 1, "file": "/var/www/html/wp-content/plugins/
   redis-cache/includes/diagnostics.php", "line": 31 }, "remote-logging": true, "
   backtrace": [ "", "#0 /var/www/html/wp-content/plugins/redis-cache/includes/ui/
   tabs/diagnostics.php(13): require()", "#1 /var/www/html/wp-content/plugins/redis-
   cache/includes/ui/class-tab.php(167): include('...')", "#2 /var/www/html/wp-content/
   plugins/redis-cache/includes/ui/settings.php(60): Rhubarb\RedisCache\UI\Tab->
   display()", "#3 /var/www/html/wp-content/plugins/redis-cache/includes/class-plugin.
   php(202): require_once('...')", "#4 /var/www/html/wp-includes/class-wp-hook.php(
   324): Rhubarb\RedisCache\Plugin->show_admin_page()", "#5 /var/www/html/wp-includes/
   class-wp-hook.php(348): WP_Hook->apply_filters()", "#6 /var/www/html/wp-includes/
   plugin.php(517): WP_Hook->do_action()", "#7 /var/www/html/wp-admin/admin.php(
   260): do_action()", "#8 /var/www/html/wp-admin/network/admin.php(13): require_once('...')","#
   9 /var/www/html/wp-admin/network/settings.php(11): require_once('...')", "#10{
   main}", "thrown" ] }`
 * I do have redis installed, connection variables configured in wp-config and it’s
   possible to connect through redis-cli however when I enable redis in the plugin
   it’s not working. 
   Is there something that I’m missing here?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [8 months ago](https://wordpress.org/support/topic/uncaught-error-call-to-private-wp_object_cache/#post-18675437)
 * Do you have another object caching plugin installed? Something is registering`
   WP_Object_Cache` and making it private which is not Redis Object Cache.

Viewing 1 replies (of 1 total)

The topic ‘Uncaught Error: Call to private WP_Object_Cache’ is closed to new replies.

 * ![](https://ps.w.org/redis-cache/assets/icon-256x256.gif?rev=2568513)
 * [Redis Object Cache](https://wordpress.org/plugins/redis-cache/)
 * [Support Threads](https://wordpress.org/support/plugin/redis-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/redis-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redis-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redis-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * Last activity: [8 months ago](https://wordpress.org/support/topic/uncaught-error-call-to-private-wp_object_cache/#post-18675437)
 * Status: not resolved