Title: Error message in Orders Dashboard
Last modified: August 31, 2016

---

# Error message in Orders Dashboard

 *  Resolved [Tara Claeys](https://wordpress.org/support/users/taraclaeys/)
 * (@taraclaeys)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/error-message-in-orders-dashboard/)
 * Hello,
    Thank you for quickly fixing the major issues with the previous update.
   I am still seeing an error message on the backend in the Orders Admin area… can
   you advise the cause or push another update to fix? Warning: Invalid argument
   supplied for foreach() in /home/castleg5/public_html/wp-content/plugins/woocommerce-
   checkout-manager/includes/classes/main.php on line 2151
 * Warning: Invalid argument supplied for foreach() in /home/castleg5/public_html/
   wp-content/plugins/woocommerce-checkout-manager/includes/classes/main.php on 
   line 2160
 * [https://www.dropbox.com/s/hf86sdcmukh1ui4/Screenshot%202016-02-21%2009.36.43.png?dl=0](https://www.dropbox.com/s/hf86sdcmukh1ui4/Screenshot%202016-02-21%2009.36.43.png?dl=0)
 * Thank you!
 * [https://wordpress.org/plugins/woocommerce-checkout-manager/](https://wordpress.org/plugins/woocommerce-checkout-manager/)

Viewing 14 replies - 1 through 14 (of 14 total)

 *  [Svenpeter](https://wordpress.org/support/users/svenpeter/)
 * (@svenpeter)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/error-message-in-orders-dashboard/#post-7089875)
 * I got the same error message (version 3.6.8). Want to be notified when solved.
   
   Best regards, Peter
 *  [darkroom](https://wordpress.org/support/users/darkroom/)
 * (@darkroom)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/error-message-in-orders-dashboard/#post-7089911)
 * I also get these errors. Please notify when fixed.
 *  Thread Starter [Tara Claeys](https://wordpress.org/support/users/taraclaeys/)
 * (@taraclaeys)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/error-message-in-orders-dashboard/#post-7089942)
 * Customers are getting error message on order checkout:
    Checkout
 * Warning: Invalid argument supplied for foreach() in /home/castleg5/public_html/
   wp-content/plugins/woocommerce-checkout-manager/includes/classes/field_filters.
   php on line 889
 * Warning: Invalid argument supplied for foreach() in /home/castleg5/public_html/
   wp-content/plugins/woocommerce-checkout-manager/includes/classes/field_filters.
   php on line 941
 * Warning: Invalid argument supplied for foreach() in /home/castleg5/public_html/
   wp-content/plugins/woocommerce-checkout-manager/includes/classes/field_filters.
   php on line 889
 * Warning: Invalid argument supplied for foreach() in /home/castleg5/public_html/
   wp-content/plugins/woocommerce-checkout-manager/includes/classes/field_filters.
   php on line 889
 * Warning: Invalid argument supplied for foreach() in /home/castleg5/public_html/
   wp-content/plugins/woocommerce-checkout-manager/includes/classes/field_filters.
   php on line 941
 * Warning: Invalid argument supplied for foreach() in /home/castleg5/public_html/
   wp-content/plugins/woocommerce-checkout-manager/includes/classes/field_filters.
   php on line 941
 *  [alexseif](https://wordpress.org/support/users/alexseif/)
 * (@alexseif)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/error-message-in-orders-dashboard/#post-7090061)
 * If you disable the plugin and enable it again, it might remove this error, but
   you have to go through the settings again
 *  [ottomasi](https://wordpress.org/support/users/ottomasi/)
 * (@ottomasi)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/error-message-in-orders-dashboard/#post-7090078)
 * Alex this don’t resolve my problem 🙁
 *  [Michael Visser](https://wordpress.org/support/users/visser/)
 * (@visser)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/error-message-in-orders-dashboard/#post-7090099)
 * Hi guys, you need to disable PHP warning display, yes there is an issue thats
   generating this warning but it’s not critical so should be logged on production
   sites (e.g. live stores).
 * [https://codex.wordpress.org/Debugging_in_WordPress#Example_wp-config.php_for_Debugging](https://codex.wordpress.org/Debugging_in_WordPress#Example_wp-config.php_for_Debugging)
 *  [Michael Visser](https://wordpress.org/support/users/visser/)
 * (@visser)
 * [10 years ago](https://wordpress.org/support/topic/error-message-in-orders-dashboard/#post-7090144)
 * Hi guys, please update to the 4.0.1 Plugin update, I’ve ironed out as many PHP
   warnings and notices as I could find.
 * Please ping this topic if you find any more PHP warnings and notices so I can
   get them addressed. 🙂
 *  [flee541](https://wordpress.org/support/users/flee541/)
 * (@flee541)
 * [10 years ago](https://wordpress.org/support/topic/error-message-in-orders-dashboard/#post-7090145)
 * Getting heaps of errors from this plugin.
 * I accidentally updated it to 4.0x , super bad move, nothing but headaches since
   then
 * PHP Notice: Undefined index: buttons in /home/user/public_html/websitedir/wp-
   content/plugins/woocommerce-checkout-manager/includes/classes/main.php on line
   2180
    PHP Warning: Invalid argument supplied for foreach() in /home/user/public_html/
   websitedir/wp-content/plugins/woocommerce-checkout-manager/includes/classes/main.
   php on line 2180 PHP Notice: Undefined variable: values in /home/user/public_html/
   websitedir/wp-content/plugins/woocommerce-checkout-manager/includes/classes/main.
   php on line 2230 PHP Warning: Invalid argument supplied for foreach() in /home/
   user/public_html/websitedir/wp-content/plugins/woocommerce-checkout-manager/includes/
   classes/main.php on line 2230
 * Anyway for me to roll back to the previous version until you fix all the errors?
 *  [Michael Visser](https://wordpress.org/support/users/visser/)
 * (@visser)
 * [10 years ago](https://wordpress.org/support/topic/error-message-in-orders-dashboard/#post-7090146)
 * Hi flee541, spotted that issue too. It’s resolved in the 4.0.2 Plugin update 
   that I’ll push in the next 24 hours (heading to Austin, TX for WooConf and will
   be working on the flight).
 *  [Tammy Newman](https://wordpress.org/support/users/tammy-newman/)
 * (@tammy-newman)
 * [10 years ago](https://wordpress.org/support/topic/error-message-in-orders-dashboard/#post-7090147)
 * I installed 4.0.1 and getting error message as below.
    I did setting “clear” 
   last name.
 * Warning: Invalid argument supplied for foreach() in /home/mydomain/public_html/
   mydomain.com/wp-content/plugins/woocommerce-checkout-manager/includes/classes/
   main.php on line 903
 *  [flee541](https://wordpress.org/support/users/flee541/)
 * (@flee541)
 * [10 years ago](https://wordpress.org/support/topic/error-message-in-orders-dashboard/#post-7090148)
 * Thanks mate, having said that, not doubting your skills but if 4.0.2 breaks our
   website, is there any way to roll back?
 * Just cautious with this specific plugin and it has broken our production site
   before and directly affects our Revenue stream.
 *  [Sandy](https://wordpress.org/support/users/sandy786/)
 * (@sandy786)
 * [10 years ago](https://wordpress.org/support/topic/error-message-in-orders-dashboard/#post-7090150)
 * I’m also getting error with plugin
    Warning: Invalid argument supplied for foreach()
   in /home/freshvegcart/public_html/wp-content/plugins/woocommerce-checkout-manager/
   includes/classes/main.php on line 903
 *  [Michael Visser](https://wordpress.org/support/users/visser/)
 * (@visser)
 * [10 years ago](https://wordpress.org/support/topic/error-message-in-orders-dashboard/#post-7090151)
 * Hi Tammy Newman, thanks for the submission. Fixed that one in the 4.0.2 Plugin
   update 🙂
 *  [Michael Visser](https://wordpress.org/support/users/visser/)
 * (@visser)
 * [10 years ago](https://wordpress.org/support/topic/error-message-in-orders-dashboard/#post-7090152)
 * Hi flee541, I’ll write a tutorial and put it on the WooCommerce Checkout Manager
   section of our website on how to manually roll back a Plugin 😉
 * [https://www.visser.com.au/documentation/woocommerce-checkout-manager/usage/](https://www.visser.com.au/documentation/woocommerce-checkout-manager/usage/)
 * For production sites (e.g. stores) I’d recommend setting up a staging site and
   doing updates there, testing the store functionality is working after updating
   and then apply it to the production site. We’re not running WordPress for blogging
   so different rules apply to e-commerce.

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Error message in Orders Dashboard’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-checkout-manager/assets/icon-256x256.jpg?rev
   =2911736)
 * [Checkout Field Manager (Checkout Manager) for WooCommerce](https://wordpress.org/plugins/woocommerce-checkout-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-checkout-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-checkout-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-checkout-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-checkout-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-checkout-manager/reviews/)

 * 14 replies
 * 9 participants
 * Last reply from: [Michael Visser](https://wordpress.org/support/users/visser/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/error-message-in-orders-dashboard/#post-7090152)
 * Status: resolved