The WP home page corrupted after switching to new theme

You should check by checking deactivating the plugins. Which will tell you which will the for corruption of wordpress

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