• Resolved tiddlytech

    (@tiddlytech)


    Hi, I’m trying to display the calendar month view on my homepage using tribe_show_month, but the page seems to go into an infinite loop and I get the following error:

    [04-Jun-2014 17:56:50 UTC] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /home/stjoesdt/public_html/wp-content/plugins/the-events-calendar/lib/tribe-template-factory.class.php on line 432
    [04-Jun-2014 17:59:51 UTC] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /home/stjoesdt/public_html/wp-includes/plugin.php on line 168

    Is there any way to access the month view on a non-calendar page without using the widget? I need more flexibility than a widget can offer.

    Thanks!

    https://ww.wp.xz.cn/plugins/the-events-calendar/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor leahkoerper

    (@leahkoerper)

    Hi tiddlytech,

    At this time there isn’t a way to display the main calendar on your homepage. We are considering adding short codes to do this, but we don’t have a specific road map for that.

    I recommend that you add your vote to the UserVoice page for this feature. That will get it on our radar for future builds, and allow you to stay updated on our progress.

    Best,
    Leah

    I don’t know if that is the same infinite loop problem, but calling tribe_show_month inside a page template caused an infinite loop echoing again and again the main content of the page. Not only the calendar itself but also the previous and next contents.

    I supose it’s a kind of conflict of queries (a reset to an offset of results maybe). I’m using BeTheme’s Muffin Builder and I created a component for it to display the calendar using the tribe_show_month function and causing the problem.

    I’ve found that not calling

    do_action( 'tribe_events_after_footer' )

    in

    the-events-calendar/views/month/content.php

    escapes the problem.

    Hope it helps!

    Plugin Contributor leahkoerper

    (@leahkoerper)

    Thanks for chiming in danielvallsestella! Hopefully that will help tiddlytech out 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘tribe_show_month causing infinite loop’ is closed to new replies.