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.
Hi
Suddenly, when I open the modules page, I get the following error:
Fatal error: Class 'WorkflowFeaturesController' not found in [...]/sites/all/modules/entity/entity.features.inc on line 16
Everything else on the website seems to work. Any suggestions as to what to do?
If I disable the entity module, the entire website breaks.
Comment | File | Size | Author |
---|---|---|---|
#11 | 2632408-2--7.x-2.5.patch | 362 bytes | BR0kEN |
#4 | workflow-fatal-error-WorkflowFeaturesController-2632408-4.patch | 672 bytes | jojonaloha |
Comments
Comment #2
p4trizio CreditAttribution: p4trizio commentedDid you fix this?
I encountered the same weird error while moving the website to another server with php7
Comment #3
fagoMaybe this is related to workflow module? WorkflowFeaturesController is nothing this module provides.
Comment #4
jojonaloha CreditAttribution: jojonaloha at Metal Toad commentedI'm also getting this every time after a cache clear.
We are using a database that has a really old version of Features (7.x-2.0) and this is during an update to Features 7.x-2.10. Updates run successfully, but afterwards, whenever I do a
drush cc all
followed by adrush fd
ordrush fl
it will give me the fatal error:I think adding the workflow.features.inc file to the info file will resolve this. It looks like other modules do this as well (looking at entity.info). I've attached a patch that does this.
Comment #5
jojonaloha CreditAttribution: jojonaloha at Metal Toad commentedComment #6
johnvI am not sure this is best practice.
Comment #8
johnvOK, both entity and rules module use this method.
Comment #9
johnvComment #11
BR0kENJust a patch for obsolete, 2.5 version.