Support » Theme: OceanWP » WooCommerce – Cart Page Error messages

  • Gretchen

    (@respblog)


    I’m getting error messages on the cart page (both backend and frontend) since the latest version of WooCommerce:

    Warning: Invalid argument supplied for foreach() in /home/transf63/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php on line 1237

    Warning: array_map(): Argument #2 should be an array in /home/transf63/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php on line 351

    Warning: array_sum() expects parameter 1 to be array, null given in /home/transf63/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php on line 351

    Warning: Invalid argument supplied for foreach() in /home/transf63/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php on line 615

    I’ve tested the plugins and it’s not a conflict there. When I troubleshoot with twenty-nineteen, the cart page is fine, when I switch back to OceanWP and OceanWPChild, the issue goes away momentarily, but then comes right back.

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

Viewing 1 replies (of 1 total)
  • Amit Singh

    (@apprimit)

    Hello,

    Try to check the below settings and check it fixes the issue or not –
    1. Update PHP version if it is not PHP7
    2. Disable all the plugins except Ocean Extra + Woocommerce
    3. Go to Theme Panel > Scripts & Styles and disable all, save settings, then enable all again. Clear cache to check the site
    4. Switch to parent OceanWP theme and check it fixes the issue or not

    Did you add any code in the child theme? Please check the code again, it seems it is coming from the code you have added.

Viewing 1 replies (of 1 total)
  • The topic ‘WooCommerce – Cart Page Error messages’ is closed to new replies.