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'm getting this error when running Drush on my server:
drush -r /srv/www/afd42.com/builds/current -l afd42.com -y updb
PHP Fatal error: Cannot redeclare libraries_drush_command() (previously declared in /srv/www/sites/afd42.com/builds/v1.0.0-alpha.8/profiles/sfera/modules/contrib/libraries/libraries.drush.inc:13) in /srv/www/sites/afd42.com/builds/v1.0.0-alpha.8/profiles/sfera/modules/libraries/libraries.drush.inc on line 25
The lines in question are these:
This makes no sense. Any ideas?
Comment | File | Size | Author |
---|---|---|---|
#1 | Screen Shot 2012-08-25 at 22.44.33.PNG | 13.08 KB | mikl |
Comments
Comment #1
mikl CreditAttribution: mikl commentedAdded screenshot.
Comment #1.0
mikl CreditAttribution: mikl commentedInserted local screenshot.
Comment #2
PatchRanger CreditAttribution: PatchRanger commentedAs I can see you have moved 'libraries' module from
modules/contrib/libraries
tomodules/libraries
or vice versa, right?If so just flush your caches and the problem should go away.
Feel free to reopen if the problem occurs again.
Comment #2.0
PatchRanger CreditAttribution: PatchRanger commentedAnother try at the URL.