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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

marlowrifle created an issue. See original summary.

p4trizio’s picture

Did you fix this?
I encountered the same weird error while moving the website to another server with php7

fago’s picture

Status: Active » Closed (won't fix)

Maybe this is related to workflow module? WorkflowFeaturesController is nothing this module provides.

jojonaloha’s picture

Title: Fatel error on Modules page » Fatel error Class 'WorkflowFeaturesController' not found in entity.features.inc on line 16
Project: Entity API » Workflow
Version: 7.x-1.6 » 7.x-2.x-dev
Component: Core integration » Code
Status: Closed (won't fix) » Needs review
FileSize
672 bytes

I'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 a drush fd or drush fl it will give me the fatal error:

Fatal error: Class 'WorkflowFeaturesController' not found in drupal/sites/all/modules/contrib/entity/entity.features.inc on line 16

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.

jojonaloha’s picture

Title: Fatel error Class 'WorkflowFeaturesController' not found in entity.features.inc on line 16 » Fatal error Class 'WorkflowFeaturesController' not found in entity.features.inc on line 16
johnv’s picture

Status: Needs review » Needs work

I am not sure this is best practice.

  • johnv committed bef4de4 on 7.x-2.x authored by jojonaloha
    Issue #2632408 by jojonaloha: Fatal error Class '...
johnv’s picture

Status: Needs work » Fixed

OK, both entity and rules module use this method.

johnv’s picture

Version: 7.x-2.x-dev » 7.x-2.8

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

BR0kEN’s picture

FileSize
362 bytes

Just a patch for obsolete, 2.5 version.