• Resolved theconsul

    (@theconsul)


    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)
  • Plugin Author Neah Plugins

    (@gplsaver)

    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

    (@theconsul)

    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

    (@theconsul)

    any news on this?

    Thread Starter theconsul

    (@theconsul)

    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

    (@gplsaver)

    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

    (@theconsul)

    maybe yes, weird thing is the class-wc-totals but also class-wc-discounts

    non-numeric values

    Plugin Author Neah Plugins

    (@gplsaver)

    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

    (@theconsul)

    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

    (@gplsaver)

    I found the same thing on my side. Price (even zero) is becoming required it seems like.

    Thread Starter theconsul

    (@theconsul)

    i guess, nevertheless thank you for looking into this

    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

    (@gplsaver)

    what version php are you using?

    Using wp:4.9.2/wc:3.2.6/php:7.0.25

    Plugin Author Neah Plugins

    (@gplsaver)

    Try 7.1 and see if the error goes away. Do you get this error without this plugin?

    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)
  • The topic ‘error after update woocommerce’ is closed to new replies.