I have a function(this is exactly how it appears, from the top of my file):
you can check first if name of your function isn`t exists or not before you write function By
if (!function_exists('generate_salt')) { function generate_salt() { ........ } }
OR you can change name of function to another name