• Resolved synapsetest

    (@synapsetest)


    Hi,
    I am getting below error during Square account setup from woo commerce site admin:
    ————————–
    Fatal error: Uncaught Error: Class ‘SquareConnect\ObjectSerializer’ not found in /var/www/html/demo/Nextinput_11274/wp-content/plugins/woocommerce-square/vendor/square/connect/lib/ApiClient.php:53 Stack trace: #0 /var/www/html/demo/Nextinput_11274/wp-content/plugins/woocommerce-square/includes/API.php(69): SquareConnect\ApiClient->__construct(Object(SquareConnect\Configuration)) #1 /var/www/html/demo/Nextinput_11274/wp-content/plugins/woocommerce-square/includes/Plugin.php(615): WooCommerce\Square\API->__construct(‘EAAAEFk85s-BXCN…’, false) #2 /var/www/html/demo/Nextinput_11274/wp-content/plugins/woocommerce-square/includes/Settings.php(612): WooCommerce\Square\Plugin->get_api(‘EAAAEFk85s-BXCN…’, false) #3 /var/www/html/demo/Nextinput_11274/wp-content/plugins/woocommerce-square/includes/Settings.php(263): WooCommerce\Square\Settings->get_locations() #4 /var/www/html/demo/Nextinput_11274/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-settings-api.php(266): WooCommerce\Square\Settings->get_form_fields() # in /var/www/html/demo/Nextinput_11274/wp-content/plugins/woocommerce-square/vendor/square/connect/lib/ApiClient.php on line 53
    ———————-

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there @synapsetest,

    I’m sorry to hear that you’re having issues with setting up Square!

    I don’t see the same error on my test site with the latest Square version, so could you please check if the issue persists after a conflict test?
     

    • 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.

    Let us know how that goes!

    Hi!

    We haven’t heard back from you in a while. I am going to mark this issue as resolved for now. Please let us know if there is anything else we can assist with.

    Thanks!

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

The topic ‘Fatal error: Uncaught Error: Class ‘SquareConnect\ObjectSerializer’ not found’ is closed to new replies.