Home › Forums › Calendar Products › Events Calendar PRO › Set "post per page" too high now event listing times out every time.
- This topic has 10 replies, 2 voices, and was last updated 8 years, 1 month ago by
Alan Mason.
-
AuthorPosts
-
March 19, 2018 at 6:36 am #1482893
Alan Mason
ParticipantSet the number of events per page in the event listing page too high – now page times out and I cannot access the page to reset it. How can I reset it or access the events page to do so?
March 20, 2018 at 6:22 am #1483813Victor
MemberHi Alan!
Thanks for reaching out to us! I’m sorry to hear you are having that issue. Let me help you with it.
You should be able to access the settings page to modify that by navigating to the following URL:
http://yoursite.com/wp-admin/edit.php?post_type=tribe_events&page=tribe-commonThe number of events to show per page directly affects your sites performance. We have a great article that will get you started on Performance Considerations you should know about. After that, if you decide to implement a caching system then you can move to these articles: Caching: What, when and how and Caching month view HTML in transients
Finally, there is a good article George put up here that groups a set of developer plugins. It’s a bit more technical than the others but will definitely be of help if you are into development.
I hope that helps. Let me know how that goes.
Best,
VictorMarch 21, 2018 at 1:30 pm #1485364Alan Mason
ParticipantVictor,
I tried this but it still times out with a 504 error. Edit.php opens OK with pages and posts, it just times out when I try to access “post_type=tribe_events”.
Any ideas? Any idea how I can debug?March 21, 2018 at 8:10 pm #1485599Victor
MemberHi Alan!
Thanks for following up with this.
If the error started showing up after setting the events per page too high, then it is most likely to be timing out because of reaching the memory limit or the max execution time.
To confirm this, please first enable WP_DEBUG and WP_DEBUG_LOG ? This will create a debug.log file inside the /wp-content directory.
After that, try reproducing the issue a few times, so that in case there is an error, it will be saved into the debug.log file. Please share that log file with us so we can see what the problem is from there.
If you can see a fatal error in the debug.log file for exceeding the memory limit, as a starting point I would suggest following the steps outlined in this WordPress Codex article — it walks through how to increase that memory limit.
Please let me know how that goes.
Thanks,
VictorMarch 26, 2018 at 7:24 am #1488544Alan Mason
ParticipantThis reply is private.
March 27, 2018 at 3:35 pm #1490123Victor
MemberHi Alan!
Thanks for coming back with those logs.
I could not find any errors that would indicate a memory limit or max execution time issue.
500 errors are due to a server problem so, as you are getting a 504 error, I suggest you get in touch with your hosting provider to let them know about this issue and see if they can give some insight.
In the meantime, please share with us your system information by following this guide > https://theeventscalendar.com/knowledgebase/sharing-sys-info/. We’ll see if there is anything strange that would indicate an error from there.
Additionally, this can relate to a theme or plugin conflict, so to narrow the problem down please go through the steps provided in the testing for conflicts guide > https://theeventscalendar.com/knowledgebase/testing-for-conflicts/ to see if any difference.
Let us know about that.
Thanks,
VictorMarch 28, 2018 at 2:15 am #1490379Alan Mason
ParticipantThis reply is private.
March 28, 2018 at 1:04 pm #1491050Victor
MemberHi Alan!
Thanks for sending over the system information.
First, I can see the max_execution_time is set to 0(zero), which means any process could run for an unlimited amount of time. I’d suggest you get in touch with your hosting provider and ask them to increase this limit to something more convenient like 30 seconds.
Were you able to test for conflicts? Did you happen to notice a difference when deactivating all other plugins or switching to a default WordPress theme, like Twenty Seventeen? What happens if you try deactivating all plugins and switching to the Twenty Seventeen theme together? Do you notice a difference then?
If you see no difference in those conditions, then we’ll need to do some deeper troubleshooting
Please let us know how that goes.
Thanks,
VictorMarch 31, 2018 at 7:41 am #1493498Alan Mason
ParticipantI disabled the active theme and enabled 20/17 – no change.
I disabled all plugins apart from those of Tribe – events started displaying again.
I re-activated plugins (in chunks of 5) checking each time – events are still displaying.
All plugins are now re-activated – events are still displaying.
I updated any out-of-date plugins – events are still displaying.
Go figure?April 2, 2018 at 5:32 am #1494152Victor
MemberHi Alan!
Glad to know things are working fine now. It does sound strange, but as it was a 504 error it could have been something temporary from your server that is now solved.
As you marked this “Resolved”, I’ll go ahead and close this thread now, but feel free to open a new topic if anything comes up and we’ll be happy to help.
Best,
Victor -
AuthorPosts
- The topic ‘Set "post per page" too high now event listing times out every time.’ is closed to new replies.
