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.
By effebi on
hello, I just upgraded my Drupal multisite installation, all seem ok but while I'm going to add a new module I get this:
on A site:
Fatal error: Cannot redeclare story_help() (previously declared in /home/users/staffetta/drupal/modules/story.module:12) in /home/users/staffetta/drupal/modules/modules/story.module on line 12
on B site:
Fatal error: Cannot redeclare system_help() (previously declared in /home/users/staffetta/drupal/modules/system.module:14) in /home/users/staffetta/drupal/modules/modules/system.module on line 14
any idea about it?
Comments
/modules/modules
Error messages do sometimes tell you something :)
In this case, there's a
/modules/modules
directory which causes the duplicate declarations, because you now have/modules/story.module
and/modules/modules/story.module
.Delete the
modules/modules
directory. Make sure the files inmodules
are actually 4.7.4 files.--
The Manual | Troubleshooting FAQ | Tips for posting | How to report a security issue.