Empty post grid error message
-
When I insert a Post Grid which for the time being returns no posts but it will in due course, I get this error message both when I open the post to edit it and at the top of the preview page:
Invalid argument supplied for foreach() in …. block-post-grid/index.php
When I set the grid so that it has entries error disappears.
Having an empty grid is valid if you are about to start publishing articles in a new category. As soon as I publish article 2 the grid will have entries and I don’t want to have to remember to go back to article 1 to re-edit it!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Empty post grid error message’ is closed to new replies.