Infinite loading in Muffin Builder
Hello Support Team,
I am experiencing an issue with the Muffin Builder on my website. When trying to load a page or import a layout via JSON, the builder gets stuck in an infinite loading loop (spinning wheel) and fails to render the interface.
I checked my debug.log to identify the root cause and found a PHP Fatal Error. It appears to be a PHP 8+ compatibility issue regarding argument unpacking (I checked on 8.1 and 8.3 PHP)
Here is the exact error trace from the log:
PHP Fatal error: Uncaught Error: Only arrays and Traversables can be unpacked in /.../wp-content/themes/betheme/functions/theme-shortcodes.php:15093 Stack trace:
#0 /.../wp-content/themes/betheme/functions/builder/class-mfn-builder-items.php(1226): sc_table_of_contents(Array)
#1 /.../wp-content/themes/betheme/functions/builder/class-mfn-builder-front.php(3050): Mfn_Builder_Items::item_table_of_contents(Array, true)
#2 /.../wp-content/themes/betheme/functions/builder/class-mfn-builder-front.php(2721): Mfn_Builder_Front->show_items(Array, 1, true, false)
Thank you in advance for your help.
While waiting for a response from one of our team members, we recommend to check Support Center where it is highly likely that you will find the answer to your question in no time.
FAQ | Video Tutorials | How to