Php Code error fix

Hello everyone, i am having this error on my checkout page. It is saying that,
Warning : Invalid argument supplied for foreach() in /home/vol8_1/epizy.com/epiz_30077650/waqaram.com/htdocs/wp-content/plugins/woocommerce/templates/checkout/form-shipping.php on line 62
This is the code

<?php foreach ( $checkout->get_checkout_fields( 'order' ) as $key => $field ) : ?>

Can somebody please fix it? Thanks

Hello

Please make sure you are using the correct category. When you selected “informal”, did you see that “THIS CATEGORY IS NOT FOR SUPPORT REQUESTS” text?

I changed it for you this time.

As for the error, please check to make sure WooCommerce is up to date, or try re-installing the plugin (Just the files, don’t touch the database)

6 Likes

Sorry for entering the wrong category and thank you so much once again for the solution. You are awesome

2 Likes

This topic was automatically closed after 7 days. New replies are no longer allowed.