Hello,

on several sites I get an "Fatal error" during the installation of this module. This error is in relation with the Field Collection module :

PHP Fatal error:  Cannot redeclare class FieldCollectionItemEntity in /srv/data/web/vhosts/www.mysite.com/htdocs/sites/all/modules/field_collection/field_collection.entity.inc on line 533

Is there a bug with this module or with the fc module?

Thanks for your replies.

Comments

kumkum29 created an issue. See original summary.

kumkum29’s picture

P.S. If I installs other modules, I get no problems.

Dave Reid’s picture

Project: Entity view modes » Field collection
Version: 7.x-1.0-rc1 » 7.x-1.x-dev
Category: Bug report » Support request
Priority: Major » Normal

Sounds like you possibly have more than one version of the Field Collection module installed. Either way, it's not an issue I can reproduce by just installing this module, so it has to be specific to your site.

kenorb’s picture

Same here.

drush cc all
drush rr

didn't help.

Possible workarounds which I haven't tried:

drush sqlq "UPDATE system SET status = 0 WHERE name = 'field_collection'"