The main Loop is not starting in a custom blog template page

It seems like the variable $posts is already used in the query.php files (not very sure).

Changing #posts to $custom_posts solved the problem.

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