• Resolved mvmcgee

    (@mvmcgee)


    After updating Beaver Builder (Lite) to version 2.4.2.3, I am getting a message anytime I go to the site: There has been a critical error on this website.
    I de-activated all of my plugins and re-activated them one by one. The error occurs when I activate BB Lite. If I run it with BB deactivated, most of my modules are gone.

    The page I need help with: [log in to see the link]

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

    (@pross)

    Do you know what the error was? Do you have access to your logs? Have you tried enabling WP_DEBUG in the wp config file then tried it?

    Thread Starter mvmcgee

    (@mvmcgee)

    Ok. I enabled WP_DEBUG and tried again. Here is the error message:

    `Warning: Array to string conversion in /home/rvqsc20767p5/public_html/wp-content/plugins/beaver-builder-lite-version/modules/photo/includes/frontend.css.php on line 21

    Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home/rvqsc20767p5/public_html/wp-content/plugins/beaver-builder-lite-version/modules/photo/includes/frontend.css.php:21 Stack trace: #0 /home/rvqsc20767p5/public_html/wp-content/plugins/beaver-builder-lite-version/classes/class-fl-builder.php(2943): include() #1 /home/rvqsc20767p5/public_html/wp-content/plugins/beaver-builder-lite-version/classes/class-fl-builder.php(731): FLBuilder::render_css() #2 /home/rvqsc20767p5/public_html/wp-content/plugins/beaver-builder-lite-version/classes/class-fl-builder.php(649): FLBuilder::enqueue_layout_cached_asset() #3 /home/rvqsc20767p5/public_html/wp-content/plugins/beaver-builder-lite-version/classes/class-fl-builder.php(559): FLBuilder::enqueue_layout_styles_scripts() #4 /home/rvqsc20767p5/public_html/wp-includes/class-wp-hook.php(292): FLBuilder::enqueue_all_layouts_styles_scripts() #5 /home/rvqsc20767p5/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #6 /home/rvqsc20767p5/public_html/wp-includes/plugin.php(484): WP_Hook->do_action() #7 /home/rvqsc20767p5/public_html/wp-includes/script-loader.php(2027): do_action() #8 /home/rvqsc20767p5/public_html/wp-includes/class-wp-hook.php(292): wp_enqueue_scripts() #9 /home/rvqsc20767p5/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #10 /home/rvqsc20767p5/public_html/wp-includes/plugin.php(484): WP_Hook->do_action() #11 /home/rvqsc20767p5/public_html/wp-includes/general-template.php(3009): do_action() #12 /home/rvqsc20767p5/public_html/wp-content/themes/primer/header.php(25): wp_head() #13 /home/rvqsc20767p5/public_html/wp-includes/template.php(730): require_once(‘/home/rvqsc2076…’) #14 /home/rvqsc20767p5/public_html/wp-includes/template.php(676): load_template() #15 /home/rvqsc20767p5/public_html/wp-includes/general-template.php(48): locate_template() #16 /home/rvqsc20767p5/public_html/wp-content/themes/primer/page.php(16): get_header() #17 /home/rvqsc20767p5/public_html/wp-includes/template-loader.php(106): include(‘/home/rvqsc2076…’) #18 /home/rvqsc20767p5/public_html/wp-blog-header.php(19): require_once(‘/home/rvqsc2076…’) #19 /home/rvqsc20767p5/public_html/index.php(17): require(‘/home/rvqsc2076…’) #20 {main} thrown in /home/rvqsc20767p5/public_html/wp-content/plugins/beaver-builder-lite-version/modules/photo/includes/frontend.css.php on line 21

    There has been a critical error on this website.

    I’m afraid my technical troubleshooting knowledge is not high. I knew enough how to create the site with themes and plugins and maintain the information on it, but that’s it. Any help is appreciated. Thanks!

    Plugin Author Simon Prosser

    (@pross)

    Ok, hopefully you can edit a file….

    So you need to open the file wp-content/plugins/beaver-builder-lite-version/modules/photo/includes/frontend.css.php and replace its contents with the code from here: https://gist.github.com/Pross/21b5d755b938ce9d0bf0c076500d7fff

    Thread Starter mvmcgee

    (@mvmcgee)

    Worked like a charm! Thank you so much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Website Critical Error after Update’ is closed to new replies.