Datafeedr Support Forums

Datafeedr Support Forums (http://www.datafeedr.com/forums/index.php)
-   Problems (http://www.datafeedr.com/forums/forumdisplay.php?f=68)
-   -   Fatal Error (http://www.datafeedr.com/forums/showthread.php?t=11420)

marckes1 January 13th, 2015 08:14 AM

Fatal Error
 
Store ID: 46560
Website URL: www.bodybuildingandfitnesslab.com
URL to page in question: http://www.bodybuildingandfitnesslab.com/store

Hi,

I removed the code for the Drop Down View Filter from the php file. When I went to put it back into the file this error came up. What have I messed up?

Fatal error: Cannot redeclare dfr_get_brands() (previously declared in /home1/marckes1/public_html/wp-content/themes/affilotheme_glide/functions.php:288) in /home1/marckes1/public_html/wp-content/themes/affilotheme_glide/functions.php on line 311

Thanks
Marc

Eric January 13th, 2015 08:44 AM

Hi

It appears that you have added the function dfr_get_brands() twice to your functions.php file. You need to remove one of the functions. PHP doesn't allow you to have 1 function appearing twice.

Eric

marckes1 January 13th, 2015 04:48 PM

Thanks Eric


All times are GMT -5. The time now is 07:23 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.