CODE
Not an ARRAY reference at lib/MT/Template/Context.pm line 614.
The lines surrounding 614 in context.pm:
CODE
612 my $no_resort = 0;
613 if (my $entries = $ctx->stash('entries')) {
614 @entries = @$entries;
615 if (%$args) {
616 my $n = $args->{lastn};
617 ## If lastn is defined, we need to make sure that the list of
618 ## entries is in descending order.
613 if (my $entries = $ctx->stash('entries')) {
614 @entries = @$entries;
615 if (%$args) {
616 my $n = $args->{lastn};
617 ## If lastn is defined, we need to make sure that the list of
618 ## entries is in descending order.
I do use lastn, set to six, in my blog's template for the main page:
CODE
<MTEntries lastn='6'>
When I delete the lastn='6' attribute, the error still occurs.
Entries are not saved and my blog cannot be updated--unless I rebuild the entire site after every post, even then, it's only on the front page and for individual archives.
That would be annoying.
Thanks for any help!