Publisher is EE6 compatible, but it does not support the Fluid field.

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: Get Error When Trying to Access Bloqs Settings

Status Resolved
Add-on / Version Bloqs 4.6.1
Severity
EE Version 6.0.3

Michael Coogan

Apr 14, 2021

When trying to access bloqs settings in backend (manage.php?/cp/addons/settings/bloqs) I get the following error:

Error Caught
Call to undefined method BoldMinded\Bloqs\Database\Adapter::getTemplateDefinitionsUsage()
user/addons/bloqs/mcp.bloqs.php:215
Stack Trace: Please include when reporting this error
    #0 [internal function]: Bloqs_mcp->index()
    #1 ee/ExpressionEngine/Controller/Addons/Addons.php(1397): call_user_func_array()
    #2 ee/ExpressionEngine/Controller/Addons/Addons.php(701): ExpressionEngine\Controller\Addons\Addons->getModuleSettings()
    #3 [internal function]: ExpressionEngine\Controller\Addons\Addons->settings()
    #4 ee/ExpressionEngine/Core/Core.php(251): call_user_func_array()
    #5 ee/ExpressionEngine/Core/Core.php(111): ExpressionEngine\Core\Core->runController()
    #6 ee/ExpressionEngine/Boot/boot.php(161): ExpressionEngine\Core\Core->run()
    #7 public_html/manage.php(154): require_once('...')
    #7 public_html/manage.php(154): require_once('...')

Additionally, on the front end the

{bloqs:children}

tag is not rendering correctly. Image included.

Everything seems to work in my local dev environment but when I upload to staging server this issues arise.

#1

BoldMinded (Brian)

Apr 14, 2021

If everything works locally but not on staging, can you identify what the difference is between those environments?

Have you tried the staging db locally?

#2

BoldMinded (Brian)

Apr 14, 2021

In the other ticket you mentioned rbis was an opcache issue and it’s since been resolved?

#3

Michael Coogan

Apr 14, 2021

Brian,

Had a similar issue on another site just now. Disabled OPCACHE and everything started working properly. I use forge for hosting and it seems like I’ll just have to make this part of my update process. No big deal.

#4

Michael Coogan

Apr 14, 2021

Probably should have read this in forge control panel:

“Optimizing the PHP OPcache for production will configure OPcache to store your compiled PHP code in memory to greatly improve performance.

If you choose to optimize OPcache for production, you should verify that your deployment script reloads the PHP FPM service at the end of each deployment.”

Login to reply