Hi @bladeke,
Thank you for reaching out and providing detailed information about the issue. From what you’ve described, it seems like the webhooks were recreated, which led to the resending of 2000+ orders to Erply. This is indeed unusual behavior.
One possible cause could be a CRON task, as you’ve suggested. However, without more information, it’s hard to say for sure.
To help us troubleshoot this issue further, could you please provide the following information:
- Any changes made to your site around February 23rd?
- Any new plugins installed or updates done around that time?
- Any access given to third-party services or developers?
In the meantime, I would recommend updating your WooCommerce plugin to the latest version, which is 8.6.1. Please make sure to back up your site before making any changes. This is to ensure that you can revert back to the current state if anything goes wrong.
Looking forward to your response so we can help you resolve this issue.
Hi Afzal,
Thank you for getting back to me!
- No changes made to the site that day
- Three plugins automatically updated that day:
- Back In Stock Notifier for WooCommerce | WooCommerce Waitlist Pro 5.2.1
- PixelYourSite 9.5.0.1
- PixelYourSite 9.5.1
- Any access is given in the form of admin user – I’ve checked the logs for 22.02-24.02 and no activity from any of the admin users that relate to any changes in WooCommerce configuration – only adding products and product images.
I will upgrade to 8.6.1 once I’ve tested it on the offline shop first. This recent database structure change for orders really messed up our business, that’s why I had to rollback, but will definitely upgrade soon.
Zee
(@doublezed2)
Hello bladeke
Thank you for your reply.
To further investigate the issue, could you please tell me how you determined that the two webhooks were re-created?
Also, you have found anything related to these webhooks in the WooCommerce > System Status > Logs?
It is most probable that this was caused by something else because WooCommerce itself never makes any changes to your site settings.
I am here to investigate the issue further, one I have more information.
I look forward to your response. 🙂
Hi Zubair,
I determined this because each webhook has its creation date:
Veebikonksu tegevused (webhook actions)
Loodud (created) 23. veebr. 2023 @ 10:22
Uuendatud (updated) 8. märts 2024 @ 07:46
What I see on that day: fatal_errors log:
2024-02-23T15:20:04+00:00 CRITICAL Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “adminNoticeUADismissHandler” not found or invalid function name in /www/apache/domains/www.tupsunupsu.ee/htdocs/wp-includes/class-wp-hook.php:324 Stack trace: #0 /www/apache/domains/www.tupsunupsu.ee/htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #1 /www/apache/domains/www.tupsunupsu.ee/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #2 /www/apache/domains/www.tupsunupsu.ee/htdocs/wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_pys_not…’) #3 {main} thrown failis /www/apache/domains/www.tupsunupsu.ee/htdocs/wp-includes/class-wp-hook.php real 324
And then there’s the webhook_delivery log which contains update requests for 2000+ orders.
Hi there,
This is a tricky one to troubleshoot as I don’t see any updates on the WooCommerce side that could have triggered that. One thing I’m wondering though: Have you checked with your hosting provider on whether they deleted/recreated the webhooks on your site?
Alternatively, I’m also wondering whether this might be something for the folks on Erply to look into as I do see some similar references from other 3rd party plugins.
Hey!
That’s the thing – there is no plugin, it’s simple REST API integration and two webhooks. I’ve contacted the hosting provider and they confirmed no maintenance or any other activity impacts any webhooks or actions on the website itself. I’m simply stunned here…
Hi @bladeke,
This is indeed a puzzling situation.
Since you’ve confirmed no changes were made to your site, no new plugins were installed, and no third-party access was granted around the time the issue occurred, it’s challenging to pinpoint the exact cause.
The error log you’ve shared points to a problem with a callback function, but it’s unclear if this is directly related to the webhook issue. However, it’s possible that this error could have caused unexpected behavior.
As there’s no plugin involved and your hosting provider has confirmed no maintenance or other activity that could impact webhooks, we can rule out these possibilities.
At this point, I recommend reaching out to Erply support as well. They might be able to provide more insights from their end.
I also recommend using a plugin like WP Activity Log to monitor the activity of everything that happens on your WordPress sites.
Looking forward to hearing from you!
We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.