Home › Forums › Calendar Products › Events Calendar PRO › All events randomly removed (permanently deleted)
- This topic has 4 replies, 2 voices, and was last updated 11 years, 5 months ago by
Josh.
-
AuthorPosts
-
November 19, 2014 at 1:44 pm #891064
amandadmg
ParticipantHello,
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.November 19, 2014 at 4:08 pm #891246Josh
ParticipantHello 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!
November 19, 2014 at 4:22 pm #891266amandadmg
ParticipantIt 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.
November 20, 2014 at 2:00 pm #892636amandadmg
ParticipantThis 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.November 24, 2014 at 10:41 am #897299Josh
ParticipantHello 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
-
AuthorPosts
- The topic ‘All events randomly removed (permanently deleted)’ is closed to new replies.
