Skip to content

Instantly share code, notes, and snippets.

@lukapaunovic lukapaunovic/fix.php
Last active Jul 2, 2018

Embed
What would you like to do?
Beaver builder FIX - Call to undefined method FLBuilderAJAX::doing_ajax() in wp-content/plugins/bb-ultimate-addon/classes/class-uabb-backward.php:363
Fatal error: Uncaught Error: Call to undefined method FLBuilderAJAX::doing_ajax() in /home/user/public_html/wp-content/plugins/bb-ultimate-addon/classes/class-uabb-backward.php:363
To fix this error simply open
/home/user/public_html/wp-content/plugins/bb-ultimate-addon/classes/class-uabb-backward.php
Find:
if ( ! FLBuilderModel::is_builder_active() && FLBuilderAJAX::doing_ajax() ) {
and replace with:
if ( ! FLBuilderModel::is_builder_active() && defined( 'DOING_AJAX' ) ) {
The error will be gone :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.