Custom comment action

I’ve found the source of the problem, I have redeclared the function comment_footer_die(). Which wordpress obviously can’t accept. My supplied code works as intended.

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