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 after updating Bloqs to 5.0.6
Status | Resolved |
Add-on / Version | Bloqs 5.0.6 |
Severity | |
EE Version | 7.2.9 |
Werner Gusset
Feb 20, 2023I updated Bloqs and have on some pages this error and nothing else:
Error Caught
Cannot access protected property Channel::$query_string
user/addons/publisher/ext.publisher.php:904
Stack Trace: Please include when reporting this error
#0 ee/legacy/libraries/Extensions.php(203): Publisher_ext->channel_entries_query_result()
#1 ee/legacy/libraries/Extensions.php(108): EE_Extensions->call_class()
#2 ee/ExpressionEngine/Addons/channel/mod.channel.php(2410): EE_Extensions->call()
#3 ee/ExpressionEngine/Addons/channel/mod.channel.php(261): Channel->parse_channel_entries()
#4 ee/legacy/libraries/Template.php(1799): Channel->entries()
#5 ee/legacy/libraries/Template.php(1474): EE_Template->process_tags()
#6 ee/legacy/libraries/Template.php(615): EE_Template->tags()
#7 ee/legacy/libraries/Template.php(247): EE_Template->parse()
#8 ee/legacy/libraries/Template.php(177): EE_Template->fetch_and_parse()
#9 ee/legacy/libraries/Core.php(805): EE_Template->run_template_engine()
#10 ee/legacy/controllers/ee.php(53): EE_Core->generate_page()
#11 [internal function]: EE->index()
#12 ee/ExpressionEngine/Core/Core.php(268): call_user_func_array()
#13 ee/ExpressionEngine/Core/Core.php(124): ExpressionEngine\Core\Core->runController()
#14 ee/ExpressionEngine/Boot/boot.php(184): ExpressionEngine\Core\Core->run()
#15 index.php(173): require_once(’...’)
#15 index.php(173): require_once(’...’)
Publisher is on 3.9.1. Bloqs was on 5.0.5 before update.
What do I need to do?
BoldMinded (Brian)
Feb 20, 2023
This looks like a recent change to EE’s core. The only fix for now is to go to the mod.channel.php file on line 62 and change
protected $query_string = ‘’;
to
public $query_string = ‘’;
I’m going to have to talk to the EE team about a better long term solution.
BoldMinded (Brian)
Feb 20, 2023
For reference https://github.com/ExpressionEngine/ExpressionEngine/issues/3030
BoldMinded (Brian)
Feb 20, 2023
Move this to the backlog to monitor the EE ticket b/c the code change I mentioned above is the only course of action I can provide at this time.
Werner Gusset
Feb 20, 2023
Thanks Brian
Where do I find this php file?
BoldMinded (Brian)
Feb 20, 2023
ExpressionEngine/Addons/Channel/mod.channel.php
Werner Gusset
Feb 20, 2023
It works. Thank you.
BoldMinded (Brian)
Feb 21, 2023
Werner I’m going to close this ticket as the next release of EE looks like it should have that property set to public instead of protected so this won’t happen again.