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.

General

Twig Error when I click into Quark (Merge Filter)

Started by R Andom 7 years ago · 4 replies · 987 views
7 years ago

In the admin panel, when I click into Themes and then Quark (2.0.0) I get the following error:

Twig \ Error \ RuntimeError
The merge filter only works with arrays or "Traversable", got "string" as first argument.

I tried re-installing Quark but get the same error, so I'm thinking someone is broken somewhere else. Any ideas? The site itself is functioning fine, but I want to see if this is related to an issue of a broken image in the header.

7 years ago

I don't see this, but it's likely it your quark.yaml configuration. Why not paste that here, and i'll see if anything jumps out as an issue...

7 years ago

in user/theme/quark, the quark.yaml is:

enabled: true
production-mode: true
grid-size: grid-lg
header-fixed: true
header-animated: true
header-dark: false
header-transparent: false
sticky-footer: true
blog-page: '/blog'
spectre:
exp: false
icons: false

nothing there looks ridiculous?

7 years ago

the bottom bit should be:

YAML
spectre:
  exp: false
  icons: false

Notice the indents.. they are important.

7 years ago

Fixed the indents, cleared the cache, but same issue. I'm going to poke around any files I've changed - or even just looked at, see what I broke.

Suggested topics

Topic Participants Replies Views Activity
General · by Jerry Hunt, 4 days ago
2 80 9 hours ago
General · by pamtbaau, 14 hours ago
1 51 13 hours ago
General · by Andy Miller, 1 day ago
0 44 1 day ago
General · by Marcel, 12 months ago
6 346 5 days ago
General · by Duc , 5 days ago
3 40 5 days ago