Not sure why but I'm getting the following when I enabled the File Styles module on a fresh site.

Notice: Undefined index: file in styles_default_styles() (line 246 of /home/quickstart/websites/profile.dev/profiles/da7/modules/contrib/styles/styles.module).

Warning: Invalid argument supplied for foreach() in file_styles_entity_info_alter() (line 201 of /home/quickstart/websites/profile.dev/profiles/da7/modules/contrib/styles/contrib/file_styles/file_styles.module).

Clearing the cache makes it go away.

Comments

socialnicheguru’s picture

i get this when I enable it via drush

drush en -y file_styles

Invalid argument supplied for foreach() file_styles.module:201
Invalid argument supplied for foreach() file_styles.module:201

bluegeek9’s picture

Issue summary: View changes
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.