This site is a static archive of the Aegir community site. Documentation has moved to http://docs.aegirproject.org. Other community resources can be found on the Contacting the community page.
Skip navigation

Error: Cannot redeclare class EntityReference_BehaviorHandler_Broken

Help

Error: Cannot redeclare class EntityReference_BehaviorHandler_Broken

I'm using the latest Aegir 1.9 and Drush 4.5. I can clone most of our sites in Aegir just fine, but a new site using the entityreference module for Drupal 7 is having this problem ...

Drush command terminated abnormally due to an unrecoverable error. Error: Cannot redeclare class EntityReference_BehaviorHandler_Broken in /var/aegir/platforms/.../sites/example.com/modules/entityreference/plugins/behavior/abstract.inc, line 187

Somehow, Drupal is trying to redeclare this class. Not sure why. I even tried a registry rebuild, no luck. I can disable the module and clone, but that seems drastic. Any pointers would be appreciated.

#1

I'm having the same issue and can't seem to find the solution anywhere. Any help would be much appreciated.

I'm using Aegir 2.2, Drupal 7.30, and the newest Entity Reference dev (stable has the same issue).

Need help?

Discussion

The discussion area lets your team communicate by posting updates and discussing issues. It is a great place for sharing progress, discussing challenges, and exploring ideas.