• Resolved toddbenton

    (@toddbenton)


    Here’s the full error message I receive in the “add new product” page just below where you add the price:

    Catchable fatal error: Argument 1 passed to WooCommerce\Square\Handlers\Products::format_product_error() must be an instance of WooCommerce\Square\Handlers\string, string given, called in /home/bgcnc/public_html/wp-content/plugins/woocommerce-square/includes/Handlers/Products.php on line 686 and defined in /home/bgcnc/public_html/wp-content/plugins/woocommerce-square/includes/Handlers/Products.php on line 700

    Here’s a link to a screenshot of the error message:

    WooCommerce-Square Error Message

    After about month of researching various payment options for my client, I decided to go with Square with WooCommerce Square for website payments (client has a subscription service for bus passes) because they have a much easier process for in person card payments (don’t have to use third party swipe device) vs. Stripe. This was before the latest release of WooCommerce Square. I am on a tight timeline for getting the payment system switched over from Authorize.net. I hope this is an easy fix but given all of the issues I have seen with the latest release and the number of stars the pugin now has, I am concerned.

    Before I invest the time and effort (which I have already spent a lot to do the research) to get Square up and running, I want to make sure I am not setting myself up for future headaches. I might be better of to switch to Stripe now.

    I’ve not seen this error here on the wordpress forums or in google.

    Any advice is greatly appreciated.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @toddbenton – Thanks for including a screenshot of that error in your post.

    This definitely isn’t something we’d expect to see, and isn’t an issue that’s known on our end. The next best step will be to test to see if this is caused by a conflict with your theme or with another plugin.
    ?
    The best way to determine this is to:
    ?

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Please let us know what you discover!

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Catchable fatal error: Argument 1 passed to WooCommerce\’ is closed to new replies.