Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Plugins

Star-rating plugin error

Started by Byrge 9 years ago · 0 replies · 536 views
9 years ago

I've a problem with the plugin. On all sub-pages it's working correctly and the stars are displayed correctly, but on the homepage I get an error:

41
Twig_Error_Runtime
…/user/themes/striped/templates/partials/blog_item.html.twig 112

It's the theme Striped and this block:
{% if page.header.continue_link is sameas(false) %}
<p>{{ page.content }}</p>
{% if not truncate %}
{% set show_prev_next = true %}
{% endif %}
{% elseif truncate and page.summary != page.content %}

Twig_Error_Runtime
An exception has been thrown during the rendering of a template ("array_merge(): Argument #1 is not an array").

I didn't make changes to the settings in the star-ratings.yaml. Any idea?

I run the site locally, so I'm not able to show you the error online.

Suggested topics

Topic Participants Replies Views Activity
Plugins · by Rene, 1 week ago
2 43 1 week ago
Plugins · by Xavier, 4 weeks ago
2 53 4 weeks ago
Plugins · by Luka Prinčič, 7 years ago
3 1179 1 month ago
Plugins · by Sebastian van de Meer, 1 month ago
1 48 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 72 2 months ago