• Resolved emeeder

    (@emeeder)


    i had an event with 3 re-occurring events on our calendar (so 3 events total). I had to adjust the event by 1 day. (so initial event started the next day and the the other 2 events the following 2 days).

    This caused a situation where it the plugin started creating duplicate events.. thousands of them. I got my shred hosting support to stop the script from running before my sever ran out of resources. After about 15 minutes i had over 5000 duplicate events.

    I deleted all the events thinking that perhaps it had something to do with the fact that i had edited an event. so deleted all that event and started fresh. 1st i made the initial event and saved it. All good. Then i went to add re-occurring events and the same error occurred. Making many many duplicates.

    In teh end i just made 3 separate events for this particular event.

    Now i am unsure about using the reoccurring events feature, Has there been a codding change that has caused this problem?

    Thanks. The plugin has been great for us so far.

    PS. i am using the current/latest version: 4.0.4.4

    • This topic was modified 1 year, 8 months ago by emeeder.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • I am having the same problem, and had to uninstall the plugin because of it. Now I have a problem deleting nearly 2000 events it created before timing out! Can someone please tell us how to do this without deleting them page by page in the WordPress admin, which will take a very long time.

    Thread Starter emeeder

    (@emeeder)

    i had that too.

    I followed these instructions. I edited so that i could see 200 ‘post’ per page. If you make this number too large it will take very long to load. Go for 200. then you can delete them really quick 200 at a time.

    How to display more than 20 posts in WordPress’ dashboard | Solutions by shayatik.com

    How to display more than 20 posts in WordPress’ dashboard:

    1. Connect to your website’s FTP or just filemanager in CPanel (or something similar) , and look for the following file: /wp-admin/includes/post.php
    2. Open the file and edit it
    3. Go to line 1260 (In my wordpress), or look for the following:

    1if ( empty( $posts_per_page ) || $posts_per_page < 1 )23$posts_per_page = 20;

    4. Change the number 20 to whatever you want.

    • This reply was modified 1 year, 8 months ago by emeeder.

    @emeeder @gsethkramer

    Thanks for reaching out to us.

    We want to inform you that the issue has been resolved, and we are now live with the latest update to EventPrime (version 4.0.4.5). Please update to this version and confirm if the issue has been resolved at your end.

    To remove duplicate event, please navigate to the parent event in your WordPress dashboard. In the Repeat section, simply edit the repeat settings and then update the event. This action should automatically delete all child events.

    If you have any further questions, please don’t hesitate to reach out to us.

    Hello, and thank you for the update – but unfortunately, your suggested method does not work for removing all the extra events. I found the parent event and removed the Repeat, then updated. I tried it both “Only for this occurrence” and “For all occurences”, but neither works. Is there another way? I’d be willing to do it directly in the WordPress database if you could show us how to construct the SQL to do it safely

    @gsethkramer

    Please use the following code and add it to the functions.php file of the currently active theme. Please replace the $post_id value (123) with the parent event’s post ID.

    function delete_child_events()
        {
            $post_id = 123;
            $dbhandler = new EP_DBhandler;
            $dbhandler->ep_delete_child_events($post_id);
        }
        add_action('init','delete_child_events');
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Repeat event causing infinite loop’ is closed to new replies.