When I have the WP-members plugin enabled and none of the fields checked to be visible when registering from the My Account page of my Woocommerce store, I get the following warning message:
Warning: Invalid argument supplied for foreach() in /home3/medquest/public_html/wp/wp-content/plugins/wp-members/native-registration.php on line 131
You can see it on the page here: https://nutrascriptives.com/my-account/
The warning message goes away if I disable the WP-members plugin or make one of the user fields visible like First Name, Last Name, etc.
Any ideas on how I can keep this plugin enabled and have the registration page look as it does, but without showing this warning message?