Hi everyone,
I created a custom block (“slider”) for my layout field but always get this error inside the panel:
Cannot assign array to property Kirby\Cms\Fieldset::$icon of type ?string in file: […]/kirby/src/Cms/Fieldset.php line: 52
- I have put my custom block slider.yml inside blueprints/blocks
name: Slider
fields:
sliderimages:
type: files
- I have put the snippet slider.php inside snippets/blocks
- The Layout field in the blueprint is set up like this:
layout:
type: layout
layouts:
- "1/1"
- "1/2, 1/2"
- "2/6, 1/6, 3/6"
- "1/3, 1/3, 1/3"
- "2/3, 1/3"
- "2/6, 3/6, 1/6"
- "1/6, 3/6, 2/6"
fieldsets:
- text
- image
- slider
What am I missing?