• Resolved franklnx

    (@franklnx)


    Hello,
    I am creating a new website using GeneratePress and Beaver Builder. By chance, while trying to activate a widget, I noticed that the “wp-admin/widgets.php” page is not loading (blank page, no source code).
    So I disabled all the plugins and reactivated them one by one, and realized that the problem was caused by the page builder.
    I then activated debugging and noticed this line:

    [17-Jun-2025 14:47:41 UTC] EXCEPTION: Class “FLBuilderGlobalStyles” not found in /web/htdocs/www.visitamusei.pisa.it/home/wp-content/plugins/beaver-builder-lite-version/classes/class-fl-builder-module-blocks.php on line 535

    Theme: GemeratePress Premium
    Page builder: Beaver Builder Plugin (Lite Version) v. 2.9.0.5

    Important: rolling back to version 2.8.6.2 of Beaver Builder resolves the issue. Updating again to version 2.9.0.5 causes the issue to reappear.

    There is clearly a problem with the latest version available.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Simon Prosser

    (@pross)

    Hey Frank, thanks for the bug report!

    Could you possibly test the fix for this as im unable to actually reproduce your issue but found a couple of other related issues that this should fix

    In the plugin folder locate the file includes/compatibility.php and add the following to the bottom of this file

    /**
    * Global Styles polyfill for LITE
    */

    if ( defined( 'FL_BUILDER_LITE' ) && FL_BUILDER_LITE && ! class_exists( 'FLBuilderGlobalStyles' ) ) {

    class FLBuilderGlobalStyles {

    public static function get_settings() {

    return (object) [ 'colors' => [], 'button_color' => '', 'button_background' => '' ];

    }

    public static function get_theme_json_js_config() {

    return [ 'color' => [ 'palette' => [] ] ];

    }

    public static function generate_global_colors_css() {

    return '';

    }

    }

    }

    Apologies for the unreadable formatting, looks like the WordPress code block here does not like code 🙂

    • This reply was modified 11 months, 2 weeks ago by Simon Prosser. Reason: Fixed code
    Thread Starter franklnx

    (@franklnx)

    Hi @pross ,
    Unfortunately, the snippet does not solve the problem.
    The page “/wp-admin/widgets.php” remains blank. Meanwhile, the debug log now shows this line:
    [18-Jun-2025 05:56:24 UTC] EXCEPTION: Undefined constant "FL_THEME_BUILDER_CORE_URL" in /web/htdocs/www.visitamusei.pisa.it/home/wp-content/plugins/beaver-builder-lite-version/classes/class-fl-builder-module-blocks.php on line 432
    I hope this helps.

    Plugin Author Simon Prosser

    (@pross)

    Yea looks like there is more than one issue. We will be releasing a fix shortly.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Class “FLBuilderGlobalStyles” not found’ is closed to new replies.