php errors in composer

Permalink
I am trying to setup a simple blog.

Added a date nav block and page list block but get the following error:

Date Navigation
Warning: Invalid argument supplied for foreach() in /var/www/vhosts/cooksendeavour.com/httpdocs/concrete5.6.3.1/concrete/blocks/date_nav/view.php on line 18
Page List
Warning: Invalid argument supplied for foreach() in /var/www/vhosts/cooksendeavour.com/httpdocs/concrete5.6.3.1/concrete/blocks/page_list/view.php on line 11


Any ideas how to solve please?
I have closely followed the instructions but is this a bug?

trixiemay
 
Remo replied on at Permalink Reply
Remo
Is it possible that the warning is just thrown because there's nothing to show? Does the message go away if you create a blog post?
Worst case, switch to the production mode (type debug in the search box) and the warnings will be hidden..

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.