Posts & page twice display

I just figure out the problem, the problem lies in WPML plug-in. I consider the answer to be posted here for other users.

You have to put the following query in page.php or single.php to avoid duplicate/twice posts.

<?php wp_reset_query(); ?>

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