EE compatibility updates:

  • Publisher is EE5 compatible, but it does not currently support the Fluid field.

ExpressionEngine.com licenses:

  • 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: “Bloqs:Search for blocks titled” Search for…results in error after selecting a bloq from list

Status Client Wait
Add-on / Version Bloqs 4.3.3
Severity
EE Version 6.0.0-b.3

Josh Brodleit

Nov 05, 2020

Error Caught
Call to a member function getPreviewIcon() on null
user/addons/bloqs/mcp.bloqs.php:357

Stack Trace: Please include when reporting this error
#0 [internal function]: Bloqs_mcp->blockDefinition()
#1 ee/ExpressionEngine/Controller/Addons/Addons.php(1554): call_user_func_array(Array, Array)
#2 ee/ExpressionEngine/Controller/Addons/Addons.php(780): ExpressionEngine\Controller\Addons\Addons->getModuleSettings(‘bloqs’, ‘blockdefinition’, Array)
#3 [internal function]: ExpressionEngine\Controller\Addons\Addons->settings(‘bloqs’, ‘blockdefinition’)
#4 ee/ExpressionEngine/Core/Core.php(268): call_user_func_array(Array, Array)
#5 ee/ExpressionEngine/Core/Core.php(118): ExpressionEngine\Core\Core->runController(Array)
#6 ee/ExpressionEngine/Boot/boot.php(160): ExpressionEngine\Core\Core->run(Object(ExpressionEngine\Core\Request))
#7 manage.php(154): require_once(’...’)
#7 manage.php(154): require_once(’...’)

#1

BoldMinded (Brian)

Nov 06, 2020

Try this new build in the next comment. I still don’t understand how this is even happening. The build should just skip a block definition if it is null.

#2

BoldMinded (Brian)

Nov 06, 2020

Comment has been marked private.

#3

Josh Brodleit

Nov 08, 2020

Same error (line 379)

Call to a member function getPreviewIcon() on null
user/addons/bloqs/mcp.bloqs.php:379

Stack Trace: Please include when reporting this error
#0 [internal function]: Bloqs_mcp->blockDefinition()
#1 ee/ExpressionEngine/Controller/Addons/Addons.php(1554): call_user_func_array(Array, Array)
#2 ee/ExpressionEngine/Controller/Addons/Addons.php(780): ExpressionEngine\Controller\Addons\Addons->getModuleSettings(‘bloqs’, ‘blockdefinition’, Array)
#3 [internal function]: ExpressionEngine\Controller\Addons\Addons->settings(‘bloqs’, ‘blockdefinition’)
#4 ee/ExpressionEngine/Core/Core.php(268): call_user_func_array(Array, Array)
#5 ee/ExpressionEngine/Core/Core.php(118): ExpressionEngine\Core\Core->runController(Array)
#6 ee/ExpressionEngine/Boot/boot.php(160): ExpressionEngine\Core\Core->run(Object(ExpressionEngine\Core\Request))
#7 manage.php(154): require_once(’...’)
#7 manage.php(154): require_once(’...’)

#4

BoldMinded (Brian)

Nov 08, 2020

I still don’t know how this is happening. Did you start over and create new fields and new bloq definitions? What actions did you take to get to this point? Did you add a bloq to an entry, I assign it from the field, then try to edit the entry?

#5

BoldMinded (Brian)

Nov 09, 2020

Can you do me a favor, clear your user/cache/default_site/jumpmenu folder, and see if the error still happens.

#6

Josh Brodleit

Nov 10, 2020

That folder didn’t exist. I cleared cache and same issue.

#7

BoldMinded (Brian)

Nov 10, 2020

What about the other questions… how did you get to this point? What sort of bloq creation, deletion, editing, re-assignments have you done?

#8

BoldMinded (Brian)

Nov 10, 2020

What is the URL in the browser when you get that second/new error?

Login to reply

For add-on support, please use the Support section. General inquries and pre-sale questions can be sent to support@boldminded.com.