Home › Forums › Calendar Products › Events Calendar PRO › Events Calendar Scheduled Imports Not Saving
- This topic has 12 replies, 4 voices, and was last updated 6 years, 11 months ago by Kathryn.
-
AuthorPosts
-
March 31, 2017 at 2:08 pm #1262844KathrynParticipant
I have The Events Calendar and Event Aggregator installed on an AWS EC-2 Server.
The calendar events are being imported when I initially schedule the imports, but it doesn’t get saved or run again on the schedule like it’s supposed to.
Both plugins are freshly installed and I have customized nothing except for inputting my licenses. I also installed WP-Crontrol and the following CRON functions appear to be running:
tribe_aggregator_cron
tribe_aggregator_process_insert_records
tribe_events_pro_process_recurring_eventsNot only is the Scheduled Imports section empty, the History section is also empty.
I have installed both plugins on a site on my local machine and it works correctly, so it seems like it might be something with the server?
Thoughts?
April 4, 2017 at 3:45 pm #1264466AndrasKeymasterHello Kathryn,
Thanks for using our plugins and welcome to the forums!
I’m really sorry about this issue with Event Aggregator. Let me try to help you with that.
By default the “Scheduled imports” and “History” tabs only show up if there is something in them. On a clean install you don’t see those 2. If you did an import, then “History” will show up and only if you have some scheduled imports set up should you see the “Scheduled imports” tab.
So most probably you have them set up, they just don’t show for some reason.
As a first step I would like to ask you to go through our conflict testing guide and see if that brings up anything. Please share with me the results and we’ll continue from there.
Thanks and cheers,
AndrasApril 5, 2017 at 8:04 am #1265022KathrynParticipantThis reply is private.
April 10, 2017 at 9:02 am #1267696AndrasKeymasterHello again Kathryn,
Thanks for hanging in there. I had some discussions with team members trying to nail down this issue.
in the Event Log, there is an error every fifteen minutes
A note on this, these are not errors as such – just useful bits of data that are recorded to help us build a better picture of the problem.
The empty “History” and “Scheduled imports” are a curious issue.
Could you possibly do the following:
Enable
define( 'WP_DEBUG', true );
and
define( 'WP_DEBUG_DISPLAY', true );
in your wp-config.php file and re-visit the pages to see if any error messages are printed out on the screen? (WP_DEBUG should already be near the bottom of the file, you just need to set it to true. And add the other line below.)
Also open the web developer tools of your browser (usually Ctrl + Shift + I), switch to the Console tab and reload the page. See if you get any error messages in your console.
Here are 2 posts that can give you some help on the browser developer tools, in case you are not familiar with them:
https://theeventscalendar.com/wordpress-web-developer-extensions/
https://theeventscalendar.com/knowledgebase/using-google-chrome-developer-tools/
Let me know if that turns up anything.Thanks,
AndrasApril 10, 2017 at 11:32 am #1267798KathrynParticipantThis reply is private.
April 10, 2017 at 11:35 am #1267800KathrynParticipantThis reply is private.
April 11, 2017 at 11:02 am #1268447AndrasKeymasterHi Kathryn,
Thanks for checking that for me. It looks like we found a bug there. I logged an internal bugticket for this so our developers can get a fix done. At this moment I don’t know how long that is going to take, but I will also check if someone can do a quick temporary fix for you. Hang in there.
Cheers,
AndrasApril 12, 2017 at 1:24 pm #1269111BrookParticipantHowdy Kathryn,
Quick update on this issue. I think there is a decent likelihood that this is a plugin conflict, however it happens when the EA record is created. Basically a plugin is changing some data that we save to the database. Thus the data will continue to be malformed even after the conflicting plugin is deactivated, because the problem happened when it was initially saved.
That said, I also think there might be an easy solution to this problem. We are not able to reproduce it on our end, but looking at the code I can see a way we might be able to protect against this sort of conflict. Would you be interested in altering a line of code within the plugin and seeing if this issue goes away for you? If it does, we can include this simple fix in an upcoming version of our plugin, and prevent issues like this regardless of how they crop up.
The code you could change is inside of /the-events-calendar/src/Tribe/Aggregator/Record/List_Table.php. On line 288 in that file you should see:
$origin_instance = Tribe__Events__Aggregator__Records::instance()->get_by_origin( $origin );
Could you try changing that to:
$origin_instance = Tribe__Events__Aggregator__Records::instance()->get_by_origin( $origin ); if ( null === $origin_instance ) { continue; }
And now revisit the page that the error was appearing on. Does the error go away. Does the page look and behave normally now?
Cheers!
– Brook
April 20, 2017 at 3:12 pm #1272410KathrynParticipantThis reply is private.
April 24, 2017 at 8:40 am #1273443BrookParticipantThis reply is private.
May 5, 2017 at 7:30 am #1279194NicoMemberHi there Kathryn,
Just wanted to share with you that a new maintenance release (for the Week of 1st May 2017) is out, including a fix for this issue 🙂
It’s actually what Brook suggested you change in the code, being baked in now.
Find out more about the release → https://theeventscalendar.com/maintenance-release-week-1st-may-2017/
Please update the plugins and let us know if the fix works for your site,
Best,
NicoMay 27, 2017 at 9:35 am #1289839Support DroidKeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Events Calendar Scheduled Imports Not Saving’ is closed to new replies.