getgrav / getgrav/grav-plugin-admin

invalid argument supplied for foreach() when opening a page after update to 1.7

Open
#2,152 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
377
Forks
225
Avg merge
11h 51m
Merged PRs (30d)
4

Description

Getting "invalid argument supplied for foreach()", when navigating to Pages and then open Home, after update to Grav 1.7 from 1.6, with Admin Plugin Version 1.10.15

Showing the error occured here:
https://github.com/getgrav/grav-plugin-admin/blob/bcf085ca0089c5816df5fbaa81f970aa1d07d76e/themes/grav/templates/pages.html.twig#L317

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.