While upgrading with drush I had this error come up

PHP Fatal error: Cannot redeclare theme_file_styles_image() (previously declared in /uext10/www/noao/sites/all/modules/styles/contrib/file_styles/file_styles.theme.inc:66) in /uext10/www/noao/sites/all/modules/styles/contrib/file_styles/includes/themes/file_styles.theme.inc on line 21
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Cannot redeclare theme_file_styles_image() (previously declared in /uext10/www/noao/sites/all/modules/styles/contrib/file_styles/file_styles.theme.inc:66) in
/uext10/www/noao/sites/all/modules/styles/contrib/file_styles/includes/themes/file_styles.theme.inc, line 21
The external command could not be executed due to an application error. [error]
Backups were restored successfully.

There are two functions with the same name in:

sites/all/modules/styles/contrib/file_styles/file_styles.theme.inc
sites/all/modules/styles/contrib/file_styles/includes/themes/file_styles.theme.inc

I have tried changing the name of the function in

sites/all/modules/styles/contrib/file_styles/includes/themes/file_styles.theme.inc

and this allowed me to go on with the update...

Comments

dwalker51’s picture

Issue summary: View changes
bluegeek9’s picture

Status: Active » Closed (outdated)

Thank you for your contributions to this issue. As Drupal 7 has reached its End of Life and is no longer supported, we are closing this issue. We encourage you to upgrade to a supported version of Drupal.