Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Star-rating plugin error

Started by Byrge 9 years ago · 0 replies · 870 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 Cédric, 2 years ago
4 537 2 days ago
Plugins · by DrPen, 1 month ago
2 512 1 month ago
Plugins · by renedebaaij, 2 months ago
1 385 1 month ago
Plugins · by Thomas, 2 months ago
1 403 1 month ago
Plugins · by complanar, 2 months ago
6 730 2 months ago