Or operators in PHP [closed]

try this

<?php if ( (! is_page_template('modelPages.php')) || (! is_archive()) || (! is_single) ) { ?>

Think your ‘not’ ! is causing the issue.
btw, you could move it to this

<?php if ( !( is_page_template('modelPages.php') || is_archive() || is_single() ) ) { ?>

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