Hello. Weird one here - for me.
I have a page (000001.php) which is calling 3 includes to do the following:
- connect to db
- get formatting instructions
- grab a template in which to display
The page is displaying fine and all seems to be working OK, but here's the issue:
For some of my pages (just some!) I get a PHP error message at the bottom of the page:
Fatal error: Cannot redeclare webcontent_connect() in db_functions.php on line 14.
Webcontent_connect is a function in the include file db_functions, which handles my db access protocols, as you may have guessed.
I'm only calling it once, and all db_functions contains is one function - webcontent_connect.
How could this be happening?
Why?
Can anyone help?
Thanks.
-john