Home Forums Themes Support Claue Debug Errors

Viewing 2 reply threads
  • Author
    Posts
    • #34406

      I’m getting this list of errors back to back growing the debug file pretty fast.  Also spikes in CPU usage all the time.  is there an update to Claue? I haven’t seen one in a while.  Are these errors reflective of Claue?  I know the add-to-cart is not but what about the rest?  I looked up one error here and it referred to theme.

      https://kb.oboxthemes.com/articles/warning-array_reverse-expects-parameter-1-to-be-array-null-given-in-ocmxfront-endbread-crumbs-php-on-line-33/

      [12-Nov-2019 00:44:19 UTC] PHP Notice: Undefined variable: value in /home/realmccoy101/public_html/wp-content/plugins/woocommerce-abandon-cart-pro/includes/template/add_to_cart/wcap_add_to_cart.php on line 52
      [12-Nov-2019 00:44:19 UTC] PHP Notice: WC_Cart::get_cart_url is deprecated since version 2.5! Use wc_get_cart_url instead. in /home/realmccoy101/public_html/wp-includes/functions.php on line 4440
      [12-Nov-2019 00:44:22 UTC] PHP Warning: shuffle() expects parameter 1 to be array, null given in /home/realmccoy101/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php on line 894
      [12-Nov-2019 00:44:22 UTC] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/realmccoy101/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php on line 897
      [12-Nov-2019 00:44:22 UTC] PHP Warning: array_map(): Expected parameter 2 to be an array, null given in /home/realmccoy101/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1915
      [12-Nov-2019 00:44:22 UTC] PHP Warning: array_filter() expects parameter 1 to be array, null given in /home/realmccoy101/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1915
      [12-Nov-2019 00:44:22 UTC] PHP Warning: shuffle() expects parameter 1 to be array, null given in /home/realmccoy101/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php on line 1170
      [12-Nov-2019 00:44:22 UTC] PHP Warning: array_reverse() expects parameter 1 to be array, null given in /home/realmccoy101/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php on line 1174

    • #34408

      here’s what i get for theme:

      [11-Nov-2019 22:38:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /home/realmccoy101/public_html/wp-content/themes/claue-child/functions.php:293

    • #34410

      Hi,

      Please deactivate plugin woocommerce abandon cart pro, and check the code you added in claue-child > functions.php related to get_available_variation on line 293.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

Viewing 2 reply threads

You must be logged in to reply to this topic.