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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator James Huff

    (@macmanx)

    This line quoted in the error is where it’s being triggered, but not what’s causing the error, so you’ll have to do some digging to find the cause.

    Try deactivating all plugins, except WooCommerce of course. If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the Twenty Sixteen theme to rule-out a theme-specific issue (theme functions can interfere like plugins).

    I ran into this same error today and whatever was happening wreaked havoc on my orders
    Turns out disabling Jetpack 4.8.2 fixed it I think, we will have to check in the next order.
    It would be nice to find a fix for this as I would like to use both plugins.
    Woo Commerce still is not populating order information right now….
    (Running woocommerce 3.0.1)

    • This reply was modified 7 years, 7 months ago by watracing.
    • This reply was modified 7 years, 7 months ago by watracing.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error: Call to a member function get() on null … /wp-includes/cache.php’ is closed to new replies.