Title: [VERSION_MISMATCH] when syncing
Last modified: August 31, 2021

---

# [VERSION_MISMATCH] when syncing

 *  Resolved [beyondsm](https://wordpress.org/support/users/beyondsm/)
 * (@beyondsm)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/version_mismatch-when-syncing/)
 * I am trying to sync my products from WooCommerce to Square but am receiving the
   following error:
    Failed step cycle: upsert_categories (6.94s) – [VERSION_MISMATCH]
   Object version does not match latest database version. I have WooCommerce-Square/
   2.5.3 and (WooCommerce/5.6.0; WordPress/5.8) All plugins are up to date.
 * I have seen one other post regarding this error relating to versions of plugin
   but no overall solution. IF its a case of installing an older version of the 
   plugin can you let me know which version?

Viewing 1 replies (of 1 total)

 *  [Joash (a11n)](https://wordpress.org/support/users/joashrajin/)
 * (@joashrajin)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/version_mismatch-when-syncing/#post-14822844)
 * Hi [@beyondsm](https://wordpress.org/support/users/beyondsm/)
 * In order to try to rectify this, could you please disconnect the Square plugin
   from your store temporarily.
 * Once that is done, please use the [Regenerate product lookup table for WooCommerce](https://wordpress.org/plugins/regenerate-product-lookup-table-for-woocommerce/)
   plugin to regenerate your product lookup tables (or manually setup your own corn
   job if you are able to).
 * Once the cron job has run using this plugin, you can enable the Square plugin
   again and reconnect Square to your site.
 * You can then run a test of editing a product’s inventory in your WooCommerce 
   dashboard, and there should be sync that will run within a minute of the change
   to update in Square.
 * You will need to [hard refresh](https://www.howtogeek.com/672607/how-to-hard-refresh-your-web-browser-to-bypass-your-cache/)
   your browser when checking if the sync is working in Square (to ensure that you
   aren’t seeing a cached version of the page).
 * I hope that this helps. Please let us know how it goes 👍
    -  This reply was modified 4 years, 9 months ago by [Joash (a11n)](https://wordpress.org/support/users/joashrajin/).

Viewing 1 replies (of 1 total)

The topic ‘[VERSION_MISMATCH] when syncing’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-square/assets/icon-256x256.png?rev=3234354)
 * [WooCommerce Square](https://wordpress.org/plugins/woocommerce-square/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-square/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-square/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-square/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-square/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-square/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Joash (a11n)](https://wordpress.org/support/users/joashrajin/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/version_mismatch-when-syncing/#post-14822844)
 * Status: resolved