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: Example Code Not Displaying

Status Resolved
Add-on / Version Bloqs 3.3.1
Severity
EE Version 4.0.5

Digital Designs

Jan 18, 2018

Description:
After clicking on a Bloq field the example code at the bottom does not show up, it says “loading…” but never loads.

Detailed steps to reproduce the issue:
1. Go to Developer/Fields
2. Click on Bloq field

 

 

#1

BoldMinded (Brian)

Make sure you grab the latest version of Bloqs, 3.3.2 was released today and I’m 99.9% sure it’ll fix the issue you’re seeing.

#2

Digital Designs

Hi thanks, I upgraded to the latest version, unfortunately still not seeing that example code though.

#3

BoldMinded (Brian)

Oh, I didn’t see the screenshot the first time. I thought you were referring to the example code not working when you used it on the front-end. Look in your network requests tab, you should see an ajax request that fetches the template code. What is the response of that ajax request?

#4

Digital Designs

I believe this is what you are looking for, but not completely sure. I attached another screenshot as well.

{”messageType”:”error”,”message”:”No such property: ‘addons’ on EllisLab\ExpressionEngine\Legacy\Facade”,”trace”:[“#0 ee\/EllisLab\/ExpressionEngine\/Legacy\/Facade.php(29): EllisLab\ExpressionEngine\Legacy\Facade->get(‘addons’)”,”#1 user\/addons\/bloqs\/mcp.bloqs.php(775): EllisLab\ExpressionEngine\Legacy\Facade->__get(‘addons’)”,”#2 ee\/legacy\/libraries\/Actions.php(208): Bloqs_mcp->fetch_template_code()”,”#3 ee\/legacy\/libraries\/Core.php(523): EE_Actions->__construct(true, Object(Closure))”,”#4 ee\/legacy\/controllers\/ee.php(58): EE_Core->generate_action(true)”,”#5 [internal function]: EE->index()”,”#6 ee\/EllisLab\/ExpressionEngine\/Core\/Core.php(229): call_user_func_array(Array, Array)”,”#7 ee\/EllisLab\/ExpressionEngine\/Core\/Core.php(109): EllisLab\ExpressionEngine\Core\Core->runController(Array)”,”#8 ee\/EllisLab\/ExpressionEngine\/Boot\/boot.php(146): EllisLab\ExpressionEngine\Core\Core->run(Object(EllisLab\ExpressionEngine\Core\Request))”,”#9 index.php(172): require_once(‘…’)”,”#10 {main}”]}

#5

BoldMinded (Brian)

On line 773 of mcp.bloqs.php, try adding this

ee()->load->library('addons');

see: https://d.pr/i/SN6z9E

#6

Digital Designs

Alright, that did the trick! Thank you.

Login to reply