Content creation/edition forms are empty

Hello,

Since this morning, my netlify CMS forms (creation and edition) are empty. It used to work properly and did not make any major change.

Screenshot : https://i.ibb.co/19tgqhr/empty.png

My index.html :

<!-- admin/index.html -->
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Content Manager</title>
    <!-- Include the identity widget -->
    <script src="https://identity.netlify.com/v1/netlify-identity-widget.js" type="text/javascript"></script>
  </head>
  <body>
    <!-- Include the script that builds the page and powers Netlify CMS -->
    <script src="https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js"></script>
  </body>
</html>

And my config.yml :

backend:
  name: git-gateway
  branch: main # Branch to update (optional; defaults to master)
media_folder: 'assets/images/posts/'
publish_mode: editorial_workflow


collections:
  - name: 'article'
    label: 'article'
    folder: '_posts/'
    create: true
    delete: false
    slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
    editor:
      preview: false
    fields:
      - { label: 'Layout', name: 'layout', widget: 'hidden', default: 'post' }
      - { label: 'Featured', name: 'featured', widget: 'hidden', default: true }
      - { label: 'comments', name: 'comments', widget: 'hidden', default: true }
      - { label: 'Titre', name: 'title', widget: 'string', required: true }
      - { label: 'Résumé', name: 'excerpt', widget: 'string', required: true }
      - { label: 'Date de publication', name: 'date', widget: 'datetime', required: true }
      - label: "Image de couverture"
        name: "post_image"
        widget: "image"
        choose_url: false
        media_library:
          config:
            multiple: false
      - { label: 'Source image', name: 'source_image', widget: 'string', required: true }
      - label: "Auteur"
        name: "author_id"
        widget: "select"
        options:
          - { label: "Test", value: "10" }
      - label: "Catégorie"
        name: "categories"
        widget: "select"
        multiple: false
        options: ["nba", "nfl", "mlb"]
      - { label: 'Tags', name: 'tags', widget: 'string', hint: "hint", required: true }
      - { label: 'Article', name: 'body', widget: 'markdown', required: true }

Hi @Edgar351 :wave:t6: , welcome to the forums! in a duplicate post you mentioned you enabled AMP server-side rendering integration yesterday. Did you find if that was the root cause.

Hi @SamO,

Sorry for the duplicate post, Akismet is not very friendly :slight_smile:

About AMP server-side rendering, yes it was the root cause, I disable it and rebuild and it seems to work.

Should I create a github issue about it ?

No worries! Sure you can create github issue here’s the link: Issues · netlify/netlify-cms · GitHub

No promises when this will get looked at.

1 Like