-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MailChimp for WooCommerce - Won't Sync #144
Comments
same here |
@michaelrimbach did the sync eventually start/finish? If not, can you confirm you have the latest version of the plugin and provide a Woo system status report? |
Same here. It's as if the sync never starts. It remains at 0/xxx for both Products and Orders |
@johnschneider89 did the sync eventually start/finish? sometimes it takes a few page loads on the site itself to trigger. If not, can you confirm you have the latest version of the plugin and provide a Woo system status report? |
Hi, @michaelrimbach @johnschneider89 we've been working on an updated version of the plugin that changes the processing behavior of the queue on initial install. We like what we see with our internal testing but would like to have a few folks try things out before moving to our production build. Would either of you all be interested in giving it a go? This plugin is a beta version, so please take necessary precautions when testing. |
@khungate no, thanks. We are using the plugin from mc4wp.com and it's working fine. |
We are having the same issue. It never syncs. Would be open to testing the beta version if available |
Sorry to hear that @kokomomtl, you're welcome to try the queue branch we've been working on. If that doesn't solve the issue, there is a more technical option using WP-CLI that we can also try. |
Thank-you @khungate, the queue version solved this issue. |
Actually it seems to have stopped after 3 orders, with the following error in the debug: 2018-01-27T03:50:34+00:00 ERROR order_submit.error :: addStoreOrder :: SG-7633 :: : Required fields were not provided: lines on 1310 in /home/111331.cloudwaysapps.com/wpjvtqzayh/public_html/wp-content/plugins/mc-woocommerce-queue/includes/api/class-mailchimp-api.php |
@kokomomtl did the sync stop altogether or is it still processing? That error just means that the order did not have any line items on it to submit. |
You are right. It was slow but it ended up completing |
Ok great! Yes, it's not always a super fast process because of how the native WP queue system works. Also, if you have a store with a good amount of products or orders (or both), that can add time to the sync process. Just out of curiosity how many products/orders did you have? You'll want to switch to our master plugin version in a future release. I'll be glad to ping you back when it's ready. |
5 products / 10 orders. Took about an hour. |
@kokomomtl appreciate you providing that information and it's definitely not the speed we're looking for - it should've only taken a few seconds with that many products/orders. If you're able, please post a system report from your Woo install (Status > Get System Report). I'd like to see if there's anything jumping out that could've caused the slowdown. |
Here it is: ` WordPress EnvironmentHome URL: https://staging.noasleep.com Server EnvironmentServer Info: Apache/2.4.10 (Debian) SUHOSIN Installed: – DatabaseWC Database Version: 3.2.6 Post Type Countsacf: 1 SecuritySecure connection (HTTPS): ✔ Active Plugins (52)Redux Framework: by Team Redux – 3.6.7.7 OneSaas Connect: by OneSaas – 2.0.6.44 – Not tested with the active version of WooCommerce SettingsAPI Enabled: ✔ Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) WC PagesShop base: ❌ Page not set ThemeName: Noa TemplatesOverrides: xstore/woocommerce/archive-product.php Outdated Templates: ❌Learn how to update |
@kokomomtl @johnschneider89 the 2.1.4 release is out and it was focused on improving the queue job process. Do want to give things a try again? |
@khungate No improvements. We tried the plugin on our production site which has 700 orders. Our dedicated server crashes after about 30 minutes every time. |
@kokomomtl thanks for the feedback and I'm sorry you're still having issues. Since our last exchange, we've identified a few areas where the sync could get stuck in certain server environments and make excessive calls to the admin-ajax file. In our next release, we believe some small tweaks we've added will fix those isolated situations. I don't have a date for the release of 2.1.5 yet, but it should be sometime in the near future. In the interim, if you'd like to try out the staging plugin that is being tested, feel free to grab it here. As always, if you're not testing in a development area, please take the necessary steps to backup your site before installing. Otherwise, I'll be sure to let you know when 2.1.5 is official. |
Thank-you @khungate. My orders are almost ready to be finished syncing, so I might just wait for 2.1.5. In your experience, will the performance issues go away when it's done syncing? |
@kokomomtl It's difficult to say without knowing if your server configuration was one of the situations impacted. If you still have performance issues after the sync is complete, I'd recommend deactivating and trying the new version when it's live (since it contains those modifications for performance). Thanks again for your feedback and working through things with us. |
Same problem - no data synced. List, orders, products - nothing. Tried to re-install or re-sync, turned off Cloudflare IP proxy - no success.
Please find WooCommerce report attached. |
@Demuri thanks for reaching out. Can you turn on your standard logging and try to resync? You may add this query parameter to your URL |
@khungate Thanks for rapid reply. Tried it right now, all I see in logger is |
@Demuri looking at your plugin list - it shows that you have the MailChimp for Wordpress by Ibericode installed as well - I don't know if there is a conflict there causing this to be stuck. Also - just out of curiosity are you on a hosted wordpress install, or is this a private server? |
@ryanhungate tried to deactivate MailChimp for WP and resync - no changes. BTW that plugin works fine. |
@ryanhungate Both plugins use different API keys |
@Demuri do you by chance have a constant Do you see anything at all in your error logs for WooCommerce that show anything meaningful? |
@ryanhungate found nothing related in logs, HTTP Worker not disabled. But now I believe in miracles - it started to sync, currently syncing products! The only idea is about DNS propagation lag and Cloudflare IP proxy - disabled it about 3 hours ago |
@Demuri ha - good news. One other thing to note is that if you don't have a normal traffic coming to the site, the queue is not going to work properly. If you can, maybe add a site ping check that runs every minute, every 5 minutes etc. to make sure that the cron jobs will actually fire off. As you probably know the cron schedule for WP requires a site view. I suggest the every minute uptime checker if you can. I am a little curious about the Cloudflare IP proxy. I'll see if I can find anything that stands out. |
@ryanhungate thanks for helping me. Sinced pretty much okay, just a few errors related to product variations, I'm ok with it :) |
@Demuri awesome - glad we could help. 👍 |
I have the same problem. _
_ |
Example System Report:
original-system-report.txt
The text was updated successfully, but these errors were encountered: