Support » Plugin: WooCommerce Square » PHP Fatal Error

  • Resolved Susan Langenes

    (@susanlangenes)


    [18-Nov-2019 23:18:12 UTC] PHP Fatal error:  Uncaught Error: Call to a member function is_debug_enabled() on null in .../wp-content/plugins/woocommerce-square/includes/Handlers/Connection.php:244
    Stack trace:
    #0 .../wp-content/plugins/woocommerce-square/includes/API.php(812): WooCommerce\Square\Handlers\Connection->refresh_connection()
    #1 .../wp-content/plugins/woocommerce-square/includes/API.php(776): WooCommerce\Square\API->do_post_parse_response_validation()
    #2 .../wp-content/plugins/woocommerce-square/includes/API.php(743): WooCommerce\Square\API->handle_response(NULL)
    #3 .../wp-content/plugins/woocommerce-square/includes/API.php(607): WooCommerce\Square\API->perform_request(Object(WooCommerce\Square\API\Requests\Locations))
    #4 .../wp-content/plugins/woocommerce-square/includes/Settings.php(612): WooCommerce\Square\API->get_locations()
    #5 .../wp-content/plugins/woocommerce-square/incl in .../wp-content/plugins/woocommerce-square/includes/Handlers/Connection.php on line 244

    The above from debug log. Activating the plugin causes fatal error and site breaks. I have a clone of the site where it appears to work fine, so it’s not a plugin or theme conflict.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter Susan Langenes

    (@susanlangenes)

    Ok I’ve emailed it! The subject line is:

    Susan Langenes Woocommerce error class-wc-eval-math.php

    There’s also a nifty thing happening, where if you add a product to cart, then click on the cart page, then change the value(s) in the quantity selector, and click “Update Cart” it makes the cart disappear!

    I’m getting to the point where I feel like it might be advantageous to just wipe the slate clean and reinstall…

    Plugin Support Grigorij S. a11n

    (@grigaswp)

    Hi @susanlangenes

    There’s also a nifty thing happening, where if you add a product to cart, then click on the cart page, then change the value(s) in the quantity selector, and click “Update Cart” it makes the cart disappear!

    We apologise for the delay and I’ve just checked the product you’ve linked in an email.

    Indeed this error appears after adding a product to cart:

    Error found in: /home3/peakextr/public_html/wp-content/plugins/woocommerce/includes/libraries/class-wc-eval-math.php, nfx, 123

    I understand that Square for WooCommerce was downgraded from version 2.0.x to 1.0.38, right?

    Downgrading like this is not recommended since there are changes in data structure when upgrading to 2.0.x and these changes are not reversed.

    It might make sense to restart with the site, although it looks like more troubleshooting needs to be done so please feel free to reach out to us either from your WooCommerce.com account or at support@woocommerce.com.

    Please link to this thread.

    Thank you!

    Plugin Support Grigorij S. a11n

    (@grigaswp)

    Hi there,

    We haven’t heard from you in a while so I’ll be marking this thread as resolved.

    Feel free to open a new thread or create a support request on WooCommerce.com linking to this thread if you have further questions though.

    Have a wonderful day ahead!

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘PHP Fatal Error’ is closed to new replies.