You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When clicking on a theme, an error is shown: An exception has been thrown during the rendering of a template ("Array to string conversion") in "partials/themes-details.html.twig" at line 72.
As error say, it's because Grav try to show an array of keywords as a string. You should replace: {{ theme.keywords }}
By something like: {% for keyword in theme.keywords %}{{ keyword }}{% if not loop.last %}, {% endif %}{% endfor %}
Edit: I think this issue should be moved to the admin plugin. Excuse me I discovered Grav few minutes ago. ^^
The text was updated successfully, but these errors were encountered:
When clicking on a theme, an error is shown:
An exception has been thrown during the rendering of a template ("Array to string conversion") in "partials/themes-details.html.twig" at line 72.
As error say, it's because Grav try to show an array of keywords as a string. You should replace:
{{ theme.keywords }}
By something like:
{% for keyword in theme.keywords %}{{ keyword }}{% if not loop.last %}, {% endif %}{% endfor %}
Edit: I think this issue should be moved to the admin plugin. Excuse me I discovered Grav few minutes ago. ^^
The text was updated successfully, but these errors were encountered: