Bit of a complicated one this…
First of all, you can see the error here:
http://www.sja.co.uk/site/archive/post/10_intel_atom_netbook/
This is a custom styled “archive” page, because I wanted to be quite particular about the URI format, so I opted not to use the standard archive/permalink options.
The /site/archive template is split up with an {if} statement as follows:
{if "{segment_3}" == "category"}
*SNIP*
{if:elseif "{segment_3}" == "post"}
*SNIP*
{if:elseif "{segment_3}" == "date"}
*SNIP*
{if:else}
*SNIP*
{/if}
Now the only bit of code I can find that affects this error in any way is not in the “post” section, even though that’s the only place the error appears, it’s actually in the “date” section and is as follows:
{exp:weblog:entries weblog="posts" year="{segment_4}" month="{segment_5}" disable="member_data|pagination|trackbacks" dynamic="off"}
In particular:
year="{segment_4}" month="{segment_5}"
If I remove those parameters the error goes away.
I’m completely at a loss here, because as you can see, if you go to the /site/archive/date, the error doesn’t appear:
http://www.sja.co.uk/site/archive/date/2008/11
I’m assuming there’s likely to be some very obvious reason for this and I’ve probably overlooked it, but I’m really scratching my head at the moment - hope you can help!
BTW, I’m running the latest version of EE (1.6.6).
Thanks!
Steve.
