Need Help Determining Where Header Error is Happening

I figured out what the problem was. In the end, I added &noheader=true to my form action. This allowed me to submit my own headers without calling the WP admin headers.

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