Support » Plugin: Events Manager » BUG – Recurring event publishing in future

  • Resolved arxeiss

    (@arxeiss)


    I have a problem with recurring event, which is published in the future.

    If I create a recurring event and I set publishing in the future, after status of post (recurring event) is set to Published, single events are not created.
    If I perform some change, or save it again, then they appear, but not otherwise.

    Can you help me with this? Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support caimin_nwl

    (@caimin_nwl)

    NetWebLogic Support

    It’s possible this is a conflict caused by your theme or another plugin. To check if it is, can you test with all other plugins deactivated and while running the default WordPress theme?

    It is not caused by a conflict… Problem is, that if recurring event published in future is posted, events for each days are not created. This is because of EM_Event::is_published() returns false for “future” post and children are not created.

    I fixed this by creating filter:

    function force_clone_future_events( $isPublished, $eventObj) {
        return $isPublished || $eventObj->post_status == "future";
    }
    add_filter( 'em_event_is_published', 'force_clone_future_events', 10, 2 );

    But after this, cron event for publishing is created only for parent event, not for children… Then I have to follow this article with a plugin FIX WP post missed schedule

    Plugin Support caimin_nwl

    (@caimin_nwl)

    NetWebLogic Support

    Thanks. I’m getting the same thing. I’ve passed this on to the developers.

    Plugin Author Marcus

    (@netweblogic)

    NetWebLogic Support

    Thanks for reporting this. I’ve fixed this issue locally.

    Your reference to the is_published() function helped us along the way. I’ve made some modifications to how recurrences validate published events for recurrence creation purposes, as well as adding the cron hooks for the recurrences when needed.

    This’ll be out in the next update, a dev version is planned for release within the next day or so, followed by an update next week (I think you’ll like the improvements we’ve made to recurrences ;)).

    You can check dev versions and update as per these instructions – http://wp-events-plugin.com/documentation/upgrade-dev-version/

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