Set "post per page" too high now event listing times out every time.

Home Forums Calendar Products Events Calendar PRO Set "post per page" too high now event listing times out every time.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1482893
    Alan Mason
    Participant

    Set 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?

    #1483813
    Victor
    Member

    Hi 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-common

    The 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,
    Victor

    #1485364
    Alan Mason
    Participant

    Victor,
    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?

    #1485599
    Victor
    Member

    Hi 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,
    Victor

    #1488544
    Alan Mason
    Participant

    This reply is private.

    #1490123
    Victor
    Member

    Hi 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,
    Victor

    #1490379
    Alan Mason
    Participant

    This reply is private.

    #1491050
    Victor
    Member

    Hi 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,
    Victor

    #1493498
    Alan Mason
    Participant

    I 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?

    #1494152
    Victor
    Member

    Hi 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

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Set "post per page" too high now event listing times out every time.’ is closed to new replies.