Skip to content

TypeError: Cannot read properties of undefined (reading 'get') #6159

@gffweb

Description

@gffweb

Describe the bug

To Reproduce

Expected behavior

Screenshots

Applicable Versions:

  • Netlify CMS version: netlify-cms-app@2.15.19
  • Git provider: git-gateway
  • Browser version: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36

CMS configuration

backend:
  name: git-gateway
  branch: master
  commit_messages:
    create: Create {{collection}} “{{slug}}”
    update: Update {{collection}} “{{slug}}”
    delete: Delete {{collection}} “{{slug}}”
    uploadMedia: "[skip ci] Upload “{{path}}”"
    deleteMedia: "[skip ci] Delete “{{path}}”"
media_folder: static/img
public_folder: /img
collections:
  - name: components
    label: Components
    files:
      - file: src/pages/components/navbar.md
        label: Navbar
        name: navbar
        fields:
          - label: Template Key
            name: templateKey
            widget: hidden
            default: navbar-component
          - label: Logo
            name: logo
            widget: image
          - label: Name
            name: name
            widget: string
          - label: Profession
            name: profession
            widget: string
          - label: Links
            name: links
            widget: list
            fields:
              - label: URL
                name: linkUrl
                widget: string
              - label: Text
                name: text
                widget: string
              - label: Outlined
                name: outlined
                widget: boolean
      - file: src/pages/components/footer.md
        label: Footer
        name: footer
        fields:
          - label: Template Key
            name: templateKey
            widget: hidden
            default: footer-component
          - label: Meeting Callout Text
            name: meetingCalloutText
            widget: string
          - label: Meeting Button Text
            name: meetingButtonText
            widget: string
          - label: Email List Callout Text
            name: emailListCalloutText
            widget: string
          - label: Email List Placeholder Text
            name: emailListPlaceholderText
            widget: string
          - label: Email List Button Text
            name: emailListButtonText
            widget: string
          - label: Email List Successfully Added Text
            name: emailListAddedText
            widget: string
          - label: Refund Status Callout Text
            name: refundStatusCalloutText
            widget: string
          - label: Refund Status Federal Button Text
            name: refundStatusFederalButtonText
            widget: string
          - label: Refund Status Federal Url
            name: refundStatusFederalUrl
            widget: string
          - label: Refund Status State Button Text
            name: refundStatusStateButtonText
            widget: string
          - label: Refund Status States
            name: refundStatusStates
            widget: list
            fields:
              - label: Abbreviation
                name: abbreviation
                widget: string
              - label: URL
                name: url
                widget: string
          - label: Links
            name: links
            widget: list
            fields:
              - label: URL
                name: linkUrl
                widget: string
              - label: Text
                name: text
                widget: string
          - lable: Email
            name: email
            widget: string
          - lable: Phone Number
            name: phoneNumber
            widget: string
          - lable: Address
            name: address
            widget: text
          - lable: Address URL
            name: addressUrl
            widget: string
          - lable: Facebook URL
            name: facebookUrl
            widget: string
          - lable: LinkedIn URL
            name:
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions