Republishing iCal/Google Calendar Events that were deleted

Home Forums Calendar Products Event Aggregator Republishing iCal/Google Calendar Events that were deleted

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1085444
    Jonathan
    Participant

    I just bought the ical plugin….accidentally wiped out all of the existing Google Calendar Events after a test import since it wasn’t tagging a category. I attempted to reimport them and of course it doesn’t recognize any new events even though the ones that were originally imported, do not exist.

    Is there a work around to this without recreating the events? Thank you

    #1086440
    Geoff B.
    Member

    Good evening Jonathan and welcome to the Events Calendar Support forum!

    Thank you for reaching out to us.

    We are sorry to hear about the struggle you have been experiencing with the iCal plugin.
    I would love to help you with this topic.

    What is going on is that the plugin keeps a trace of all imported events (UID) to make sure these do not get duplicated when running the importer again. In fact, a trace is kept even after deleting them from the backend.

    Your best bet (after a database backup) would be to remove these traces prior to running the plugin again. You can do that in a couple of ways:

    1. Manually going in the DB and removing the saved entries in the WP_posts table
    2. Using the following snippet: https://gist.github.com/niconerd/62617b7f5cecb9ae609f#file-clear_deleted_events-php
    3. Using a DB cleanup plugin such as https://wordpress.org/plugins/rvg-optimize-database/

    Let me know how that goes.

    Best regards,
    Geoff B.

     

     

    #1092931
    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 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Republishing iCal/Google Calendar Events that were deleted’ is closed to new replies.