Fatal error: Cannot redeclare recruiter_job_search_facetapi_default_facet_settings() (previously declared in E:\wamp\www\profiles\recruiter\modules\recruiter_features\recruiter_job_search\recruiter_job_search.facetapi.inc:11) in E:\wamp\www\profiles\recruiter\modules\recruiter_features\recruiter_job_search\recruiter_job_search.facetapi_defaults.inc on line 286

Comments

klausi’s picture

Category: bug » support
Status: Active » Fixed

Looks like you did not correctly update recruiter_features. Remove the whole recruiter_features folder, then place the new version there. When using Git you should not encounter this problem, as Git removes files correctly.

kaizerking’s picture

I did the same way, i removed the complete folder and replaced with new one, until last update there was no issue, only the lasted dev only give problem.after i got this error i replaced the new one with the old one , it works normal

dasjo’s picture

make sure you delete recruiter_job_search/recruiter_job_search.facetapi.inc

kaizerking’s picture

I removed the file now i get this following error

Fatal error: Cannot redeclare recruiter_resume_search_facetapi_default_facet_settings() (previously declared in E:\wamp\www\profiles\recruiter\modules\recruiter_features\recruiter_resume_search\recruiter_resume_search.facetapi.inc:11) in E:\wamp\www\profiles\recruiter\modules\recruiter_features\recruiter_resume_search\recruiter_resume_search.facetapi_defaults.inc on line 518

dasjo’s picture

well you also need to remove "recruiter_resume_search/recruiter_resume_search.facetapi.inc"

see that in the following commit when updating facet api the files changed
http://drupalcode.org/project/recruiter_features.git/commit/943b37275b0e...

kaizerking’s picture

Yes, that worked thanks. For any one else who have same the problems, you can disable the old search facets module to clean up.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.