Default WordPress widgets always appear

I have deleted the lines of code I mentioned above and only left the remaining code in sidebar.php. The problem was they were hard coded so they appear if visibility is set to hidden to the sidebar widgets.

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