Declare a style like this:

hero_default:
  title: Default
  classes:
    .hero
  groups:
    - hero

And I get

Warning: array_merge(): Argument #1 is not an array in /app/web/modules/contrib/paragraphs_collection/src/Plugin/paragraphs/Behavior/ParagraphsStylePlugin.php on line 248

Because I missed the "-" that turns the classes key of the yaml into an array.

It would be nice if this was caught earlier or a more helpful error thrown.

Comments

jonathanshaw created an issue.

andyg5000’s picture

Kudos, you hit node 3000000 :P

gabesullice’s picture

You created node 3000000 and your account is 3 years and 3 months old 😀

jonathanshaw’s picture

I'm three of a kind :)