Fatal error: Call to a member function get() on null … /wp-includes/cache.php
-
Fatal error: Call to a member function get() on null in /home/wp_ruj4wh/805startups.com/wp-includes/cache.php on line 123
Here is the code
/** * Retrieves the cache contents from the cache by key and group. * * @since 2.0.0 * * @see WP_Object_Cache::get() * @global WP_Object_Cache $wp_object_cache Object cache global instance. * * @param int|string $key The key under which the cache contents are stored. * @param string $group Optional. Where the cache contents are grouped. Default empty. * @param bool $force Optional. Whether to force an update of the local cache from the persistent * cache. Default false. * @param bool $found Optional. Whether the key was found in the cache. Disambiguates a return of false, * a storable value. Passed by reference. Default null. * @return bool|mixed False on failure to retrieve contents or the cache * contents on success */ function wp_cache_get( $key, $group = '', $force = false, &$found = null ) { global $wp_object_cache; return $wp_object_cache->get( $key, $group, $force, $found ) }
Line 123: return $wp_object_cache->get( $key, $group, $force, $found )
I have no idea what is going on.
This error is linked to a problem with woocommerce not being able to properly load items in a person’s cart and then allow them to pay for them.
I found a work around by enabling the Stripe Checkout.
I also had to disable ajax functionality in the Woocommerce products settings.
I am also noticing other ajax related errors while trying to utilize Visual Composer’s frontend editor, now.
This is all new. I unfortunately don’t have a backup to roll back to. =(
Any help would be greatly appreciated.
Thanks.
- The topic ‘Fatal error: Call to a member function get() on null … /wp-includes/cache.php’ is closed to new replies.