Internet website directory serving UK businesses
In: quick tips
19 Aug 2011You are getting this error because function date_add() was introduced into newer versions of PHP. A quick fix is to replace date_add from include/functions.php with date_add2, there should be only 2 occurrences:
function date_add($timestamp, $months)
return date_add($start, $units * $mul);
Welcome UK Business Directory the perfect place if you are looking for an UK business or service.
We run a light directory, conveniently organized, and highly alert to your needs.
Webmasters simply use the Submit button, select the most suitable category and submit your sites.
1 Response to Fatal error: Cannot redeclare date_add() in /include/functions.php on line 2160
kerman
June 7th, 2012 at 1:34 am
Hi, after I applied this patch, the widgets doesn’t show anymore. Any suggestions? Thanks!