-
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 Stuck on Syncing List #214
Comments
@brunompbarbosa before we try to speculate too much on the syncing, would you care to perform a fresh install? Completely deactivate/delete the plugin and try again with 2.1.5. Also, it's possible with the latest release you won't need to use the CLI version since much of the release was focused on improving the queue and syncing process. If you do use CLI, please refer to these instructions to ensure your setup is still current in #158. I have a feeling if we can get a good install, you should be able to create new automations as mentioned in #213. Please let us know how it goes. |
@khungate Thanks for your quick reply. I have tried removing the store connection and completely uninstalling the plugin. I then installed it again and it started syncing the store as normal. Also, there are no orders being synced as well. One thing i noticed, when adding the "&resync=1" parameter to the sync page url and clicking the button, this only runs normally if the logs are disabled - if either the debug or standard options are selected, the resync process fails returning a 500 error page. I have no idea what is going on here, and no solid direction to move to in trying to figure this out. Do you have any other possible ideas on what could be going unexpectedly in all this? Thanks, Bruno |
@brunompbarbosa what you are seeing is certainly not expected - but I know we can figure out what the issue is. I see that you had the WP CLI version at one point - are you still using that? Did you also add the |
@ryanhungate yes, i had added the constant the first time around, but i removed it this time. Still experiencing same behaviour, it seems to be syncing more products now, but at a very slow rate. |
@brunompbarbosa wanted following up, did everything finally go through? |
Hey @brunompbarbosa sorry to hear that - sounds strange. Do you see anything popping up in your server error logs? Anything 'fatal' going on that we just can't see? If you've tried to re-sync the store, there may be something happening before the plugin does a |
here's my woocommerce status: `### WordPress Environment ### WC Version: 2.6.14 Server EnvironmentServer Info: Apache SUHOSIN Installed: – DatabaseWC Database Version: 2.6.14 Active Plugins (31)iThemes Security: by iThemes – 6.6.1 WooCommerce Checkout Field Editor Pro: by ThemeHiGH – 2.7.7 SettingsForce SSL: ✔ APIAPI Enabled: ✔ WC PagesShop Base: #8 - /shop/ TaxonomiesProduct Types: external (external) ThemeName: A Calçada Child TemplatesOverrides: acalcada/woocommerce/cart/cart-shipping.php and here is the current system log (this is the only information it has at the moment:)
` |
Hey @brunompbarbosa I noticed something in your active plugin list that might be causing confusion but in all honesty it's just a guess at this point - I see that you have:
I wonder if there is a conflict somewhere that we're not seeing. Is there a reason you have both installed at the same time? Also - i'm not seeing the |
@ryanhungate Thanks for your help - i really appreciate yours and @khungate 's help with this issue. The MailChimp for WordPress: by ibericode – 4.1.15 plugin came with the site, it was a preexisting project that i am now maintaining. As far as i can tell it is being used only to generate a subscription form and not much else. I can try disabling it to see if there is any effect. About the queue database table, i am using MySQL, and it does in fact have one - (wp_queue) currently with 743 records, 12 of them related to orders. 3 of those have "MailChimp_WooCommerce_Process_Orders" in the job column, the other 9 have "MailChimp_WooCommerce_Single_Order". All records on that table were created between March 19 and 20, if that information helps. |
Hey @brunompbarbosa yes it does help. If you don't mind - try turning off that plugin first - but also I needed to ask if you happen to have set a site constant of Strange that the queue is not processing jobs - makes me wonder if the CLI mode has been enabled. That would require you to have a background process of |
@ryanhungate about the DISABLE_WP_HTTP_WORKER function, i had it enabled initially when i did my first sync using wp_cli, but i have have removed it since i opened this issue and tried the sync again. it is still disabled as far as i can tell - but i'll have a look to see if it might still be enabled elsewhere. I'll also try to disable the other plugin and reply with some feedback regarding on wether it had some impact or not on the sync. |
@brunompbarbosa thanks for the follow up - let us know what comes of your changes. When you say that you had tried the WP CLI |
hello @ryanhungate i have some developments.
Is this information useful? It is at least something different from what i've been getting the past few days. |
@brunompbarbosa thank you - yes that does help tremendously. Looks like the function Only do this if you're comfortable editing a file - but you should be ok since the file will only be run while you're executing the queue job itself... Replace this line with this below:
Then let me know if that fixes that problem for you 👍 |
I'm having the same issue with my installation for over a month now and still unable to find the problem. My site is hosted on WP, I've deactivated, reinstalled, reactivated countless times but nothing seems to work to fix the problem. I currently only have 21 orders, and 28 products, which is a very small store by comparison, I've reverted to default theme, deactivated all other plugins... literally everything the MC, WC and WP teams have suggested and still NOTHING to fix the issue. I am not an experienced developer, and am running my own site. status: WordPress EnvironmentWC Version: 3.3.4 Server EnvironmentServer Info: nginx SUHOSIN Installed: – DatabaseWC Database Version: 3.3.4 Post Type Countsattachment: 68 SecuritySecure connection (HTTPS): ✔ Active Plugins (19)Akismet Anti-Spam: by Automattic – 4.0.3 SettingsAPI Enabled: ✔ Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) WC PagesShop base: #376 - /shop/ ThemeName: Storefront TemplatesOverrides: – I see that there are existing logs on my WooCommerce status panel, but they are dated 19 Feb 2018, with no option / button visible for me to get an updated log (unless I'm looking in the wrong place for it?) I'm not an experienced developer, so I am reluctant to tweak anything in the plugin editor in case I break something. Support from all the big guys concerned (WordPress, MailChimp and WooCommerce) has so far not been helpful since they keep telling me to do the same thing, which keeps not working. I even paid a developer recommended by WooCommerce an exhorbitant amount of money to look into it with no result to the problem. It's been 6 weeks now that I can't use my website properly and I'm really at my wit's end with frustration over this issue and would really appreciate a fix that works. |
@ryanhungate Thanks, i've tried what you've recommended but it still remains the same. However i now have different errors on my log:
and i also noticed that there is a persistent item in the wp_queue table that simply won't go away - That is also the only item in the table that has any value in the "locked at" column. Thanks, |
@brunompbarbosa The last error you had shown tells us that we need to look into this particular version of woo and adjust the way it's handling the order transformations into MailChimp. We will get back to you here shortly but it looks as if this is incompatible with your version at the current point. We don't think this will be a hard fix to implement but will let you know when we've been able to test this ourselves. This is not production ready but this file in particular is what we're going to test out to see if it solves the < 3.0 install issues. @nailladynam I think you might be experiencing something different - are you using the hosted WP on wordpress.com? If so, you need to be on a business plan - and also one other thing that came up recently was that you'll have to tell them to make sure your site does not have the plugin disabled with a constant of |
thanks @ryanhungate - I'll have them look into it - I am on the WP hosted Business plan. Will let you know what they have to say, much appreciated! |
@ryanhungate thanks, i'll backup the database and give it a shot to see if it makes any difference. I'm also going to try and see if i can find the time to test upgrading the WooCommerce without breaking the site, and i'll come back to you with more information on that. |
Hi @brunompbarbosa @nailladynam we wanted to follow up and see if your issues have been resolved. Please let us know if we can be of any more assistance. |
Closing out this issue due to inactivity, please open up a new ticket if the issue happens again. |
Hi,
It's like this for the past few days... |
Hello,
I've been struggling with an issue trying to implement the e-commerce automation for Mailchimp on a WooCommerce store.
I was able to connect the store to mailchimp and all products have synced normally, but i had to use wp-cli to achieve it (the store has around 2000 products). However, no orders are being synced to mailchimp, and the status icon on the "Connected Sites" page on the mailchimp account has been showing " List settings - Syncing list: ListName since the store was originally connected, about two weeks ago.
The Mailchimp API Calls table shows that all calls have been made successfully, with none of them having any response text.
The Plugin page shows "Orders Synced: 0" under the sync tab, and no info shows on the Logs tab, even though it is currently set to "Standard".
I've been searching the plugin page on wordpress but have not come up with any working solution. Also, i was having this issue with v2.1.4, but it is still happening after updating to 2.1.5.
Any idea what could be causing this?
Thanks in advance,
The text was updated successfully, but these errors were encountered: