• Resolved sergewebservice

    (@sergewebservice)


    Hi,

    all links related to month are not working in all the calendar pages. Of course, the next and previous month links are most important but they all don’t work whatever the calendar page I tried.

    The reason seems to be an error in XHR for this url:

    https://groundswellnetwork.ca/wp-json/tribe/views/v2/html/

    It was giving a 500 error and I created the folders and now it creates a 404 error. I don’t see the use of XHR for simple page links. Clearly, there is an error somewhere.

    Funnily, all the other links for day and list work fine.

    thanks,

    Serge

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support tristan083

    (@tristan083)

    Hi @sergewebservice ,

    Thank you for reaching out, and I’m sorry to learn of the difficulties.

    • Have you tried regenerating your permalinks to see if that would help?
    • Some of these situations can be attributed to caching, so I’d recommend we start with that as well. — If you have caching mechanisms like Pagespeed, Object Cache, Server Cache, etc., try purging the cache to see if that helps.
    • Otherwise, I recommend you move to do conflict testing (see:?Testing Conflicts With Themes and Other Plugins) in a?staging environment (see:?Testing Updates in a Staging Environment)?to help determine and narrow down the situation if it is caused by another plugin or the theme itself?

    Feel free to let me know how you go or if you have further questions/concerns.

    Thread Starter sergewebservice

    (@sergewebservice)

    Hi Tristan,
    not the permalinks. Not the caching since another browser does the same.
    Not muchhas changed since it was working so conflicts are unlikely.
    Today I noticed that the list link was not working either. But after I removed the folders where this was called:
    https://groundswellnetwork.ca/wp-json/tribe/views/v2/html/
    then the list link worked again. It was 404 error. Now no error with list link. The month links still are not working and gives a 500 error. Note that the 500 error is a javascript error, not a page error. The page simply returns the same calendar. The month is not changed.

    I’m sure someone can figure this out.

    thanks,
    Serge

    Plugin Support tristan083

    (@tristan083)

    Hi @sergewebservice ,

    Thank you for your message, and I’m sorry to learn of the continued difficulties.

    Would you perhaps be able to turn on WordPress debugging and share the error log here?

    Thread Starter sergewebservice

    (@sergewebservice)

    Hi Tristan,

    here is the log after a few links, some working, some not.

    [03-Jul-2023 17:45:39 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 155648 bytes) in /home/serg5177/groundswell/wp-content/plugins/event-tickets/common/src/Tribe/Utils/Strings.php on line 39
    [03-Jul-2023 17:47:15 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 49152 bytes) in /home/serg5177/groundswell/wp-content/plugins/event-tickets/common/src/Tribe/Template.php on line 925
    [03-Jul-2023 17:47:15 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 94208 bytes) in /home/serg5177/groundswell/wp-includes/functions.php on line 5309
    [03-Jul-2023 17:48:11 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 98304 bytes) in /home/serg5177/groundswell/wp-content/plugins/event-tickets/common/src/Tribe/Template.php on line 925
    [03-Jul-2023 17:48:11 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 98304 bytes) in /home/serg5177/groundswell/wp-includes/functions.php on line 3801
    [03-Jul-2023 17:48:11 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 139264 bytes) in Unknown on line 0
    [03-Jul-2023 17:48:22 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 98304 bytes) in /home/serg5177/groundswell/wp-content/plugins/event-tickets/common/src/Tribe/Template.php on line 925
    [03-Jul-2023 17:48:22 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 98304 bytes) in /home/serg5177/groundswell/wp-includes/functions.php on line 3801
    [03-Jul-2023 17:48:22 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 139264 bytes) in Unknown on line 0

    thanks,

    Serge

    Plugin Support Darian

    (@d0153)

    Hi @sergewebservice

    Thank you for sharing the logs. I will share them with the team and provide an update as soon as I have more information.

    If you do have other concerns or issues you need help with, please create another support topic as indicated in the www.ads-software.com support guidelines.

    Plugin Support Darian

    (@d0153)

    Hi @sergewebservice

    Thanks for patiently waiting.

    According to the team, the error logs is telling that there is not enough memory for some processes. That is probably the cause of the 500 error you’re experiencing.

    Please check the WP_MEMORY_LIMIT you have set for on your site and try increasing it to see if it solves the problem. If it does, then that’s the issue. Moreover, please ensure that you have the latest version of our plugins.

    Let me know how it goes.

    Thread Starter sergewebservice

    (@sergewebservice)

    Hi Darian, I think this is making sense but after I added this line in the wp-config file, there was no difference:

    define(‘WP_MEMORY_LIMIT’, ‘1000M’);

    Plugin Support Darian

    (@d0153)

    Hi @sergewebservice

    Thank you for your reply. I will forward this to the team and provide you with an update as soon as I have more details.

    Thread Starter sergewebservice

    (@sergewebservice)

    Hi Darian, note that I am not desperate since I did create replacement links with javascript:

    html0 = "/events/month/2023-"; html1 = html0+"07/"; html2 = html0+"08/"; html3 = html0+"09/"; html4 = html0+"10/"; html5 = html0+"11/"; html6 = html0+"12/";
    if (!window.location.pathname.includes("list")) document.getElementsByClassName("tribe-events-c-top-bar__nav-link")[0].parentNode.innerHTML = links added here;

    Plugin Support Darian

    (@d0153)

    Hi @sergewebservice

    I’m sorry to hear that modifying the wp-config.php file didn’t solve the issue. I understand how frustrating it can be when things don’t work as expected. Perhaps adjusting your server settings could help. You could try increasing the PHP memory limit by locating the memory limit line in the PHP.ini file and raising its value. It’s worth testing if this resolves the problem.

    If you’re not sure how to do this, please don’t hesitate to contact your hosting provider for additional guidance.

    Let me know how it goes.

    Thread Starter sergewebservice

    (@sergewebservice)

    Hi Darian, I’m glad to report that solved the issue. The memory limit was 128M and raising it to 192M solved the issue. I kept my javascript because it allows to jump to a month directly but the little arrows next and previous month are working too now. I raised the memory limit to 256M to prevent further annoyances.

    cheers,

    Serge

    Plugin Support Darian

    (@d0153)

    Hi @sergewebservice

    I’m glad to hear that everything is working as it should now. It means a lot that you took the time to confirm that. If you happen to have a moment to review, I would truly appreciate it.

    https://www.ads-software.com/support/plugin/the-events-calendar/reviews/

    I’d be closing this thread, and please do not hesitate to bump a new thread on our way. This allows us to track topics/issues efficiently and follow the WordPress Forum Guidelines

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Month links not working’ is closed to new replies.