Topic: Please help - Cannot redeclare date_diff()
I have been using Ver. 7.0 for a long while and then suddenly my host i.e. dreamhost.com decided to upgrade their PHP Version to a recent one . Since 2 weeks I am having the following error:
Fatal error: Cannot redeclare date_diff() in /home................/functions.php on line 112
I came to know that date_diff is a an inbuilt function from PHP ver 5.3 onwards and shouldn't be re-declared.
Will someone please guide me to the code changes to make it functional.
Appreciate an early reply, as multi-users depend on it for their accommodation needs, for free.