Side bar only if it’s not a single post or a specific page

I might not be fully awake, but it seems to me the operator should be “and”, not “or”:

if ( ! is_single() && ! is_page( 'about' ) ) {
    get_sidebar();
}

The is_single() checks if the main query is for a single post, and is_page() checks if the main query is for a specified page.

Because you don’t want the sidebar to show on single posts, exclude that by ! is_single(), which leaves you with all other content types except posts. From there, we also want to prevent display on the about page, so add ! is_page( 'about' ) to allow other pages but not the about page.

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