All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Low Events Archive Tag is not working on EE v2.6.1 and LE v1.2 after module upgrade

V 18 Feb 2014 11:22 problem, complete

Hi,

On a dev site, we've recently upgraded our EE from v2.6.1 to v2.7.3, and Low Events from v1.1.4 to 1.2

However we're now getting an timeout error with the 'Archive' tag, which is weird because we haven't changed any template code:

Fatal error: Maximum execution time of 90 seconds exceeded in /system/expressionengine/third_party/low_events/mod.low_events.php on line 844

If we remove the following snippet from the main 'Events' page, it works again (i.e. current and future events are listing as expected). It just seems to be the archive tab which is imploding:

 
<div class="row">
<div class="col-md-6">
<h3>By month...</h3>
{exp:low_events:archive channel="events" show_passed="yes" show_upcoming="no" sort="desc"}
{if count == 1}<ul>{/if}
<li>
<a href="{path="/layout/events-archive/{date_url}"}">{month} {year}</a>
</li>
{if count == total_results}</ul>{/if}
{/exp:low_events:archive}
</div>
<div class="col-md-6">
<h3>By year...</h3>
{exp:low_events:archive channel="events" unit="year" show_passed="yes" show_upcoming="no" sort="desc"}
{if count == 1}<ul>{/if}
<li>
<a href="{path="/layout/events-archive/{date_url}"}">{year}</a>
</li>
{if count == total_results}</ul>{/if}
{/exp:low_events:archive}
</div>
</div>


=> We've checked the documentation in case our template code was out of date, but it looks fine.

=> On our old install, (LE v.1.1.4), the 'events' page loads in less than a second (and the archive links are printed out as expected).

Replies

  1. V 18 Feb 2014 11:38

    UPDATE: I got the page to output something, but its really strange - its outputting hundreds of years as follows:

    By year...
    2014
    2013
    2012
    2011
    2010
    2009
    2008
    2007
    2006
    2005
    2004
    2003
    2002
    2001
    2000
    1999
    ...
    ...
    ...
    0002
    0001
    0000
    1970

    Nothing is being printed for the 'month' archive tag.

  2. Low 18 Feb 2014 12:21

    I'll need to take a look myself. Please send SuperAdmin login credentials to hi at gotolow dot com if you can.

  3. V 18 Feb 2014 13:28

    OK will send in a few minutes.