Invalid argument supplied for foreach()
-
Hi!
I am getting an error with the “Customer completed switch order” e-mail template under “New Subscription Details” section:
Warning: Invalid argument supplied for foreach() in /data01/virt81201/domeenid/www.disainiguru.ee/htdocs/wp-content/plugins/kadence-woocommerce-email-designer/templates/woo/emails/customer-completed-switch-order.php on line 35
The part in question:
<?php foreach ( $subscriptions as $subscription ) : ?>
<?php do_action( ‘woocommerce_subscriptions_email_order_details’, $subscription, $sent_to_admin, $plain_text, $email ); ?>
<?php endforeach; ?>Hopefully you can help me out, thanks!
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Invalid argument supplied for foreach()’ is closed to new replies.