bigcommerce / bigcommerce-for-wordpress

A headless commerce integration for WordPress, powered by BigCommerce
https://www.bigcommerce.com/wordpress/
GNU General Public License v2.0
109 stars 49 forks source link

Sync still broken in 5.0.1 #416

Closed BenButterfield closed 1 year ago

BenButterfield commented 1 year ago

Expected behavior

Products are synced successfully.

Actual behavior

Sync hangs on updating brands, and it looks like import is stuck in a loop:

[2023-02-16 19:56:16] BigCommerce.INFO: Customer groups are empty [] [] [2023-02-16 19:56:29] BigCommerce.INFO: Exit from 2nd thread because status is not allowed {"status":"updating_brands"} [] [2023-02-16 20:00:30] BigCommerce.INFO: Releasing expired import lock {"status":{"timestamp":1676577328.0004,"status":"updating_brands"}} [] [2023-02-16 20:00:31] BigCommerce.INFO: Running import task {"state":"updating_brands","description":"Updating Brands"} [] [2023-02-16 20:00:31] BigCommerce.DEBUG: Importing terms for bigcommerce_brand taxonomy {"limit":25,"taxonomy":"bigcommerce_brand"} [] [2023-02-16 20:01:32] BigCommerce.INFO: Exit from 2nd thread because status is not allowed {"status":"updating_brands"} [] [2023-02-16 20:05:33] BigCommerce.INFO: Releasing expired import lock {"status":{"timestamp":1676577631.1541,"status":"updating_brands"}} [] [2023-02-16 20:05:33] BigCommerce.INFO: Running import task {"state":"updating_brands","description":"Updating Brands"} [] [2023-02-16 20:05:33] BigCommerce.DEBUG: Importing terms for bigcommerce_brand taxonomy {"limit":25,"taxonomy":"bigcommerce_brand"} [] [2023-02-16 20:06:33] BigCommerce.INFO: Exit from 2nd thread because status is not allowed {"status":"updating_brands"} []

Steps to reproduce behavior

  1. Upgrade to 5.0.1
  2. Sync all products

Screenshot/Video (if applicable)

image

image

Workaround or possible solution

Downgrade to 4.37.0.

MlKilderkin commented 1 year ago

Hello @BenButterfield

Could you please provide any additional details about the issue? I tried to replicate the issue on 5.0.1 with brands import and no luck. From what I see there is may be a some problem with WP-Cron during the import. Perhaps, you can contact with Bigcommerce support and provide additional details:

  1. Server error logs during import on 5.0.1
  2. Full plugin import log
  3. Any additional information You could also provide a temporary login(with admin rights) for debug on staging(if you have one).

Thank you

MlKilderkin commented 1 year ago

I close the issue, since there is no response here. If you think it is not resolved please re-open it and provide as much details as possible