Display searchform in the menu

It seems ok with

 function wpgood_nav_search($items, $args) {
     if( ($args->theme_location == 'primary' ) or ($args->theme_location == 'top-menu-deconnecte' )) {
     return $items . '<li class="well-search_top">' . get_search_form(false) . '</li>';
 } else {
    return $items;
 }
}

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)