For some reason after updating to v2.4.0 - Build: date 20120123
I’m receiving the following errors only on my archive entry page:
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 1
Filename: channel/mod.channel.php
Line Number: 1274
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /system/codeigniter/system/core/Exceptions.php:170)
Filename: core/Common.php
Line Number: 405
If I turn off “Generate HTTP Page Headers?” in the Output and Debugging Preferences the second error goes away.
My template code is:
{exp:channel:entries channel="{current_channel}" orderby="date" sort="desc" disable="custom_fields|categories|member_data" cache="yes" refresh="60"}
{date_heading display="yearly"}
<h1 class="newsHeader">{entry_date format="%Y"}</h1>
{/date_heading}
{date_heading display="monthly"}
<h2 class="date">{entry_date format="%F"}</h2>
<ul id="archiveList">
{/date_heading}
<li><a href="http://{title_permalink=%27{template_group}%27}">{title}</a></li>
{date_footer display="monthly"}
</ul>
{/date_footer}
{/exp:channel:entries}Also, if I turn on “Enable GZIP Output?” I receive the following fatal error only on the archive entry page, the rest of my site is fine:
Fatal error: ob_start() [ref.outcontrol]: Cannot use output buffering in output buffering display handlers in /system/codeigniter/system/core/Exceptions.php on line 166
Any help would be greatly appreciated.