On a client site (just upgraded from 1.5.1 to 1.5.5a) I keep getting this error in the logs folder
[22-Jun-2016 04:18:41 UTC] PHP Fatal error: Cannot redeclare zen_set_featured_status() (previously declared in /home/XXXXXXXX/public_html/includes/functions/featured.php:14) in /home/XXXXXXXX/public_html/includes/functions/featured.php on line 21
Line 21 in /home/XXXXXXXX/public_html/includes/functions/featured.php only contains the closing bracket }
Using DTK and searching 1116 files ... for: zen_set_featured_status returns only the stock code in file
/home/XXXXXXXX/public_html/includes/functions/featured.php
Line #14 : function zen_set_featured_status($featured_id, $status) {
Line #41 : zen_set_featured_status($featured->fields['featured_id'], '0');
Line #67 : zen_set_featured_status($featured->fields['featured_id'], '1');
Line #83 : zen_set_featured_status($featured->fields['featured_id'], '0');
No other file (store side) declares that function anywhere - so I am stumped.
When I first looked at the /logs folder (before the upgrade) the same error appeared more than 100,000 times, obviously the (new) client never checked or cleared the logs folder.....
The file includes/functions/featured.php has not been modified at all and is still the same as it was when last updated by the devs in 2011,
Any ideas please?
Thanks



Reply With Quote
