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.
I just get 500 error. In the apache logs I get this message:
[Tue Mar 05 18:39:54 2013] [error] [client 88.13.47.98] PHP Fatal error: Cannot redeclare user_reference_field_schema() (previously declared in /home/telelux0/www/sites/all/modules/references/user_reference/user_reference.module:52) in /home/telelux0/www/sites/all/modules/references/user_reference/user_reference.install on line 29
I can not update database nor run cron...
How can I trace this.?
Comments
Comment #1
krex CreditAttribution: krex commentedI just ran into this same problem. I was able to access my site, but attempting to load any of the administration pages gave me a 500 error. I was able to resolve it by deleting the install files:
/sites/all/modules/references/user_reference/user_reference.install
/sites/all/modules/references/user_reference/node_reference.install
Obviously not ideal, but it will get you to the point where you can get your admin pages back and start dealing with things from there.
Comment #2
ginkgomzd CreditAttribution: ginkgomzd commentedlooks that hook_field_schema is declared twice.
removing the install file worked for me too.
Comment #3
Alex Andrascu CreditAttribution: Alex Andrascu commentedComment #4
chefnelone CreditAttribution: chefnelone commentedRemoving the install file worked for me too.