• Hi,
    Whenever a bot calls a certain url -which is unavailable- the error log shows a null pointer:

    2021-05-04T22:37:39+00:00 CRITICAL Uncaught Error: Call to a member function get_cart() on null in /home/abcd/domains/test.nl/public_html/wp-content/plugins/woocommerce-side-cart-premium/includes/class-xoo-wsc-cart.php:253
    Stack trace:
    #0 /home/abcd/domains/test.nl/public_html/wp-content/plugins/woocommerce-side-cart-premium/templates/xoo-wsc-container.php(29): Xoo_Wsc_Cart->get_cart_count()
    #1 /home/abcd/domains/test.nl/public_html/wp-content/plugins/woocommerce-side-cart-premium/includes/xoo-framework/class-xoo-helper.php(57): include('/home/abcd...')
    #2 /home/abcd/domains/test.nl/public_html/wp-content/plugins/woocommerce-side-cart-premium/templates/xoo-wsc-markup.php(24): Xoo_Helper->get_template('xoo-wsc-contain...')
    #3 /home/abcd/domains/test.nl/public_html/wp-content/plugins/woocommerce-side-cart-premium/includes/xoo-framework/class-xoo-helper.php(57): include('/home/abcd...')
    #4 /home/abcd/domains/test.nl/public_html/wp-content/plugins/woocommerce-side-ca in /home/abcd/domains/test.nl/public_html/wp-content/plugins/woocommerce-side-cart-premium/includes/class-xoo-wsc-cart.php op de lijn 253

The topic ‘Null pointer with bot activity’ is closed to new replies.