• Resolved NF Graphic Design

    (@nf-graphic-design)


    My last successful auto sync was Aug 20, I also received a notification email it failed. When I took a look, it was looking like it was syncing in the update tab, but was just stuck. I tried to disconnect and reconnect. It shows a future auto sync time, but it never syncs at the time and the same past time shows as the next scheduled sync. If I try sync now button, it just hangs. This is the error log from August 20.

    2020-08-20T23:33:36+00:00 CRITICAL Uncaught Error: Call to a member function getCursor() on string in /home/rockypoi/public_html/wp2020/wp-content/plugins/woocommerce-square/includes/Sync/Interval_Polling.php:194
    Stack trace:
    #0 /home/rockypoi/public_html/wp2020/wp-content/plugins/woocommerce-square/includes/Sync/Stepped_Job.php(114): WooCommerce\Square\Sync\Interval_Polling->update_product_data()
    #1 /home/rockypoi/public_html/wp2020/wp-content/plugins/woocommerce-square/includes/Sync/Stepped_Job.php(55): WooCommerce\Square\Sync\Stepped_Job->do_next_step()
    #2 /home/rockypoi/public_html/wp2020/wp-content/plugins/woocommerce-square/includes/Handlers/Background_Job.php(172): WooCommerce\Square\Sync\Stepped_Job->run()
    #3 /home/rockypoi/public_html/wp2020/wp-content/plugins/woocommerce-square/includes/Handlers/Background_Job.php(123): WooCommerce\Square\Handlers\Background_Job->process_job(Object(WooCommerce\Square\Sync\Interval_Polling))
    #4 /home/rockypoi/public_html/wp2020/wp-content/plugins/woocommerce-square/vendor/skyverge/wc-plugin-framework/ in /home/rockypoi/public_html/wp2020/wp-content/plugins/woocommerce-square/includes/Sync/Interval_Polling.php on line 194

Viewing 7 replies - 1 through 7 (of 7 total)
  • I’m having sync problems as well. Where did you get your error messages from?

    Rodney

    Plugin Contributor mattdallan

    (@mattdallan)

    Hi @nf-graphic-design,

    Thanks for reporting this issue to us.

    > Uncaught Error: Call to a member function getCursor() on string

    This error has been fixed in 2.2.0 which was released on 31 August. Could you please try upgrading on a staging/test site and see if you still notice this issue?

    Thanks

    Thread Starter NF Graphic Design

    (@nf-graphic-design)

    Hi Matt, thanks for the reply! I updated to 2.2.0 and my sync is still not working. The last successfully Sync was Sep 1. I can post more logs if needed? Please let me know.

    Thread Starter NF Graphic Design

    (@nf-graphic-design)

    Rodney, if you are in square settings at the bottom Log debug messages to the WooCommerce status log, you can click the link to take you to the logs. Hope that helps.

    Thread Starter NF Graphic Design

    (@nf-graphic-design)

    Is it normal for 3 square scheduled actions to be sitting in pending?

    Plugin Contributor mattdallan

    (@mattdallan)

    Thanks @nf-graphic-design, we’ve had some reports of syncing getting stuck but it only seems to be affecting some customers and we’re unable to reproduce it in our own stores.

    To help us diagnose what is causing this, lets gather some more information:
    – After upgrading to 2.2.0, are you still seeing any PHP fatal errors in your logs when syncing?
    – Have you tried disconnecting/reconnecting recently? I can see you did this in your original message but it might be worth redoing after it has gotten stuck again (disconnecting from Square clears out any sync session data)
    – Roughly how many products are being synced in your store?
    – Is it manual sync or automatic syncing, that keeps getting stuck? or both?

    > Is it normal for 3 square scheduled actions to be sitting in pending?

    Thanks for double checking the Action Scheduler. Yes there are 3 scheduled actions we use in Square:
    wc_square_refresh_connection
    wc_square_index_customers
    wc_square_sync

    Next to the Sync scheduled action, can you confirm that the next scheduled date is in the future (screenshot)?

    Thanks for your patience while we look into this issue.

    Plugin Support Elvira K. a11n

    (@treibalen)

    Hi there @nf-graphic-design,

    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.

    Have a great weekend ahead!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Sync stopped working Aug 20.’ is closed to new replies.