hi
after auto upgrading to the rc1 i get this error ..the whole site shows the error
Fatal error: Class 'EntityCacheTaxonomyTermController' not found in ./includes/common.inc on line 7394

CommentFileSizeAuthor
#9 update.patch511 bytescatch
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Tebb’s picture

Same here after upgrading.

catch’s picture

Just added an update to entitycache.install that should fix this, however I'm about to head out for a couple of hours so haven't tested it.

Please update to latest dev and run update.php. If that runs OK your site should be back. If not I'll have another look later.

Babalu’s picture

i get this error after upgrade
Fatal error: Class 'EntityCacheBaseController' not found in \includes\common.inc on line 7462

catch’s picture

@Babalu, did you try the dev and run the update?

catch’s picture

If you are seeing EntityCacheBaseController missing, then it is likely #534594: [meta] system info cache writing and registry rebuilding is broken without a full bootstrap (which I will bump, if that issue was fixed, we wouldn't need to try to add this in an update, you could just visit update.php and it'd all fix itself). If the update doesn't work for this, then it'll need a core patch over there (or I may have to give you instructions on how to fix it).

Tebb’s picture

Hi Catch.

The latest dev on the project page is 9th April.
Do I have to get the fixed release from GIT somehow?

This is not an urgent issue for me, just wanted to help with testing.

catch’s picture

I think dev releases are done twice per day, not sure what time.

http://drupal.org/node/586638/git-instructions has instructions on how to grab the latest dev.

And thanks for testing!

Tebb’s picture

I'm not using git yet, being more of a site builder than a coder.

I already had looked at that git instructions page and not found what I expected.

Unless I imagined it :) , I think I've seen that you can get an http: ..... .gz link into a git repository to get a release.

I'll wait for the twice daily update.

Testing. NP. I hope to get into the code eventually, at least for bug fixing.

catch’s picture

Status: Active » Needs review
FileSize
511 bytes

Do you have command line locally? If you can get git installed, you just need to run:

git clone --branch 7.x-1.x git://git.drupal.org/project/entitycache.git

That will give you an entitycache folder same as the dev tarball (which has now been updated).

Also here's the patch in case people want to apply that, instructions for applying patches are at http://drupal.org/patch/apply

Status: Needs review » Needs work

The last submitted patch, update.patch, failed testing.

Tebb’s picture

I'm on a windows laptop, so I have a command line, but no git.

I need to spend time learning some git, but can't at the moment.

Today's dev has appeared, so I've unzipped that in the cleared Entity Cache directory, enabled it and run Update.

All looks good so far.

If there's anything in particular you want me to try, let me know here.

Thanks for the quick work.

catch’s picture

Status: Needs work » Fixed

If running the update fixes it, that should be it. I'm going to go ahead and mark this fixed. If you have trouble even after running that update, please re-open. I'll probably do a new rc in a day or so just to avoid this happening to too many people.

Tebb’s picture

OK.

For info, two updates ran: 7001 and 7002.

catch’s picture

Went ahead with the rc2 - http://drupal.org/node/1135564

Babalu’s picture

rc2 release works for me. no errors now

Status: Fixed » Closed (fixed)

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

bigsyke’s picture

Still getting this in all the newest releases

PHP Fatal error: Class 'EntityCacheUserController' not found in /srv/www/htdocs/includes/common.inc on line 7470

- along with the initial error

catch’s picture

Did you run update.php?

bigsyke’s picture

Manually trucated all Mysql cache tables, issue resolved. Thank you.

catch’s picture

In that case you need to force a registry rebuild. If you have drush installed you can try drush cc all or drush cc registry. If you don't then try adding registry_rebuild() just after drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL)); in index.php.

kbell’s picture

Status: Closed (fixed) » Active

I am still receiving this error. I applied the patch listed above and when I run the drush up -dd command I get this:

Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Cannot redeclare entity_metadata_wrapper() (previously
declared in
/var/www/dirac/dev/profiles/openpublic/modules/contrib/entity/entity/entity.module:903)
in
/var/www/dirac/dev/profiles/openpublic/modules/contrib/entity/entity_metadata/entity_metadata.module,
line 56 [0.35 sec, 36.02 MB]

If I try to run drush cc all or cc registry I get the same response (of course). Does anyone have any other ideas? I am running the latest stable D7 release with ONLY the registry_rebuild.patch applied.

I also tried manually truncating all my database cache tables. No change.

Thanks,
-Kelly

catch’s picture

Status: Active » Fixed

That's an unrelated bug with entity module. Please check the issue queue there.

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Version: 7.x-1.0-rc1 » 7.x-1.x-dev
Status: Closed (fixed) » Active
Class 'EntityCacheTaxonomyVocabularyController' not found in C:\Inetpub\wwwroot\123.com\includes\common.inc on line 7484

Using today's latest devx, I upgraded to the latest module, but it failed with above error. I manually set entitcached to uninstalled in the system table, then uninstalled & reinstalled, and that worked.

Setting this thread to active, because we need a documentation/warning that you can't update regularly. You have to uninstall/re-install.

catch’s picture

Status: Active » Postponed (maintainer needs more info)

If you ran update.php this should have worked fine upgrading from rc1 to latest.

jweowu’s picture

I ran into this when attempting to install entitycache via an update hook when various other modules also had update hooks pending.

Running drush updb gave me:

Error: Class 'EntityCacheUserController' not found in /var/www/drupal-site-scmp/includes/common.inc, line 7656

To resolve this I needed to set a bunch of update dependencies to ensure that the entitycache installation would happen before any of the other pending updates.

rooby’s picture

Issue summary: View changes

I just ran "drush up" and am now also getting these errors:

PHP Fatal error:  Class 'EntityCacheUserController' not found in /var/www/drupal/includes/common.inc on line 7809

[EDIT] Ignore me I need some sleep. My problem was related to a bunch of modules in my profile going away after drush up.

majid jafari’s picture

I put "registry_rebuild();" after drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL));(suggested by #20 ) in index.php and reload page and saw that error again,in this step i write just "var_dump('salam');" after registery_rebuild(); and try again.this work for me and i disbaled entity cache and uninstall that fine. :D
{If you are using APC in your drupal site,first delete APC configuration from settings.php,and add "apc_clear_cache();apc_clear_cache('user');" too in your index.php just for once after uninstall entity cache;
after finish your work,delete theme nad rewrite APC configuration in settings.php.}

quiron’s picture

Hi all,

I have it working on production site, with APC, and none of the previous solution worked for me.

I have used the config file option (https://www.drupal.org/node/1436498) to disable all cache types and let it working the production site a day. Then I can disable it without problems.

Hope this will be useful for someone.

vulfox’s picture

I just got the same error when pushing from Dev to Test environment on Pantheon and trying to clear caches. Clearing of caches fail:

Class 'EntityCacheUserController' not found
Class 'EntityCacheTaxonomyVocabularyController' not found

The Test server had a copy of Live database so the module was not even switched on.

vulfox’s picture

@quiron Could you elaborate how you did? Did you enter something in the settings.php

flux423’s picture

I had a similar issue as the one stated above. I'm also on Pantheon.
@catch is correct. Running update.php or drush updb resolved the error for me.

greggles’s picture

Category: Bug report » Support request
Status: Postponed (maintainer needs more info) » Fixed

It seems this issue is fixed, so updating to that.

Status: Fixed » Closed (fixed)

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