• Hi,

    I updated all three of my sites automatically to VFB 3.0.9 the other day (on WordPress 5.9.3). Tonight, when I went to update a Widget on each site, I found that all the active and inactive Widgets had disappeared from the Appearance > Widgets section of the dashboard (the Widgets are still visible on the front end and in the database, but not in the dashboard). When I accessed that page on each site, it triggered an automated WordPress error email:

    Howdy!

    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, Visual Form Builder.

    First, visit your website (https://ateupwithmotor.com/) and check for any visible issues. Next, visit the page where the error was caught (https://ateupwithmotor.com/wp-admin/widgets.php) and check for any visible issues.

    Please contact your host for assistance with investigating this issue further.

    If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.

    [recovery mode link redacted]

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.9.3
    Current theme: Frontier Child Theme AUWM (version 1.0) Current plugin: Visual Form Builder (version 3.0.9) PHP version 7.4.15

    Error Details
    =============
    An error of type E_ERROR was caused in line 52 of the file /home/dh_mykb4t/ateupwithmotor.com/contentfiles/plugins/visual-form-builder/admin/class-widget.php. Error message: Uncaught Error: Call to undefined function _esc_html_e() in /home/dh_mykb4t/ateupwithmotor.com/contentfiles/plugins/visual-form-builder/admin/class-widget.php:52
    Stack trace:
    #0 /home/dh_mykb4t/ateupwithmotor.com/wp-includes/class-wp-widget.php(534): Visual_Form_Builder_Widget->form(Array)
    #1 /home/dh_mykb4t/ateupwithmotor.com/wp-admin/includes/widgets.php(274): WP_Widget->form_callback(Array)
    #2 /home/dh_mykb4t/ateupwithmotor.com/wp-admin/includes/widgets.php(60): wp_widget_control(Array, Array)
    #3 /home/dh_mykb4t/ateupwithmotor.com/wp-admin/widgets-form.php(436): wp_list_widgets()
    #4 /home/dh_mykb4t/ateupwithmotor.com/wp-admin/widgets.php(34): require(‘/home/dh_mykb4t…’)
    #5 {main}
    thrown

    (Each of my three websites got this message; the error details were the same but for the file paths.)

    I don’t know enough about PHP to decipher all of that, but it appears an error introduced with the latest VFB update has caused a conflict that affects Widget management.

    Any ideas what to do about this?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi

    IN order to fix this issue, please add the following code to your theme at the end of functions.php file:
    if(!function_exists(‘_esc_html_e’)){
    function _esc_html_e( $text, $domain = ‘default’ ) {
    echo esc_html( translate( $text, $domain ) );
    }
    }

    • This reply was modified 2 years, 6 months ago by vikas.kodesk.
    • This reply was modified 2 years, 6 months ago by vikas.kodesk.
    • This reply was modified 2 years, 6 months ago by vikas.kodesk.
    Thread Starter Ate Up With Motor

    (@ate-up-with-motor)

    By “end of file,” do you mean the theme’s functions.php file?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Visual Form Builder error interferes with Widget list’ is closed to new replies.