Closed dansku closed 5 years ago
Just woke up and now nothing is happening. Last pieces of the log:
019-07-25T07:42:09+00:00 ERROR order_submit.tracing_error :: Error Code 0 :: Invalid order. on 101 in /home/neural/public_html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php
2019-07-25T07:42:09+00:00 NOTICE queue.error :: Invalid order. on 101 in /home/neural/public_html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php :: Array
(
[job] => MailChimp_WooCommerce_Single_Order
)
2019-07-25T07:42:14+00:00 DEBUG queue listen :: process id 22718 :: loop #340
2019-07-25T07:42:49+00:00 DEBUG queue listen :: process id 23382 :: loop #280
2019-07-25T07:43:54+00:00 DEBUG queue :: [end] queue listen process_id = 22718
2019-07-25T07:44:02+00:00 DEBUG queue :: [start] queue listen process_id [26126] :: max_time [1800] :: memory limit [33554432000]
2019-07-25T07:44:29+00:00 DEBUG queue listen :: process id 23382 :: loop #300
2019-07-25T07:45:37+00:00 DEBUG queue listen :: process id 26126 :: loop #20
2019-07-25T07:46:09+00:00 DEBUG queue listen :: process id 23382 :: loop #320
2019-07-25T07:47:17+00:00 DEBUG queue listen :: process id 26126 :: loop #40
2019-07-25T07:47:49+00:00 DEBUG queue listen :: process id 23382 :: loop #340
2019-07-25T07:48:57+00:00 DEBUG queue listen :: process id 26126 :: loop #60
thank you
@dansku this 'invalid order' stuff seems to be popping up a few times recently and it's very hard to say why at the moment. We've never been able to replicate this type of behavior. Do you happen to be using any order ID plugins that alter the original post, or possibly hook into a get_order_number
function / action at all?
Be happy to continue this dialogue when we get more info. Thanks for reporting.
Here it seems to be an order:
2019-07-25T14:58:45+00:00 DEBUG api.addCart :: Adding Cart :: xxx@me.com :: Array
(
[id] => e56db1e732df57a99624f310a51f1571
[customer] => Array
(
[id] => e56db1e732df57a99624f310a51f1571
[email_address] => xxx
[opt_in_status] =>
[orders_count] => 0
[total_spent] => 0
)
[checkout_url] => xxx
[currency_code] => EUR
[order_total] => 99
[lines] => Array
(
[0] => Array
(
[id] => a717edc316601e62c16bff09ee83d8fe
[product_id] => 70111
[product_variant_id] => 70111
[quantity] => 1
[price] => 99
)
)
)
Could it be an issue that the id is non-numeric?
@dansku are you by chance using anything that is altering the order ID's for display in WooCommerce? If so, please follow #451 thread because we seem to have found the problem there and working on getting this into QA very soon.
Thank @ryanhungate, I am holiday this week, so next week when I'm back I'll check it out.
Hi @dansku, we just wanted to check back with you to see if this was still a problem for you. Please let us know when you get a moment, we’ll be happy to help troubleshoot further if necessary.
Hey @khungate , thanks for checking in. I am contacting the team to check it now. I will get back on this asap so we can close it. Thank you!
Hi @dansku, we're going to close out this ticket for now since it's been awhile since we've been in touch.
Please let us know if you still need any help and we'll be glad to reopen and troubleshoot further.
Hello, I am facing two problems now,
The first one is that the orders are taking forever to sync, previously it was using 100% of the server resources.
I've restarted the plugin, running via wp-cli and added
define('DISABLE_WP_HTTP_WORKER', true);
I can tail to the log file, and I am getting a lot of messages like this:
I've completed one order on the website and opted-in the email list, which then added the user to the list, but no matter what I do it doesn't sync the item ordered, which is needed in order to trigger future emails.
What can I do to test and make sure that once a once the user places an order it is also added to MailChimp?
Thank you