Getting error when trying to edit subpage in Grav

47
March 16, 2019, at 05:00 AM

Whenever I try to add or edit a subpage (i.e. a child page of a main page), I am getting this error:

Full error is: count(): Parameter must be an array or an object that implements Countable.

Offending line is: <div data-grav-array-type="container"{% if field.value_only %} data-grav-array-mode="value_only"{% endif %}{{ value|length <= 1 ? ' class="one-child"' : '' }}>

This is happening in: /grav/templates/forms/fields/array/array.html.twig.

I'm not familiar enough with Grav to understand the stack and debug it. Thanks for any help.

READ ALSO
Zend Expressive API does not return contents of objects

Zend Expressive API does not return contents of objects

I'm creating a small API, mostly for learning purposes, but, I might implement it into a project I'm working onSo far, I have installed the zend expressive skeleton application and set up my models and entities

18
What change Language codeigniter

What change Language codeigniter

I want to rend my codeigniter multilanguage and I would create a button that it can change in config/configphp $config[language]== "? "

29
Chaining webdriver methods

Chaining webdriver methods

I'd like to implement a class to carry out some common webdriver functions, but I keep getting: the driver server has died

33
Access Denied error while using PHP to connect to database in CentOS 7

Access Denied error while using PHP to connect to database in CentOS 7

I am trying to connect to remote MySQL database at address 192168

62