My wordpress based site is publishing the same post twice

It is caused by using an old plugin, update all of your plugins. Although your problem is very rare.

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