All add-ons currently require PHP 7.4 or greater.

On July 4th 2024 PHP 8.2 will be the new minimum requirement for all add-ons. Expect any add-on released after that date to require 8.2 or greater. Some releases may not immediately take advantage of 8.x specific features in PHP, which means you might, be able to continue using new releases in PHP 7.4, however, if you experience an error the first thing you should do is update to PHP 8.2 then create a support ticket if the error persists.

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, 2023

I 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?

#1

BoldMinded (Brian)

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.

#2

BoldMinded (Brian)

For reference https://github.com/ExpressionEngine/ExpressionEngine/issues/3030

#3

BoldMinded (Brian)

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.

#4

Werner Gusset

Thanks Brian

Where do I find this php file?

#5

BoldMinded (Brian)

ExpressionEngine/Addons/Channel/mod.channel.php

#6

Werner Gusset

It works. Thank you.

#7

BoldMinded (Brian)

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.

Login to reply