Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #2
kumkum29 CreditAttribution: kumkum29 commentedP.S. If I installs other modules, I get no problems.
Comment #3
Dave ReidSounds 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.
Comment #4
kenorb CreditAttribution: kenorb commentedSame here.
didn't help.
Possible workarounds which I haven't tried:
drush sqlq "UPDATE system SET status = 0 WHERE name = 'field_collection'"