• Resolved sarahrea

    (@sarahrea)


    I’m seeing these critical errors regularly in fatal_errors log file :

    2024-08-12T00:55:01+00:00 Critical Uncaught Error: Call to a member function get_cart() on null in /var/www/vhosts/myurl.co.uk/httpdocs/wp-content/plugins/woocommerce-side-cart-premium/includes/class-xoo-wsc-cart.php:256
    Additional context
    {
    “error”: {
    “type”: 1,
    “file”: “/var/www/vhosts/myurl.co.uk/httpdocs/wp-content/plugins/woocommerce-side-cart-premium/includes/class-xoo-wsc-cart.php”,
    “line”: 256
    },
    “backtrace”: [
    “”,
    “#0 /var/www/vhosts/myurl.co.uk/httpdocs/wp-content/plugins/woocommerce-side-cart-premium/templates/xoo-wsc-container.php(33): Xoo_Wsc_Cart->get_cart_count()”,
    “#1 /var/www/vhosts/myurl.co.uk/httpdocs/wp-content/plugins/woocommerce-side-cart-premium/includes/xoo-framework/class-xoo-helper.php(57): include(‘/var/www/vhosts…’)”,
    “#2 /var/www/vhosts/myurl.co.uk/httpdocs/wp-content/plugins/woocommerce-side-cart-premium/templates/xoo-wsc-markup.php(24): Xoo_Helper->get_template()”,
    “#3 /var/www/vhosts/myurl.co.uk/httpdocs/wp-content/plugins/woocommerce-side-cart-premium/includes/xoo-framework/class-xoo-helper.php(57): include(‘/var/www/vhosts…’)”,
    “#4 /var/www/vhosts/myurl.co.uk/httpdocs/wp-content/plugins/woocommerce-side-cart-premium/includes/class-xoo-wsc-frontend.php(147): Xoo_Helper->get”
    ]
    }

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Uncaught error get_cart’ is closed to new replies.