Save Failed: Trying to get property 'length' of non-object

image

I just searched everywhere for this error I just couldn’t manage to resolve it.

What I did:

  • fixed Permissions
  • Cleaned Up my Frontmatter
  • Deleted everything

Hopefully, someone can figure this out.

What’s the template and blueprint?

1 Like

My Template is a self-built one // based on Quark

Here is the Blueprint:
extends@: default

form:
fields:
tabs:

  fields:
    content:
      fields:
        header.shop:
          type: editor
          validate:
            type: textarea
        header.spotify:
          type: editor
          validate:
            type: textarea

    Music:
      type: tab
      title: Music
      fields:
        header.cover:
          type: filepicker
          label: Hero Image
          preview_images: true
          description: 'If not specified, this defaults to the first image found in the page''s folder'
    
        header.cover_webp:
          type: filepicker
          label: Hero Image WebP
          preview_images: true
          description: 'If not specified, this defaults to the first image found in the page''s folder'
        header.album:
          type: selectize
          selectize:
              options:
                - text: "true"
                  value: "true"
                - text: "false"
                  value: "false"   
        header.links:
          name: Links
          type: list
          label: Vendor Links

          fields:
            .vendor:
              type: selectize
              selectize:
                  options:
                    - text: "Apple Music"
                      value: "/user/themes/siskaselement/images/applemusic_siskaselement.com.png"
                    - text: "iTunes"
                      value: "/user/themes/siskaselement/images/itunes_siskaselement.com.svg"
                    - text: "Youtube Music"
                      value: "ytmusic"
                    - text: "Amazon Music"
                      value: "/user/themes/siskaselement/images/amazon_siskaselement.com.png"
                    - text: "Google Play Music"
                      value: "googleplay"
                    - text: "Deezer"
                      value: "/user/themes/siskaselement/images/deezer_siskaselement.com.svg"
                    - text: "Tidal"
                      value: "/user/themes/siskaselement/images/tidal_siskaselement.com.png"
                    - text: "Spotify"
                      value: "/user/themes/siskaselement/images/spotify_siskaselement.com.svg"
              size: large
              label: Vendors
              classes: fancy
              help: Put the name of your music vendor into the field
              validate:
                  type: commalist
            .alttext:
              type: text
              label: Alttext
            .url:
              type: text
              label: Link
            .id:
              type: text
              label: Id
    blog:
      type: tab
      title: Blog Item

      fields:

        header_options:
          type: section
          title: Header Options
          underline: true

        header.continue_link:
          type: toggle
          toggleable: true
          label: DF Style Link
          help: Daring Fireball style title link
          highlight: 1
          options:
            1: PLUGIN_ADMIN.ENABLED
            0: PLUGIN_ADMIN.DISABLED
          validate:
            type: bool

        header.header_image:
          type: toggle
          toggleable: true
          label: Display Header Image
          help: Enabled displaying of a header image
          highlight: 1
          options:
            1: PLUGIN_ADMIN.ENABLED
            0: PLUGIN_ADMIN.DISABLED

        header.header_image_file:
          type: text
          toggleable: true
          label: Image File
          help: image filename that exists in the page folder. If not provided, will use the first image found.
          placeholder: "For example: myimage.jpg"

        header.header_image_width:
          type: text
          toggleable: true
          label: Image Width
          size: small
          help: Header width in px
          placeholder: Default is 900
          validate:
            type: int
            min: 0
            max: 5000

        header.header_image_height:
          type: text
          toggleable: true
          label: Image Height
          size: small
          help: Header height in px
          placeholder: Default is 300
          validate:
            type: int
            min: 0
            max: 5000

        summary:
          type: section
          title: Summary
          underline: true

        header.summary.enabled:
          type: toggle
          toggleable: true
          label: Summary
          highlight: 1
          options:
            1: PLUGIN_ADMIN.ENABLED
            0: PLUGIN_ADMIN.DISABLED

        header.summary.format:
          type: select
          toggleable: true
          label: Format
          classes: fancy
          options:
            'short': 'Use the first occurence of delimiter or size'
            'long': 'Summary delimiter will be ignored'

        header.summary.size:
          type: text
          toggleable: true
          label: Size
          classes: large
          placeholder: 300
          validate:
            type: int
            min: 1
        

        header.summary.delimiter:
          type: text
          toggleable: true
          label: Summary delimiter
          classes: large
          placeholder: ===

      import@:
        type: partials/blog-bits

I feel like this started with multilanguage.

Could you fix your code block so that full blueprint would be in it?