I always have this problem that the deadlines in the listing calendar don’t work. Featured listing always remain featured, and free listing do not expire. I insert the code you told me to insert into the Functions.php file, but it doesn’t work.
If I understood you correctly, the listings do not expire and do not lose their featured status? If fo, Please disable third-party plugins and customizations (if there are any) and check if this issue persists. If you use a caching plugin, make sure that caching is disabled for logged-in users. Also, please navigate to WP Dashboard > Tools > Scheduled Actions and check if there is a failed action there hivepress/v1/events/hourly
Yes, you understood perfectly. I deactivated the plugin that might be conflicting. The scheduled actions are in Woocommerce and are two failed actions. 1) hivepress/v1/events/hourly 2) Many like hivepress/v1/events/twicedaily.
If hourly failed, please check more details about why it failed, maybe there are error logs. Also, if you manually click Run on hourly in Pending actions, is the listing expired with an expired date?
According to the error, it gets the failed status because there is not enough memory. Try disabling third-party plugins and check in two hours if this listing expires (if there is no such listing with an expired date, create one such test listing). Also, please provide more details, how many listings do you have in total?
Ok I deactivate the plugins. There are around 8000 listings inside. But how can I create a new listing if the deadlines are in days and not hours? I have to make a featured listing expiring tomorrow
It’s okay, it’s already indicated in the dates, it just depends on when the listing was published, it’s counted if you specify the period in days from the publication, if you manually specify the date, then from midnight. Most likely, this is a memory issue, if you have a lot of listings that are about to expire, then try leaving only one listing and see if everything works.
Hi, I actually don’t have many listings that expire all together on the same day because I started adding the listing deadlines recently.
The featured listings are few but they don’t expire anyway.
The listings in total are approximately 8000.
I do not know what to do.
Update: I tried with just one expiring listing and it still doesn’t work. I honestly don’t know what to do anymore, I deactivated all the third party plugins that could cause problems and I still haven’t solved it