Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

wc_cancel_pending_orders stopped working

$
0
0

Replies: 0

Hi,

The cron that cancels the orders, woocommerce_cancel_unpaid_orders stops working randomly on my site.

To “fix” it, I have to go to Settings > Products > Inventory and save the settings, that way the cron is scheduled again.

I’ve tried several theories:

1. Crons are not working: this is false because other crons work as expected, so it’s something related specifically to this particular cron. Also, I have an external cron task setup at the server level, so it’s not dependent on the app visitors.

2. Server crashing: according to the logs, there is no crash that is affecting this cron.

So, I’m stuck without many answers on how to debug this.

I’ve checked WC changelog to see if this was a bug, but I found nothing. I check on my logs without any further debugging information. My server has no automatic restarts, on New Relic APM response time is 600ms, and the site works great, EXCEPT for this thing.

I’ve read many topics of this, but none is very helpful. The main issue is that it works for some time, but then something happens and it stops working without further notice.

Does anybody know how to fix this?


Viewing all articles
Browse latest Browse all 59525

Trending Articles