Beaver Builder not working

The ‘done’ button is not working on my site.
CP, generate press theme, shared hosting, php 7.4
I edited the site fine 8 days ago.
BB works but the done button not work. Deactived all plugins, changed themes, change browsers, cleared cache.
Funny that the ‘changes’ that I made are saved when I logged in via a different browser, just can’t save them.

Thoughts ?

I don’t really need, just want an easy way to create columns

Thank you

1 Like

This seems to be a bug in Beaver Builder (Lite) as I can reproduce it in both ClassicPress and WordPress 4.9. BB is compatible with WP 4.6 and higher.

Someone has reported a similar issue on the WordPress support forum: After updation of plugin not able to update page | WordPress.org .

Beaver Builder is generating the following JavaScript error:

Uncaught ReferenceError: FL is not defined

and this occurs in two files: fl-builder-ui-settings-forms.js and fl-builder-ui-panel-content-library.js.

I think you need to report this as a bug or wait to see what response there is to the above post.

I’ll also ping @Pross as he often visits our forums and might be able to shed some light on the issue.

2 Likes

Thx for the ping!

Here is a quick patch, we have an update going out this morning for our customers and the lite version is normally updated some time after, but here is the patch for those that need it

From 05734a5277f66340ae26c5a23007cb74f80a7a6f Mon Sep 17 00:00:00 2001
From: Simon Prosser <[email protected]>
Date: Thu, 11 Feb 2021 15:27:00 +0000
Subject: [PATCH] Compatibility fix for WP 4.x

---
 classes/class-fl-builder.php | 41 ++++++++++++++++++++++++------------
 1 file changed, 28 insertions(+), 13 deletions(-)

diff --git a/classes/class-fl-builder.php b/classes/class-fl-builder.php
index 37464b358..5ac492688 100644
--- a/classes/class-fl-builder.php
+++ b/classes/class-fl-builder.php
@@ -786,6 +786,19 @@ static public function register_shared_vendors() {
 		$js_build   = plugins_url( '/js/build/', FL_BUILDER_FILE );
 		$tag        = '.bundle.min';
 		$vendor_tag = '.min';
+		// @beaverbuilder/app-core
+		$app_core_deps = array( 'react', 'redux', 'react-router-dom', 'wp-i18n' );
+		// @beaverbuilder/fluid
+		$fluid_deps = array(
+			'react',
+			'react-dom',
+			'redux',
+			'react-router-dom',
+			'framer-motion',
+			'react-laag',
+			'wp-i18n',
+			'bb-icons',
+		);
 
 		if ( self::is_debug() ) {
 			$tag        = '.bundle';
@@ -802,6 +815,19 @@ static public function register_shared_vendors() {
 			// React-DOM
 			wp_deregister_script( 'react-dom' );
 			wp_enqueue_script( 'react-dom', "{$js_vendors}react-dom{$vendor_tag}.js", array(), $ver, true );
+
+			// @beaverbuilder/app-core
+			$app_core_deps = array( 'react', 'redux', 'react-router-dom' );
+			// @beaverbuilder/fluid
+			$fluid_deps = array(
+				'react',
+				'react-dom',
+				'redux',
+				'react-router-dom',
+				'framer-motion',
+				'react-laag',
+				'bb-icons',
+			);
 		}
 
 		/**
@@ -821,24 +847,13 @@ static public function register_shared_vendors() {
 		// react-laag
 		wp_register_script( 'react-laag', "{$js_build}vendor-react-laag{$tag}.js", array( 'react' ), $ver, false );
 
-		// @beaverbuilder/app-core
-		$app_core_deps = array( 'react', 'redux', 'react-router-dom', 'wp-i18n' );
+
 		wp_register_script( 'bb-app-core', "{$js_build}vendor-bb-app-core{$tag}.js", $app_core_deps, $ver, false );
 
 		// @beaverbuilder/icons
 		wp_register_script( 'bb-icons', "{$js_build}vendor-bb-icons{$tag}.js", array( 'react' ), $ver, false );
 
-		// @beaverbuilder/fluid
-		$fluid_deps = array(
-			'react',
-			'react-dom',
-			'redux',
-			'react-router-dom',
-			'framer-motion',
-			'react-laag',
-			'wp-i18n',
-			'bb-icons',
-		);
+
 		wp_register_script( 'bb-fluid', "{$js_build}vendor-bb-fluid{$tag}.js", $fluid_deps, $ver, false );
 		wp_register_style( 'bb-fluid', "{$css_build}vendor-bb-fluid{$tag}.css", array(), $ver, null );
 	}
3 Likes

Thanks Simon. :+1:t3:

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.