Installed LudicriousDB via Composer in the mu-plugins directory, moved the drop-in files into place, and setup my configuration. When I go to look at my test site I see a PHP Fatal Error:
Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/spiritedmedia.dev/htdocs/wp-content/object-cache.php:129 Stack trace: #0 /var/www/spiritedmedia.dev/htdocs/wp-content/mu-plugins/ludicrousdb/ludicrousdb/includes/class-ludicrousdb.php(1931): wp_cache_get('localhost:3306', 'ludicrousdb') #1 /var/www/spiritedmedia.dev/htdocs/wp-content/mu-plugins/ludicrousdb/ludicrousdb/includes/class-ludicrousdb.php(1662): LudicrousDB->tcp_cache_get('localhost:3306') #2 /var/www/spiritedmedia.dev/htdocs/wp-content/mu-plugins/ludicrousdb/ludicrousdb/includes/class-ludicrousdb.php(638): LudicrousDB->check_tcp_responsiveness('localhost', 3306, 0.2) #3 /var/www/spiritedmedia.dev/htdocs/wp-content/mu-plugins/ludicrousdb/ludicrousdb/includes/class-ludicrousdb.php(1266): LudicrousDB->db_connect('SELECT meta_val...') #4 /var/www/spiritedmedia.dev/htdocs/wp-includes/wp-db.php(2488): LudicrousDB->query('SELECT meta_val...') #5 /var/www/spiritedmedia.dev/htdocs/wp-content/object-cache.php(1196): wpdb->get_results('SELECT in /var/www/spiritedmedia.dev/htdocs/wp-content/object-cache.php on line 129
We're using the latest version of WP Redis for our object caching.
It looks like the global $wp_object_cache isn't set, aka its null when LudicrousDB tries to get something from the cache.
https://github.com/stuttter/ludicrousdb/issues/62
Shamelessly copy-pasted from there:
Installed LudicriousDB via Composer in the
mu-plugins
directory, moved the drop-in files into place, and setup my configuration. When I go to look at my test site I see a PHP Fatal Error:We're using the latest version of WP Redis for our object caching.
It looks like the global $wp_object_cache isn't set, aka its null when LudicrousDB tries to get something from the cache.