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.
Comments
Hi,
If you still have Muffin Builder and not BeBuilder, it means that you use an old version of Betheme. We changed the name of our builder a long time ago.
So first of all, please update Betheme to the newest version, and check if the problem persists.
Best regards
No, that’s a mistake in the question – I meant BeBuilder. I have the latest version of WordPress and BeTheme.
Please send us the WordPress dashboard and FTP access privately through the contact form, which is on the right side at https://themeforest.net/user/muffingroup#contact and we will check what might be the reason.
Notice!
Please attach a link to this forum discussion.
Sending incorrect or incomplete data will result in a longer response time.
Therefore, please ensure that the data you send are complete and correct.
Thanks