Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Error thrown when nesting bloqs.

Status Resolved
Add-on / Version Bloqs 4.2.3
Severity
EE Version 4.3.6

Tiffany Ring

Apr 29, 2020

I enabled nesting in a new bloqs field and when I have more than one child bloq field enabled I get the following error.

An error occurred a nested Bloq field, probably because you forgot to add the {close:[block_name]}{/close:[block_name]} tag pair.

I copied the example code and made sure that ever bloq has a close tag pair but I’m still getting the error.

{card_block}
    {card_section}
    <div data-block-name="card_section">
        {heading}
    {close:card_section}
    </div>
    {/close:card_section}
    {/card_section}
{card_row}
    <div data-block-name="card_row">
        {heading}
        {subheading}
    {close:card_row}
    </div>
    {/close:card_row}
    {/card_row}

    {card}
    <div data-block-name="card">
        {card_copy}
    {close:card}
    </div>
    {/close:card}
    {/card}
{/card_block}
#1

BoldMinded (Brian)

Hi, Tiffany. I’m unable to replicate this. I set a field to not nestable, created a new entry with some blocks, they rendered fine on the front-end. Then I made the field nestable, moved one block as a child of another, saved, and it rendered fine on the front-end as well.

Can you provide more information… screenshots, video etc of the issue occurring?

Did you try creating a brand new Bloqs field and a couple of new blocks to try to replicate the issue?

In your example code all of your blocks are prefixed with “card_”, have you tried replicating it with blocks that do not share the same prefix?

#2

BoldMinded (Brian)

Closing this b/c it’s been over a month with no response.

Login to reply