• Resolved robanna

    (@robanna)


    I have a multi-site installation with The Events Calendar v 6.7.1 activated on only one site. The maintenance “Move to trash events older than” is set to 1 month. Since v 6.7.0, old events are not being moved to the trash. I have tried to disable all plugins and using the Twenty Twenty theme with no luck.

    The cron event Tribe__Events__Event_Cleaner_Scheduler->move_old_events_to_trash() is scheduled and runs every 12 hours. I’ve tried to run it manually. I’ve tried to turn the maintenance setting on and off and changed it to different time ranges. I’ve tried it with and without The Events Calendar Extension: Remove Past Events plugin.

    WP Current version: 6.6.2, PHP 7.4

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Support sammysamp

    (@sammysamp)

    Hi @robanna,

    I see. However I just tried this with our latest release 6.7.1 and works as expected. Could you try using a real cron job as is explained on this KB article?: https://theeventscalendar.com/knowledgebase/how-to-disable-wp-cron-and-set-up-a-real-cron-job/

    Let me know how this goes.

    Thread Starter robanna

    (@robanna)

    Hi sammysamp,

    Thank you for getting back to me.

    We do use real cron jobs.

    The cron jobs do not appear to be missed but the are not having any result. Events older than a month are still active after the hook tribe_trash_event_cron runs.

    Do you have anything else we could try?

    Plugin Support sammysamp

    (@sammysamp)

    Hi @robanna,

    I see, that is unexpected.

    Some situations like this can be attributed to a plugin/theme conflict.

    We recommend to disable all your plugins except the ones related to The Events Calendar, then revert to a default WordPress theme, such as Twenty Twenty-One, then test to see if the issue is gone. If it is gone, enable one plugin at a time, until the possible culprit is found. As the last step, revert to your original theme.

    It is worth to mention this process we describe here can result in some amount of disruption to your site. To avoid this, we recommend you either make use of a staging site and test things there.Note: If your host plan doesn’t offer a staging/test website, you don’t need to buy any additional plan. You can try a free method using a plugin. One such plugin, WP Staging, automates the process of establishing a staging site from your existing WordPress install.

    Let me know how this goes.

    Thread Starter robanna

    (@robanna)

    I have tried to disable all plugins and using the Twenty Twenty theme with no luck.

    Plugin Support tristan083

    (@tristan083)

    Hi @robanna ,

    Thank you for your message and for taking the time to do the conflict testing.

    At this point, I would recommend you try enabling WordPress debugging (see How to Enable Debugging in WordPress) to see if there any clues that can be found in the debug log that would cause old events to not go to trash.

    Plugin Support Darian

    (@d0153)

    Hi there,

    I hope you’re doing well. I just wanted to touch base and check in with you. It’s been a little while since we’ve heard from you. I was just curious if you had the chance to try out the recommendation provided above.

    Let me know if there’s anything I can assist you with.

    Thread Starter robanna

    (@robanna)

    Debug log didn’t tell me much about the issue.

    Plugin Support Darian

    (@d0153)

    Hi @robanna

    We recently released a new version of our plugin. Please update your plugins to the latest version and let me know if that makes a difference.

    Plugin Support Darian

    (@d0153)

    Hi @robanna ,

    I hope everything is going smoothly for you. I just wanted to touch base and inquire if you had the opportunity to review my previous response as it has been some time since we last heard from you.

    Thread Starter robanna

    (@robanna)

    I’m on vacation but will try the updated when I get back in the office next week.

    Plugin Support Darian

    (@d0153)

    Hi there,

    It appears that there hasn’t been any recent activity on this thread, so we’ll go ahead and close this for now. However, if you have any additional questions or concerns, feel free to reopen this thread.

    Thread Starter robanna

    (@robanna)

    I just updated to the latest release and it did not fix the issue.

    Plugin Support tristan083

    (@tristan083)

    Hi @robanna ,

    Thank you for your message, and I’m sorry to hear of the continued difficulties.

    Have you tried disabling WP-Cron and setting up a real Cron on your server (see How to Disable WP-Cron and Set up a Real Cron Job)?

    Thread Starter robanna

    (@robanna)

    We do use real cron jobs.

    The cron jobs do not appear to be missed but the are not having any result. Events older than a month are still active after the hook tribe_trash_event_cron runs.

    Do you have anything else we could try?

    Plugin Support tristan083

    (@tristan083)

    Hi @robanna ,

    Thank you for your message and the information.

    As it turns out, this is a bug happening in some WordPress environments that our product team was able to identify and is working on a fix.

    I am unable to provide an exact date or time estimate for when this fix will be released, but you’ll be notified when there are any updates.

    If you do have other concerns or issues you need help with, please create another thread, as it helps us track different issues.

    Thank you for your patience on this one.

    Internal Bug Ticket Reference: TEC-5319

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