• Resolved ttoaster

    (@ttoaster)


    Hi,

    Since the latest update I have had subscription accounts that should have expired, but are not being expired (despite the set expiry date having passed).

    This is not just happening with one account, but over a dozen, so far.

    Also, no account expired emails are being sent to subscribers since this last plugin update, only the account is expiring in 7 days emails (as usual). This was all working fine before the latest update to your plugin.

    Can you please fix this as it is causing real problems!

    Thank you in advance.

    Regards,
    Martin

    • This topic was modified 5 months, 3 weeks ago by ttoaster.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Andrew Lima

    (@andrewza)

    Hi Martin,

    I’m sorry to hear about this issue you are facing here.

    Can you please confirm you have Paid Memberships Pro cron jobs active and they aren’t missing? You may view cron jobs on your WordPress site with a plugin like WP Crontrol (https://wordpress.org/plugins/wp-crontrol/) or via the Site Health “Paid Memberships Pro” section.

    These cron jobs should be prefixed with “pmpro_cron”.

    Thread Starter ttoaster

    (@ttoaster)

    Hi,

    Data below:

    Data from WP Control:

    pmprorh_cron_delete_tmp None 2022-01-13 16:49:09 1 hour 30 minutes pmprorh_cron_delete_tmp() Once Daily
    pmpro_cron_expiration_warnings None 2022-01-13 17:13:28 1 hour 54 minutes pmpro_cron_expiration_warnings() Once Daily
    pmpropbc_cancel_overdue_orders None 2022-01-13 21:03:29 5 hours 44 minutes pmpropbc_cancel_overdue_orders() Once Daily
    pmpropbc_recurring_orders 2022-01-13 21:03:30 5 hours 44 minutes pmpropbc_recurring_orders() Once Daily
    pmpropbc_reminder_emails None 2022-01-13 21:03:31 5 hours 45 minutes pmpropbc_reminder_emails() Once Daily
    pmpro_cron_credit_card_expiring_warnings 2022-01-19 17:13:27 6 days 1 hour pmpro_cron_credit_card_expiring_warnings() Once Monthly`

    However, your data from the Health Screen, is:
    pmpro_cron_expire_memberships (missing) | pmpro_cron_admin_activity_email (missing) | pmpro_cron_stripe_subscription_updates (missing)
    pmpro_cron_expiration_warnings (2022-01-13 17:13:28) | pmpro_cron_credit_card_expiring_warnings (2022-01-19 17:13:27)

    Which seems to indicate that the cron jobs are now missing for:
    pmpro_cron_expire_memberships (missing)
    pmpro_cron_admin_activity_email (missing)
    pmpro_cron_stripe_subscription_updates (missing)

    As I haven’t deleted them, and the issue has only been occurring since the latest plugin update was installed, I suspect that there is some bug in your code that has removed them or failed to test for them and regenerate them, if missing?

    As previously stated, the expiration emails and subscriptions being expired was working fine until the latest version of PMPro was installed.

    Please advise how to fix this.

    Regards,
    Martin

    • This reply was modified 5 months, 3 weeks ago by ttoaster.
    • This reply was modified 5 months, 3 weeks ago by ttoaster.
    Thread Starter ttoaster

    (@ttoaster)

    Don’t worry, I managed to fix it by myself, by disabling and re-enabling the plugin; this recreated the cron entries that were removed during the last automatic plugin update…

    Hi,

    SSorry to hijack your thread! I’m having the same issue. However, when disabling the plugin and re-enabling did you lose any settings?

    Here’s my Cron Job Status:

    pmpro_cron_stripe_subscription_updates (missing) | pmpro_cron_expire_memberships (2022-01-13 18:54:02) | pmpro_cron_admin_activity_email (2022-01-14 09:30:00) | pmpro_cron_expiration_warnings (2022-01-14 15:35:12) | pmpro_cron_credit_card_expiring_warnings (2022-02-06 15:35:12)

    (missing)?

    Thread Starter ttoaster

    (@ttoaster)

    Hi David,

    I was worried about that too, but it seems to not have lost any settings, including helper fields, etc. that I have added before.

    So take a backup of the database, and then give it a try, you can always restore your database backup if it does end up going base over apex! 😉

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.