Recurring events not cleaning up

Home Forums Calendar Products Events Calendar PRO Recurring events not cleaning up

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #952414
    blankbeard
    Participant

    I have the settings set to clean up events older than 1 month, yet I still have events from 2014. I have a large calendar with dozens of recurring events so when they dont clean up I am left with over 1000 published events.

    #952586
    Josh
    Participant

    Hey blankbeard,

    Thanks for reaching out to us!

    This is a bug within our plugin that is set to be resolved with the next update of our plugin. In the meantime, the issue was due to the hook which controlled this being unintentionally removed so you can fix this by adding both the:

    add_action( self::CRON_HOOK, array( $this, 'clean_up_old_recurring_events' ), 10, 0 );
    remove_action( self::CRON_HOOK, array( $this, 'clean_up_old_recurring_events' ), 10, 0 );

    to the “lib/Recurrence_Scheduler.php” within the PRO plugin like this https://cloudup.com/c3_mM58Numt and it should be back running.

    Let me know if this helps.

    Thanks!

    #952607
    blankbeard
    Participant

    I added that code http://imgur.com/rBitflX But it does not seem to be working still. The .php says (inactive) next to it for some reason.

    Thanks for your help

    #953022
    Josh
    Participant

    Hey blankbeard,

    Thanks for following up with us. Could you send me a screenshot of where the “inactive” is being added? Is it being added to the .php file name on your server?

    Thanks!

    #983958
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Recurring events not cleaning up’ is closed to new replies.