PHP Fatal error: Class 'EntityCacheNodeController' not found in ncludes/ on line 7697

If I disable the module on a running system and clear cache, I get the above error

It causes WSOD

#9 entitycache-php_fatal_error-1786026-9.patch476 bytesfuerst
PASSED: [[SimpleTest]]: [MySQL] 5,828 pass(es). View


fuerst’s picture

Me too. It was a development machine so I solved it by replacing the complete database.
If that is not an option you may truncate table registry_file; in your database. See first comment in

phayes’s picture

Priority: Normal » Major

Marking as major priority as it blocks all tests from being run on a site.

Phizes’s picture

Registry Rebuild will probably also be able to help you if you are stuck with this issue, it's also just a workaround though.

bartlomiej’s picture

I have the same problem after disabling the module.

zuernBernhard’s picture

I had the same issue here. The reason was: Memcached. While i had flushed file_registry I still got this Error. After flushing memcached all went fine.

In my local Terminal (zsh on OSX) I use:
'echo "flush_all" | /bin/netcat 11211'

to flush memcached.

rooby’s picture

Issue summary: View changes

I'm not using memcache and so far drush rr and truncating registry_file table haven't helped.

[edit] Scratch that. My problem was user error.

quiron’s picture

Hi all,
is any reason to not including this to the uninstall process?


skwashd’s picture

@quiron if someone proposes a patch for adding something to hook_uninstall() I'll look at it.

fuerst’s picture

476 bytes
PASSED: [[SimpleTest]]: [MySQL] 5,828 pass(es). View

Running registry_update() should be enough because this will remove files from the registry table(s) which are no longer available because the module providing it got disabled.

fuerst’s picture

Status: Active » Needs review

Set issue to Needs review as well.

SocialNicheGuru’s picture

I no longer get the error

SocialNicheGuru’s picture

Status: Needs review » Reviewed & tested by the community
drumm’s picture

Priority: Major » Critical nearly ran into this. It hit staging. Since this unexpectedly & swiftly takes down the site, marking it critical.

RobLoach’s picture

Should this also go in _enable/_install?

catch’s picture

catch’s picture

Status: Reviewed & tested by the community » Closed (duplicate)

I think it is, see you over there.

joelpittet’s picture

Title: PHP Fatal error: Class 'EntityCacheNodeController' not found in ncludes/ on line 7697 » PHP Fatal error: Class 'EntityCacheNodeController' not found in includes/

I'm using both of these patches in production. (though my commit log message on why is not helpful, sorry)