Empty error in panel – where to investigate?

Hello, everyone!

I was just about to add some new content to my builder-based page, but somehow there’s an empty error message box when I try to add a new section (after clicking a ‘+’, for instance):

Here’s my blueprint:


title: Sections

preset: page

pages: true

fields:

  builder:
    label: Sections
    type: builder
    fieldsets:
      empty:
        label: ---
        snippet: sections/empty
        fields: 
          line:
            type: line
      photothumbs:
        label: Photo Thumbs
        snippet: sections/photothumbs
        fields: 
          title:
            label: Title
            type: text
      whatsnext:
        label: What's next?
        snippet: sections/whatsnext
        fields: 
          line:
            type: line
      intro:
        label: Intro
        fields:
          initial_letter:
            label: Initial
            type: text
            width: 1/5
          intro_sentence:
            label: Intro Sentence
            type: text
            width: 4/5
          text:
            label: Text
            type: textarea
      multicolumn:
        label: Multicolumn
        fields:
          offset:
            label: Offset Columns
            type: number
          columns:
            label: Columns
            type: builder
            fieldsets:
              image_column:
                label: Image Column
                fields:
                  width:
                    label: Width
                    type: number
                  mobile_width:
                    label: Mobile Width
                    type: number
                  custom_class:
                    label: Custom Class
                    type: text
                  picture:
                    label: Image
                    type: files
                  subtitle:
                    label: Caption
                    type: text
                  caption_alignment:
                    label: Caption Alignment
                    type: radio
                    options:
                      left: Left
                      center: Center
                      right: Right
                  copyright:
                    label: Copyright
                    type: text
              text_column:
                label: Text Column
                fields:
                  width:
                    label: Width
                    type: number
                  custom_class:
                    label: Custom Class
                    type: text
                  text:
                    label: Text
                    type: textarea
              quote_column:
                label: Quote Column
                fields:
                  width:
                    label: Width
                    type: number
                  alignment:
                    label: Alignment
                    type: radio
                    options:
                      left: Left
                      center: Center
                      right: Right
                  text:
                    label: Text
                    type: textarea
                  citation:
                    label: Citation
                    type: text
      text:
        label: Text
        fields:
          text:
            label: text
            type: textarea      
      cards:
        label: Cards
        fields:
          offset:
            label: Offset Columns
            type: number
          class:
            label: Class
            type: text
          title:
            label: Title
            type: text
          cards:
            label: Card List
            type: builder
            fieldsets:
              card:
                label: Card
                fields:
                  title:
                    label: Card Title
                    type: text
                  text:
                    label: Card Text
                    type: textarea
                  footer:
                    label: Footer
                    type: text
                  picture:
                    label: Background Image
                    type: files

      project_gallery:
        label: Project Gallery
        fields:
          headline:
            label: Headline
            type: text
          category:
            label: Category
            type: select 
            default: research
            options: 
              research: Research
              weekend: Weekend
              start-up: Start-Up
              teaching: Teaching


      video_banner:
        label: Video Banner
        fields:
          videofile:
            label: Video File
            type: text
          fallback_image:
            label: Fallback Image
            type: files
          opener:
            label: Opener
            type: text
          headline:
            label: Headline
            type: text
          subtitle:
            label: Subtitle
            type: text
          afterthought:
            label: Afterthought
            type: text
          darktitle:
            label: Dark Title
            type: toggle

      video_player:
        label: Video Player
        fields: 
          title: 
            label: Title
            type: text
          videos:
            label: Videos
            type: multiselect
            search: true
            options: query
            query:
              fetch: site.find("videos").children

      press_mentions:
        label: List - Press Coverage
        snippet: sections/press_mentions
        fields: 
          text:
            label: Title
            type: text

      talks:
        label: List - Talks
        snippet: sections/talks
        fields: 
          text:
            label: Title
            type: text

      publications:
        label: List - Publications
        snippet: sections/publications
        fields: 
          text:
            label: Title
            type: text

      subpage_list:
        label: List - Subpages
        snippet: sections/subpagelist
        fields: 
          text:
            label: Title
            type: text

      image_stretch:
        label: Image Stretch
        fields:
          picture:
            label: Background Image
            type: files
          subtitle:
            label: Subtitle
            type: text
          custom_class:
            label: Custom Class
            type: text
          copyright:
            label: Copyright
            type: text
          caption_alignment:
            label: Caption Alignment
            type: radio
            options:
              left: Left
              center: Center
              right: Right

      image_banner:
        label: Image Banner
        fields:
          picture:
            label: Background Image
            type: files
          opener:
            label: Opener
            type: text
          headline:
            label: Headline
            type: text
          subtitle:
            label: Subtitle
            type: text
          afterthought:
            label: Afterthought
            type: text
          darktitle:
            label: Dark Title
            type: toggle
          darktitle: 
            label: Dark Title
            type: toggle
          darkimagecredit: 
            label: Dark Image Credit
            type: toggle
          bottomgradient: 
            label: Bottom Gradient
            type: toggle
          image_credit:
            label: Image Credit
            type: text
            
  darkmenu: 
    label: Dark Menu
    type: toggle

  related:
    label: Related Content
    type: multiselect
    search: true
    options: query
    query:
      fetch: site.index

Where can I investigate the root of this problem and potentially find an error message?

Any ideas on this are appreciated. Thank you! :slight_smile:
Fabian

What Kirby version do you use? The builder plugin is deprecated. You should switch to the built in blocks and layout fields.

I see – is there an easy (and safe?) way to migrate from Builder to Blocks and Layout?

I’m running version 3.6.1.1 right now.

Someone recently created an update for the builder, let me find it.

Found it: GitHub - mrflix/kirby-builder: A site builder extension for Kirby CMS

And there is some code around to migrate from Builder to blocks, but if you want previews, and you have a lot of custom blocks, this might still be some work.

Sounds great, I’ll check it out! Thank you!