How to use sanitize_callback?

Turns out it was finding the error in some backup files I was keeping around. Once I removed those files, the error went away.

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