Fatal error: Call to undefined function get_users()

It’s WordPress 3.1 function – so you’re probably testing it on older versions.

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