Show multiple option in URL with Redux framework in front end

try to use this:

function tes_sidebar() {
    global $redux_demo;
    $sidebar =& $redux_demo['sidebar_position'] ) ? $redux_demo['sidebar_position'] : 'right';
    switch ( $sidebar ) {
        case 'left':
        get_template_part( 'sidebar','left' );
        break;
        case 'disable':
        get_template_part( '' );
        break;
        default:
        get_template_part( 'sidebar','right' );
        break;
    }
}

call with this function: tes_sidebar();

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