Issue with pmpro_cron_expire_memberships Not Resetting Membership Levels
-
Hello,
I’m experiencing an issue with the
pmpro_cron_expire_memberships
function in Paid Memberships Pro.Here’s the issue:
- When the cron runs automatically, it sends the expiration emails but does not reset the membership level to 0 (i.e., it doesn’t expire the membership).
- However, when I run the
pmpro_cron_expire_memberships
manually using the WP Control plugin, it works correctly and resets the expired memberships as expected.
Important setup details:
- I am using a server cron and have disabled WP Cron by adding
define('DISABLE_WP_CRON', true);
in thewp-config.php
file. - The server cron is set up to trigger
wp-cron.php
regularly, and other cron tasks seem to run fine. - The cron was working perfectly about a week ago, but now it has stopped resetting membership levels. I have not made any changes to the site, so there is no new custom code or updates that could have impacted this functionality.
I’ve checked the logs and don’t see any obvious errors. I would appreciate any insights into why the automatic cron is sending emails but not resetting the membership levels, while manual execution works perfectly.
Thanks for your help!
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.