• I have created ACF blocks for the block editor. If I now register e.g. my contact form as a reusable block, this works wonderfully.

    Now we have installed Polylang and want to put the contact form in a second reusable block.

    As soon as I create this, either via the Polylang properties or just as a second block without language assignment, I no longer have access to the reusable blocks in the block list. They are no longer available. I can still manage them, as soon as I delete the other one, where the second ACF block is, the labels work again and you can work normally. It is not because of Polylang, because without Polylang it is possible to simulate this. I think it is because of the ACF blocks and that they are then present twice. But where is the difference if I put the form several times on the pages or create several usable blocks.

    Is the problem known?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator jordesign

    (@jordesign)

    Hi @sebiev – this definitely sounds like a bit of a complicated issue. Especially given it sounds like it is related to the interaction between Gutenberg and other plugins.

    With that being the case – it would be helpful if you could clarify a little further.

    • To confirm – does this issue only occur when both PolyLang and ACF are also active?
    • Does it only occur with ACF blocks?

    In either case – it does sound like something that is related to the plugins specifically – it may be you need to reach out to ACF’s support to ask about it.

    Thread Starter sebiev

    (@sebiev)

    Hey, thank you for your answer.

    It must be related to the ACF fields, but I don’t really understand them yet.

    It could be because of the ACF block key that you can’t save the block into a reusable block and then store it once for DE and EN.

    I tested the problem without Polylang, same result.

    I cloned the ACF block and created a new block and registered them. But again, if I want to create a reusable block in the block editor for the new form, the same result occurs.

    All the reusable blocks that are installed are missing the name/designation. It only says “reusable block” everywhere. Also I don’t see the blocks in the selection list anymore. Only when I delete the said contact form EN block from the reusable blocks, it works as usual.

    Unfortunately, it only behaves like this with the contact form ACF block. The other ACF blocks do not seem to have the problem. I’ll keep checking, maybe it’s my code in the block that’s causing something unexpected to happen.

    Moderator jordesign

    (@jordesign)

    Hi @sebiev – it does sounds like it’s specifically related to ACF and that particular block. As a next step I’d recommend reaching out to ACF’s support and seeing if they have any suggestions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘reusable blocks are a headache’ is closed to new replies.