• Resolved afatoga

    (@afatoga)


    Warning: Invalid argument supplied for foreach() in?/www/doc/****/wp-content/plugins/gopay-gateway/includes/class-gopay-gateway.php?on line?628

    I spotted this warning after being redirected to cart page after I added some products into my cart. The only payment methods on my site are BACS + gopay.

Viewing 1 replies (of 1 total)
  • Thread Starter afatoga

    (@afatoga)

    line 628 contains: 
    
    foreach ( WC()->session->get( 'chosen_shipping_methods' ) as $key => $value ) { ...

    I managed to get rid of the message by removing cart content. I guess it has something to do with product editation (by admin) after something was placed in a cart.

    • This reply was modified 1 year, 10 months ago by afatoga.
Viewing 1 replies (of 1 total)
  • The topic ‘Warning message bellow cart items on cart page’ is closed to new replies.