I have a function(this is exactly how it appears, from the top of my file):
This errors says your function is already defined ; which can mean :
I think your facing problem at 3rd position the script including this file more than one time.So, you can solve it by using require_once instead of require or include_once
instead of include
for including your functions.php
file -- so it cannot be included more than once.