This Activity already has an action bar supplied by the window decor

I think you’re developing for Android Lollipop, but anyway include this line: to your theme declaration inside of your app/src/main/res/values/styles.xml. Also, if you’re using AppCompatActivity support library of version 22.1 or greater, add this line: Your theme declaration may look like this after all these additions:

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