The strangest thing is happening on a site I am working on and I can't figure it out. I get the following error when I visit the page:
note that the filenames and the line numbers are the exact same... How can you be redeclaring a function that's in the same place? I've also looked all through every file that's being included into that page, and there is only one declaration of that function. If anyone has any ideas what might cause this, and how I can fix it, it would be very much appreciated.
Code:
Fatal error: Cannot redeclare getdirarray() (previously declared in /var/[URL unfurl="true"]www/vhosts/cadillacjacksgaming.com/httpdocs/new/functions.php:28)[/URL] in /var/[URL unfurl="true"]www/vhosts/cadillacjacksgaming.com/httpdocs/new/functions.php[/URL] on line 28
note that the filenames and the line numbers are the exact same... How can you be redeclaring a function that's in the same place? I've also looked all through every file that's being included into that page, and there is only one declaration of that function. If anyone has any ideas what might cause this, and how I can fix it, it would be very much appreciated.