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: Bloqs / simple grids error

Status Resolved
Add-on / Version Bloqs 1.7.3
Severity
EE Version 7.3.14

Jon Toney

Dec 20, 2023

Seemed to be working fine as I just created two new bloqs prior to the issue happening. However, after trying to create a new bloq w/ a simple grid, the following message message populated on a new screen:

this is on a local dev environment running in Heard:

————————————————————-

Deprecated
Creation of dynamic property BoldMinded\Bloqs\Model\BlockDefinition::$lang is deprecated
ee/legacy/libraries/Form_validation.php, line 72

Severity: E_DEPRECATED
Deprecated
Creation of dynamic property BoldMinded\Bloqs\Model\BlockDefinition::$input is deprecated
ee/legacy/libraries/Form_validation.php, line 73

Severity: E_DEPRECATED
Deprecated
Creation of dynamic property BoldMinded\Bloqs\Model\BlockDefinition::$security is deprecated
ee/legacy/libraries/Form_validation.php, line 74

Severity: E_DEPRECATED
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:120)
ee/legacy/core/Input.php, line 262

Severity: E_WARNING
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:120)
ee/legacy/libraries/Functions.php, line 460

Severity: E_WARNING

————————————————————-

Possibly related: I did also just update my php ini file to due to max_input_var being too low and bumped it up to 8000 which took care of that issue. But I do beleieve I was getting this error prior to me fixing the max vars situation.

#1

BoldMinded (Brian)

can you share a screenshot of what the block definition is you’re creating before you save it so I can see what the field name are and what you’re trying to create, then I can try to replicate it locally.

#2

Jon Toney

Screen shots uploaded

#3

BoldMinded (Brian)

Ok, I think this is an EE issue, not a Bloqs issue. Bloqs is calling this function that is located in the Form_validation.php library. This needs to be fixed in EE’s core.

public function setCallbackObject($obj)
    {
        $obj->lang = & ee()->lang;
        $obj->input = & ee()->input;
        $obj->security = & ee()->security;
        $this->CI = & $obj;
    }

I’ll make a Github ticket for EE and close this out.

#4

BoldMinded (Brian)

Actually, I take that back. The next comment will have a new build that should fix it. The issue is with that function dynamically setting properties on an object I’m passing it, which I didn’t realize it was doing, and PHP 8.2+ does not like that.

#5

BoldMinded (Brian)

Comment has been marked private.

Login to reply