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 in preview mode: “{“error”:“Unable to load the requested class: rte_lib”}”

Status Resolved
Add-on / Version Bloqs 4.5.1
Severity
EE Version 6.0.0

Josh Brodleit

Dec 30, 2020

looks like similar issue here as well: https://boldminded.com/support/ticket/1880

Getting that same error in EE6/Bloqs 4.5.1. Thoughts?

#1

BoldMinded (Brian)

Comment has been marked private.

#2

BoldMinded (Brian)

Comment has been marked private.

#3

Josh Brodleit

Build looks to have removed the error and seeing output, however, relationship fields in bloq atom not outputting in preview. Happy to send you a screenshot if it’s helpful.

#4

BoldMinded (Brian)

You’ll need to send more than screenshots for that… simplified code you’re using in the template, and possibly a video of the bloqs settings and the error occurring. The build I sent shouldn’t change any behavior with relationship fields. Were the relationship fields working in previews with the previous build you had and suddenly stopped working? That would surprise me a bit based on what I know what changed in the latest build.

#5

Josh Brodleit

tbh, no idea…first time I’m testing it in 6. I’ll dm ya some photos.

#6

BoldMinded (Brian)

Can you attach the photos to the ticket, or links to them in a private message instead of in Slack? I’d like to keep everything attached to this ticket if possible.

#7

Josh Brodleit

Comment has been marked private.

#8

BoldMinded (Brian)

Can you simplify that template, and remove everything that isn’t necessary to render the Relationship field? I’m not even sure which part of that template is the Relationship field. This is working for me locally… can you reproduce it in a similar template?

https://www.dropbox.com/s/kzoc2cflfxzdplf/ticket-2224-relationship-preview.png?dl=0

{exp:channel:entries entry_id="{segment_2}"}
    <h1>{title}</h1>
    {bloqs}
        {slab}
        <div data-block-name="slab">
            {heading}
            {close:slab}
        </div>
        {/close:slab}
        {/slab}

        {section}
        <div data-block-name="section">
            {heading}
            {close:section}
        </div>
        {/close:section}
        {/section}

        {video}
        <div data-block-name="video">
            {reel}
            {close:video}
        </div>
        {/close:video}
        {/video}

        {basic_content}
        <div data-block-name="content">
            <h2>{content_heading}</h2>
            {content}
            color: {bloq_var_color}
            {close:basic_content}
        </div>
        {/close:basic_content}
        {/basic_content}

        {simple_table}
        <div data-block-name="simple_table">
         total_rows: {table:total_rows}

            total_columns: {table:total_columns}
            {table}
            {/table}
            {close:simple_table}
        </div>
        {/close:simple_table}
        {/simple_table}

        {simple_grid}
        <div data-block-name="simple_grid">
         total_rows: {grid:total_rows}

            total_columns: {grid:total_columns}
            {grid}
            {/grid}
            {close:simple_grid}
        </div>
        {/close:simple_grid}
        {/simple_grid}

        {featured_entry}
        <div data-block-name="featured_entry">
         Featured:
            {relationship}
             {relationship:title}
            {/relationship}
            {close:featured_entry}
        </div>
        {/close:featured_entry}
        {/featured_entry}
    {/bloqs}
{/exp:channel:entries}
#9

Josh Brodleit

Odd, I’ve stripped it down to almost nothing and still not outputting in preview in bloqs, but it is on front-end. I tested in a fluid field and working fine there in preview. Any other thoughts?

#10

BoldMinded (Brian)

Can you share the stripped down template? Does it have embeds or anything in it?

#11

BoldMinded (Brian)

This is also why a video helps so I can see the full scenario.. is this a brand new entry? Are you editing an existing entry? If an existing entry are you adding new relationship items to a field that already has relationships assigned to it? There is a lot going on that I’m not privy to right now, so it’s hard to say what the issue can be.

#12

Josh Brodleit

Comment has been marked private.

#13

BoldMinded (Brian)

Yeah, that helps. Thanks. I feel like something is conflicting or some other variable is in play that we’re not aware of. Have you tried creating a new entry, with a single bloq that has a rel field, and using that same simple template, see if it prints out the values?

#14

BoldMinded (Brian)

Sorry, I didn’t see your “I’ll test creating a new entry and see if that works” comment 😊

#15

Josh Brodleit

The test entry caused same issue.

#16

BoldMinded (Brian)

What happens if you change the field and bloq names so they have different, unique name prefixes?

#17

BoldMinded (Brian)

The reason I say that is b/c similarly prefixed field pair names were once an issue: https://github.com/ExpressionEngine/ExpressionEngine/issues/55

Login to reply