AJAX and -1 response

You should end all “async” functions with die() or exit, otherwise WordPress does it for you returning -1.

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