All events randomly removed (permanently deleted)

Home Forums Calendar Products Events Calendar PRO All events randomly removed (permanently deleted)

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #891064
    amandadmg
    Participant

    Hello,
    I have a strange issue that has now happened 4 times. All of our events are completely deleted from the database. They aren’t in the trash or draft mode but completely gone.
    Does anyone have any suggestions as to how to track down what caused this? It seemingly happens at random times, but something must be causing it.
    I’m not sure if something from cron is causing this, and if it’s a plugin, I have yet to track down which one could possibly deleting only the events post type.

    #891246
    Josh
    Participant

    Hello amandadmg,

    Thanks for reaching out to us!

    This is definitely a very strange issue to be having. Hopefully we can get to the bottom of this issue for you.

    Has this happened 4 separate times on the same site or are you experiencing this on multiple sites? Does it seem to be happening at a regular interval or at random?

    The best way to attempt to diagnose this since it happens over a period of time would be to setup a development site that is identical to your current site and see if the issue persists, you can then following the Testing for Conflicts procedures on the development site to see if there is a plugin or theme conflict that is causing the issue.

    I’m sorry I wasn’t able to give you a direct response however I hope this was able to point you in the right direction.

    Thanks!

    #891266
    amandadmg
    Participant

    It was all on the same site and the interval appears random. I’ve since written a plugin that is going to track when events are below a certain number threshold and email me so I have a better idea of when/how often it’s happening.

    #892636
    amandadmg
    Participant

    This turned out be an issue with using gravity forms to post an event as well as using the Events API.
    Basically we used the wrong form id, so the code ran on a different gravity form and therefore a different post type. Not sure how TribeEventsAPI::saveEventMeta($post_id, $data, $post); would end up deleting all events but it seems it did.

    #897299
    Josh
    Participant

    Hello amandadmg,

    Thanks for following up with us! Definitely a strange issue for sure however I’m glad you were able to find the root of the problem.

    I’ll go ahead and close this ticket. If you have any further questions please don’t hesitate to open a new one.

    – Josh

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘All events randomly removed (permanently deleted)’ is closed to new replies.