• Resolved gems1508

    (@gems1508)


    The main plugin with 6.6 and 6.6.1 has created a critical failure. There is no way to contact directly

Viewing 9 replies - 1 through 9 (of 9 total)
  • likos73

    (@likos73)

    Same here. Critical Error when logging in to the site with 6.61. After renaming the Ultimate dahsboard folder via FTP, everything works.

    diewelle

    (@diewelle)

    Can confirm it. Same problem here. Typ E_ERROR in line 165 /plugins/ultimate-dashboard/modules/setting/class-setting-output.php

    hakhakop

    (@hakhakop)

    Same here , critical error , after renaming ultimate dashboard plugin folder everything is back again

    diewelle

    (@diewelle)

    It looks like the the WordPress Version 6.6.1 is causing the problem. After a Downgrade to 6.6 everything is fine.

    Vasilis

    (@bgriparis)

    Same issue here. I face critical error on my websites, when I deactivate the plugin, everything is going back to normal.

    I managed to solve it by editing my plugin file that had an error

    Fatal error: Uncaught Error: Attempt to assign property “title” on null
    in ../ultimate-dashboard/modules/setting/class-setting-output.php on line 165

    Before:

    /**
    * Change Howdy text.
    *
    * @param WP_Admin_Bar $wp_admin_bar WP_Admin_Bar instance.
    */
    public function change_howdy_text( $wp_admin_bar ) {

    $settings = get_option( 'udb_settings' );

    if ( empty( $settings['howdy_text'] ) ) {
    return;
    }

    $my_account = $wp_admin_bar->get_node( 'my-account' );

    $my_account->title = str_ireplace( 'Howdy', esc_html( $settings['howdy_text'] ), $my_account->title );

    $wp_admin_bar->remove_node( 'my-account' );

    $wp_admin_bar->add_node( $my_account );

    $my_account = $wp_admin_bar->get_node( 'my-account' );

    }

    After:

    /**
    * Change Howdy text.
    *
    * @param WP_Admin_Bar $wp_admin_bar WP_Admin_Bar instance.
    */
    public function change_howdy_text( $wp_admin_bar ) {

    $settings = get_option( 'udb_settings' );

    if ( empty( $settings['howdy_text'] ) ) {
    return;
    }

    $my_account = $wp_admin_bar->get_node( 'my-account' );

    if ( null !== $my_account ) {
    $my_account->title = str_ireplace( 'Howdy', esc_html( $settings['howdy_text'] ), $my_account->title );

    $wp_admin_bar->remove_node( 'my-account' );
    $wp_admin_bar->add_node( $my_account );
    }
    }

    Fix my error

    Note the before and after in the code if it is the same error it will be corrected

    Check if this problem is the same on line 165 of the file class-setting-output.php

    likos73

    (@likos73)

    Wow, it works! Thank you very much!

    Thread Starter gems1508

    (@gems1508)

    Worked for me as well Thank you for the quick fix.

    P.S. Are there any big updates coming for Pro?

    Plugin Author David Vongries

    (@davidvongries)

    Ultimate Dashboard version 3.8.1 addresses and fixes this issue. This was caused by a change in the most recent WordPress core release (6.6.1).

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Critical Failure’ is closed to new replies.