"Undefined array key" Error with Blade Directive package for Statamic

The example from the Blade Directives package returns the error "Undefined array key" when trying to display all posts from a collection.

Here is how i have used the example in my blade template.

@collection('articles', ['orderBy' => 'desc'] @if($entry == 0)

No Posts Found

    {{ $entry['title'] }}


I have tried the if statement from the example but that also returns the error.


No Posts Found


Any help on why the error occurs or what is causing it would be great.

>>>>>>> Unanswered <<<<<<<
2 Replies
1 Follower