Skip to content

Instantly share code, notes, and snippets.

@lukapaunovic
Last active July 2, 2018 12:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukapaunovic/78952bd0b14c523b1b92030afd0f1982 to your computer and use it in GitHub Desktop.
Save lukapaunovic/78952bd0b14c523b1b92030afd0f1982 to your computer and use it in GitHub Desktop.
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