Support

Account

Home Forums Gutenberg Block disappear when adding in admin

Solving

Block disappear when adding in admin

    • mando

    • August 21, 2020 at 3:14 pm

    I am getting started with ACF Blocks. I am following the article doc on this site.
    To test, my set up is:

    WP 5.5
    ACF 5.9 Pro

    1- Clean install of WP
    2- Only ACF installed
    3- Default 2020 theme
    4- One custom field: Image

    My functions file is exactly as per the doc (changed the field name to match mine) and the template-part is exactly as per the docs (changed to reflect only my field).

    I see it show when I select the block to add it, but when I select it, it collapses on itself. Its still there because if I click around it I can select it and get the field options on the right:

    https://www.evernote.com/l/APcldHpfcyhIfKt55rgJGb9tzxze3lDL8s4

    Functions file:
    https://pastebin.com/6t3jRLni

    Template Part:
    https://pastebin.com/Du6iupd1

    Admin:
    https://www.evernote.com/l/APd-Mi5zw3BAT6-salf4FO5xjORrkwaSfKA

    Thank you!

  • Hi, I am having the same issue here… have you found a solution?

  • I had to re-save some of my blocks custom fields in the custom field editor. I don’t really know why some of them needed this while others didn’t, but this solved the issue that appears to be the same one you’re seeing.

    • mando

    • August 23, 2020 at 2:58 am

    No, I emailed support and nothing. I thought it was something I was doing wrong. I can’t get any of the blocks to work, I’m stuck.

  • I’ve replicated this on a second site, simply hitting “update” on the field group assigned to that block type resolves my issue with the ACF block not displaying in the editor.

    • mando

    • August 27, 2020 at 6:11 am

    @niaccurshi
    Ive tried that and it hasn’t worked for me to fix the issue.

    • Matiii

    • September 21, 2020 at 10:20 pm

    Rozwiązał juz ktos problem?

    • Matiii

    • September 21, 2020 at 10:20 pm

    Rozwiązał juz ktos problem?

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.