Cant update theme pages using Page Builder
We are currently migrating our site from php 5.6 to 7.2 as our hosts have set a fixed end of life for this.
Most features are intact, however when updating posts using muffin builder the site breaks the existing layouts, this largely is due to a
Fatal error: Uncaught Error: [] operator not supported for strings in /XXXXX/wp-content/themes/XXXXX/functions/meta-functions.php
$mfn_items[$newParentSectionID]['items'][] = $item;
We resolved this by amending this to:
$mfn_items = array();
$mfn_items[$newParentSectionID]['items'][] = $item;
However when we update or insert a post now the layouts are breaking. Any thoughts on how to fix this urgently?
Comments