Title: error after update woocommerce
Last modified: December 14, 2017

---

# error after update woocommerce

 *  Resolved [theconsul](https://wordpress.org/support/users/theconsul/)
 * (@theconsul)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-after-update-woocommerce/)
 * Hey,
 * I just updated woocomerce to version 3.2.6 which should be the latest
 * After this update your plugin generates errors like:
 * Warning: A non-numeric value encountered in /*****/etserv.be/httpd.www/wp-content/
   plugins/woocommerce/includes/class-wc-cart-totals.php on line 234 Warning: A 
   non-numeric value encountered in /*****/etserv.be/httpd.www/wp-content/plugins/
   woocommerce/includes/class-wc-discounts.php on line 88 Warning: Cannot modify
   header information – headers already sent by (output started at /*****/etserv.
   be/httpd.www/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:
   234) in /*****/etserv.be/httpd.www/wp-includes/pluggable.php on line 1216
 * Can you shine any light on this?
 * Thanks
 * Roger

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/error-after-update-woocommerce/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-after-update-woocommerce/page/2/?output_format=md)

 *  Plugin Author [Neah Plugins](https://wordpress.org/support/users/gplsaver/)
 * (@gplsaver)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-after-update-woocommerce/#post-9782324)
 * I am having trouble duplicating. What version of PHP are you using? Do you get
   the errors if you deactivate this plugin?
 *  Thread Starter [theconsul](https://wordpress.org/support/users/theconsul/)
 * (@theconsul)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-after-update-woocommerce/#post-9782510)
 * if i deactivate the errors are gone
 * wp : 4.9.1
    wc: 3.2.6 php: 7.1.10 theme shopkeeper by getbowtied
 *  Thread Starter [theconsul](https://wordpress.org/support/users/theconsul/)
 * (@theconsul)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-after-update-woocommerce/#post-9784832)
 * any news on this?
 *  Thread Starter [theconsul](https://wordpress.org/support/users/theconsul/)
 * (@theconsul)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-after-update-woocommerce/#post-9785334)
 * i saw and update of the plugin and i executed it
 * there is still an error
 * `Warning: A non-numeric value encountered in /***/etserv.be/httpd.www/wp-content/
   plugins/woocommerce/includes/class-wc-cart-totals.php on line 234 Warning: A 
   non-numeric value encountered in /***/etserv.be/httpd.www/wp-content/plugins/
   woocommerce/includes/class-wc-discounts.php on line 88`
 *  Plugin Author [Neah Plugins](https://wordpress.org/support/users/gplsaver/)
 * (@gplsaver)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-after-update-woocommerce/#post-9785875)
 * I have been trying to reproduce it at my end and I have not been able to. There
   must be a unique combination of theme/plugins that is producing the warning. 
   I will let you know if I find something.
 *  Thread Starter [theconsul](https://wordpress.org/support/users/theconsul/)
 * (@theconsul)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-after-update-woocommerce/#post-9785901)
 * maybe yes, weird thing is the class-wc-totals but also class-wc-discounts
 * non-numeric values
 *  Plugin Author [Neah Plugins](https://wordpress.org/support/users/gplsaver/)
 * (@gplsaver)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-after-update-woocommerce/#post-9786053)
 * By some weird random combination i have now reproduced it. I will let you know
   as soon as fixed. Maybe for now suppress warnings on production site?
 *  Thread Starter [theconsul](https://wordpress.org/support/users/theconsul/)
 * (@theconsul)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-after-update-woocommerce/#post-9786054)
 * ok, i found what is going on, it was logic that maybe, just maybe it has something
   todo with us.
 * Meaning, we did not input a value for each product, meaning our whole catalogue
   does not have prices because we wanted to work witth rfq only
 * If i attach a price to a product, the error is gone
 * So, it is our side but, before the woocommerce update this was not a problem
 *  Plugin Author [Neah Plugins](https://wordpress.org/support/users/gplsaver/)
 * (@gplsaver)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-after-update-woocommerce/#post-9786107)
 * I found the same thing on my side. Price (even zero) is becoming required it 
   seems like.
 *  Thread Starter [theconsul](https://wordpress.org/support/users/theconsul/)
 * (@theconsul)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-after-update-woocommerce/#post-9786131)
 * i guess, nevertheless thank you for looking into this
 *  [bkmason](https://wordpress.org/support/users/bkmason/)
 * (@bkmason)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/error-after-update-woocommerce/#post-9892517)
 * Hi, I’m getting the same message: Unsupported operand types in /home4/###/public_html/
   wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:234 etc. The
   difference is I have prices attached to my products. When I select “visit site”
   in my dashboard the only thing visible are those error messages frozen on the
   screen. My problem occurred when I modified code in my child themes function.
   php file. Since I modified, deleted the code, completely removed the file, reinstalled
   woo-commerce and WordPress but I’m still frozen out of my site. If I remove the
   woocommerce.php file or deactivate the woocommerce plugin my menu bar shows up.
   Any help would be appreciated. Using wp:4.9.2/wc:3.2.6/php:7.0.25
 *  Plugin Author [Neah Plugins](https://wordpress.org/support/users/gplsaver/)
 * (@gplsaver)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/error-after-update-woocommerce/#post-9893414)
 * what version php are you using?
 *  [bkmason](https://wordpress.org/support/users/bkmason/)
 * (@bkmason)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/error-after-update-woocommerce/#post-9895642)
 * Using wp:4.9.2/wc:3.2.6/php:7.0.25
 *  Plugin Author [Neah Plugins](https://wordpress.org/support/users/gplsaver/)
 * (@gplsaver)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/error-after-update-woocommerce/#post-9895964)
 * Try 7.1 and see if the error goes away. Do you get this error without this plugin?
 *  [bkmason](https://wordpress.org/support/users/bkmason/)
 * (@bkmason)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/error-after-update-woocommerce/#post-9899810)
 * As I stated above My problem occurred when I modified code in my child themes
   function.php file. Since, I’ve modified and/or deleted the code, completely removed
   the function.php file, reinstalled woo-commerce and WordPress and deactivated
   all my plugins but I’m still frozen out of my site. When I deactivate the woocommerce
   plugin and/or remove the woocommerce.php file from the woo-commerce plugin, the
   only thing that shows up is my sites menu bar with “Notice: Trying to get property
   of non-object in /home4/nsdinc/public_html/wp-includes/nav-menu.php on line 780.”&
   Notice: Use of undefined constant WOOCOMMERCE_VERSION…

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/error-after-update-woocommerce/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-after-update-woocommerce/page/2/?output_format=md)

The topic ‘error after update woocommerce’ is closed to new replies.

 * ![](https://ps.w.org/woo-rfq-for-woocommerce/assets/icon-128x128.png?rev=2024323)
 * [NP Quote Request for WooCommerce](https://wordpress.org/plugins/woo-rfq-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/woo-rfq-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-rfq-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-rfq-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-rfq-for-woocommerce/reviews/)

 * 19 replies
 * 3 participants
 * Last reply from: [bkmason](https://wordpress.org/support/users/bkmason/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/error-after-update-woocommerce/page/2/#post-9907933)
 * Status: resolved