EE4 compatibility updates:
- Publisher is EE4 and EE5 compatible, but it does not currently support the Fluid field (it's in the works).
- Reel is EE4 and EE5 compatible, but it does not currently support the Fluid field.
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, 2019creating 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
BoldMinded (Brian)
What version of PHP are you using?
BoldMinded (Brian)
Comment has been marked private.
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
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];
BoldMinded (Brian)
Yeah, that definitely seems like a Wyvern JS issue when new blocks are added to the page.
BoldMinded (Brian)
So the build I sent stopped the child_of error?
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.