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.

Please read about the changes to BoldMinded add-on licensing.

Ticket: Creating first Bloqs field: Undefined index: child_of

Status Resolved
Add-on / Version Bloqs 4.0.21
Severity
EE Version 5.2.6

Neil Evans

Aug 06, 2019

creating my first bloqs field - simple, root only, two fields text and one assets field.
Submit, and error displays:

Notice
Undefined index: child_of
user/addons/bloqs/mcp.bloqs.php, line 356

Severity: E_NOTICE
Warning
array_filter() expects parameter 1 to be array, null given
user/addons/bloqs/mcp.bloqs.php, line 356

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 389

Severity: E_WARNING

#1

BoldMinded (Brian)

What version of PHP are you using?

#2

BoldMinded (Brian)

Comment has been marked private.

#3

Neil Evans

Hi Brian, Tried running on 7.0.x and 7.1.x The problem seems to have cleared up after adding a few more bloqs elements - added about 5 and the error stopped.

However, i am now having issues with WYVERN editor field - it seems to break the layout when a second HTML layout is added. I cannot indent (nest) that block and the editor does not appear, just a empty textarea. I am currently looking into causes for this.

N

#4

Neil Evans

Okay, this seems to be a WYVERN issue -

Uncaught TypeError: Cannot read property ‘contentDocument’ of undefined on this line… var html = cell.find(‘iframe:first’)[0].contentDocument.body[removed];

#5

BoldMinded (Brian)

Yeah, that definitely seems like a Wyvern JS issue when new blocks are added to the page.

#6

BoldMinded (Brian)

So the build I sent stopped the child_of error?

#7

BoldMinded (Brian)

Closing this bc I’m pretty certain the latest build I sent fixes the reported issue. If you find this is not the case feel free to reopen the ticket.

Login to reply