Please add some type of filter such as apply_filter('hivepress/expire', true);
that shortcircutis all of the expirations on listings, bookings, etc…
Something is up with the action scheduler.
Please add some type of filter such as apply_filter('hivepress/expire', true);
that shortcircutis all of the expirations on listings, bookings, etc…
Something is up with the action scheduler.
Hi,
Thanks for the feedback. Please clarify what exactly you mean by short circuit, and we will try to help (perhaps you mean expire all listings if the scheduled action did not work?). Also, if your scheduled actions don’t work, you need to solve this problem, not use coding. First, 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. If this issue exists, please provide more details (e.g., your actions step by step with screenshots, screencast, etc.). This will help us to reproduce and resolve the issue faster.
Having had no problems with this issue for about 18 months it started again two weeks ago - the hourly scheduled action keeps getting stuck meaning none of my listings were expiring correctly. No changes have been made to my site in months.
As before I disabled all third party plugins to try and replicate but the only thing that works is:
Hi,
Please clarify whether you are using any third-party plugins, as WP Mail SMTP, for example, may conflict because they use a different version of scheduler (we use the most reliable one for WordPress https://actionscheduler.org). Also, please clarify whether you see “action failed” or if the listings simply do not expire automatically.
I view the action scheduler logs via the Woocommerce menu.
hivepress/v1/events/hourly is showing as failed.
Hi,
Thanks for the details. We recommend reviewing the PHP logs in more detail, as they may contain information about why the error occurred (not enough memory, etc.). Then we will be able to debug this further.
Hi,
No, they should work correctly by default. Therefore, you do not need to install anything else.
We recommend using YaySMTP. For more details, please refer to this documentation: How to set up emails - HivePress Help Center
Thank you. Switched to Yaysmtp.