get_posts() in secondary sidebar messes up content in primary sidebar

the use of $posts might be interfering; try to change that to something else like $menu_posts or similar.

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