Order wp_dropdown_categories by ASC or DESC

Hopefully your syntax was correct when you placed order and orderby. In thoery, your code should work with the following

wp_dropdown_categories( array(
    'show_option_none'  => $cat_text,
    'option_none_value' => '',
    'taxonomy'          => rtcl()->category,
    'name'              => 'rtcl_category',
    'id'                => 'rtcl-category-search-' . wp_rand(),
    'class'             => 'form-control rtcl-category-search',
    'selected'          => get_query_var( 'rtcl_category' ),
    'hierarchical'      => true,
    'value_field'       => 'slug',
    'depth'             => Functions::get_category_depth_limit(),
    'show_count'        => false,
    'hide_empty'        => false,
    'orderby'           => 'name',
    'order'             => 'DESC'
   
) );

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