Home › Forums › Calendar Products › Events Calendar PRO › Event data still being generated.
- This topic has 13 replies, 3 voices, and was last updated 10 years, 7 months ago by
Leah.
-
AuthorPosts
-
August 12, 2015 at 7:08 am #995393
Ian
ParticipantSo if after a few hours one still gets the ‘Recurring event data is still being generated for this event.’ message, with the progress bar apparently stuck at around 90% and the wheel still revolving, what should one do?
Tried navigating away and back… Other events seem unaffected and new data can be added and events displayed…
-
This topic was modified 10 years, 8 months ago by
Ian.
August 12, 2015 at 10:32 am #995487Ian
ParticipantA few more hours later and the event still thinks data is being generated. I have even updated the event to see if that would stop it. It updated OK but the message remains. Rebooted.. Checked in another browser… The message is stuck….
August 12, 2015 at 12:06 pm #995518Brian
MemberHi,
Sorry for the issues you are having. I can help troubleshoot this with you.
I have not run into this before so not sure of the cause.
Can you try deactivating and then reactivating Pro and see if that clears it.
That process does not delete events or settings, but it is always a good idea to backup beforehand.
Let me know if that clears it or not and we can go from there.
Thanks
August 12, 2015 at 2:31 pm #995563Ian
ParticipantHi Brian
I have tried deactivating pro, both pro and the main plugin, reloading the edit page with the main plugin only active (no progress bar under this condition). Nothing has worked thus far. Still see the progress bar when pro is active on this event series…
-
This reply was modified 10 years, 8 months ago by
Ian.
August 13, 2015 at 7:57 am #995765Brian
MemberHi,
Thanks for that information. We have not seen this issue with anyone else so lets find out if this is contained within Pro or a conflict with something else.
Can you please follow our testing for conflicts guide and see what that comes up with:
Also, can you please install the WP Crontrol Plugin:
Then in your admin go to Tools > Crontrol
And let me know this information:
Hook Name Arguments Next Run Recurrence
For any hook name that has “tribe” in it.
Let me know what you find out and we can go from here.
Thanks
August 13, 2015 at 11:34 am #995847Ian
ParticipantThis reply is private.
August 13, 2015 at 1:52 pm #995890Ian
ParticipantAs there was no change following the troubleshooting steps I hope the data I sent is helpful.
Thinking about what may have triggered this condition if not a plugin conflict – This is a recurring event in a series where two events which were initially part of it were set to be individually edited, and one of those was deleted.
Is there not a line in the wp_options table or somewhere which is causing the progress bar to display? Can’t I just edit the database to clear it?
August 14, 2015 at 7:39 am #996045Brian
MemberHi,
Thanks for the information, it was helpful for us to narrow this down. We have been able to replicate the issue and looking for a short term solution on this.
We tested in the next version 3.12 and it does not happen there, but that release is still a couple weeks away at best.
I will update you on us getting a short term fix to hide or remove the progress bar.
Thanks
August 14, 2015 at 8:04 am #996052Brian
MemberHi,
I have this snippet to resolve this. Please add to your theme’s functions.php:
/**
* It's possible for a gnarly, unending update loop to spring up
* when events have been broken out of an existing chain of recurring
* events.
*
* This helper aims to detect such a situation and resolve it.
*/
function fix_rec_update_issue() {
$event_id = (int) $_POST['event'];// Nonce check
if ( ! wp_verify_nonce( $_POST['check'], 'generate_recurring_instances_' . $event_id . get_current_user_id() ) )
return;$queue = new Tribe__Events__Pro__Recurrence__Queue( $event_id );
$to_create = $queue->instances_to_create();
$to_exclude = $queue->instances_to_exclude();if ( count( $to_create ) !== count( $to_exclude ) )
return;foreach( $to_create as $timestamp ) {
if ( ! in_array( $timestamp, $to_exclude ) )
$mismatch = true;
}if ( @$mismatch ) return;
$queue->instances_to_create( array() );
$queue->instances_to_exclude( array() );
$queue->save();
}add_action( 'wp_ajax_tribe_events_pro_recurrence_realtime_update', 'fix_rec_update_issue', 5 );
Let us know if that helps resolve the issue.
Thanks
August 14, 2015 at 11:27 am #996116Ian
ParticipantI am using a child theme (of themify.me ‘ultra’ theme) and when I add this to the functions.php file no site pages or admin pages are displayed (white screen). Removed the code and all is fine again except the progress bar is still stuck.
August 14, 2015 at 11:41 am #996121Brian
MemberOk, I added it to my child theme of Genesis and did not get a white screen.
What does your error log say as it appears it is triggering a fatal error?
August 14, 2015 at 12:34 pm #996136Ian
ParticipantWell that’s Weird – I just added the code again to run it in order to see what was on ‘line 28’ where a spurious ‘&’ was being reported in the error log, and it ran OK and cleared the problem! I don’t think I added an & by mistake before as it was just a paste, but I have to assume it was something like that. Anyhow all seems good now which is a relief!
August 14, 2015 at 12:44 pm #996144Brian
MemberGreat glad it helped and it worked itself out.
I am going to close this thread to new replies, but we have a bug ticket in our system to resolve this for good.
That snippet should help out until that happens.
If you have any new questions or concerns please create a thread and we can help out.
Thanks
September 3, 2015 at 4:14 pm #1001895Leah
MemberHello,
Thank you so much for reporting this. We are happy to tell you that a solution to this issue is part of our upcoming 3.12 release! We are doing the final testing and then the new version will be released. Keep an eye on your dashboard Updates page!
If you experience any difficulty with the update or find that the issue you reported in this thread is not resolved in 3.12, please open a new thread and we can help you. Thank you for your patience and support as we work to improve our plugins!
Best,
Leah
and The Events Calendar team -
This topic was modified 10 years, 8 months ago by
-
AuthorPosts
- The topic ‘Event data still being generated.’ is closed to new replies.
