If page or sub page not working as expected

You might need to get the about page’s ID and use that in your comparison:

if ( is_page( 'about' ) || $about_page_id == $post->post_parent ) {

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