Array_replace_recursive(): Argument #1 ($array) must be of type array, bool given in file:

Hello,

i downloaded the kirby 3 plainkit and a the following is not working as usual. This is the broken Meta site i created which worked totally normal before. Now the textarea and files field is just broken.

My .yml file

title: Meta

columns:
  left:
    width: 1/3
    sections:
      left-content:
        type: fields
        fields:
          searchdescription:
            label: Search Description
            type: textarea
          favicon:
            label: Favicon
            type: files
            max: 1


  right:
    width: 1/3
    sections:
      right-content:
        type: fields
        fields:
          socialname:
            label: Social Name
            type: text
          socialdescription:
            label: Social Description
            type: textarea
          sociallink:
            label: Social Link
            type: text
          socialimg:
            label: Social Image
            type: files
            layout: cards
            images:
              cover: true
              ratio: 3/4

What could it be? type: text is working as always.

Thanks in advance :slight_smile:

Don’t know where the error is coming from, but your yaml is invalid. Don’t ever use dashes in key names.

So replace:

with right_content or rightContent.

okay, thanks!
but yeah, that didn’t solve it.

Could you provide some more information about your setup: Kirby version, PHP version, server type, installed plugins… Apart from the dashes, the yaml file looks ok.

I host the site on united domains, i think its an Apache Server, PHP Version 8.0, Kirby Version 3.6, i didn’t install any plugins.

Have you done anything else to the plainkit besides having those blueprints?

The textarea and files fields both share the upload and filepicker mixins that the line mentioned in the error is trying to load. Does this ring any bells?

If you’d answer any of the two questions with “no”, try reinstalling kirby. Maybe some files didn’t transfer correctly. You could also check if all of “these” files are present in your installation (in kirby/config/fields/mixins), especially the upload.php and filepicker.php files.

The kirby folder wasn’t complete. I think something went wrong when i mixed things together. Sorry and thanks!