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
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
Comment | File | Size | Author |
---|---|---|---|
#9 | update.patch | 511 bytes | catch |
Comments
Comment #1
Tebb CreditAttribution: Tebb commentedSame here after upgrading.
Comment #2
catchJust 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.
Comment #3
Babalu CreditAttribution: Babalu commentedi get this error after upgrade
Fatal error: Class 'EntityCacheBaseController' not found in \includes\common.inc on line 7462
Comment #4
catch@Babalu, did you try the dev and run the update?
Comment #5
catchIf 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).
Comment #6
Tebb CreditAttribution: Tebb commentedHi 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.
Comment #7
catchI 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!
Comment #8
Tebb CreditAttribution: Tebb commentedI'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.
Comment #9
catchDo you have command line locally? If you can get git installed, you just need to run:
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
Comment #11
Tebb CreditAttribution: Tebb commentedI'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.
Comment #12
catchIf 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.
Comment #13
Tebb CreditAttribution: Tebb commentedOK.
For info, two updates ran: 7001 and 7002.
Comment #14
catchWent ahead with the rc2 - http://drupal.org/node/1135564
Comment #15
Babalu CreditAttribution: Babalu commentedrc2 release works for me. no errors now
Comment #17
bigsyke CreditAttribution: bigsyke commentedStill 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
Comment #18
catchDid you run update.php?
Comment #19
bigsyke CreditAttribution: bigsyke commentedManually trucated all Mysql cache tables, issue resolved. Thank you.
Comment #20
catchIn 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.
Comment #21
kbell CreditAttribution: kbell commentedI 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
Comment #22
catchThat's an unrelated bug with entity module. Please check the issue queue there.
Comment #24
Anonymous (not verified) CreditAttribution: Anonymous commentedUsing 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.
Comment #25
catchIf you ran update.php this should have worked fine upgrading from rc1 to latest.
Comment #26
jweowu CreditAttribution: jweowu commentedI 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.
Comment #27
rooby CreditAttribution: rooby commentedI just ran "drush up" and am now also getting these errors:
[EDIT] Ignore me I need some sleep. My problem was related to a bunch of modules in my profile going away after drush up.
Comment #28
majid jafari CreditAttribution: majid jafari commentedI 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.}
Comment #29
quironHi 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.
Comment #30
vulfox CreditAttribution: vulfox commentedI 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.
Comment #31
vulfox CreditAttribution: vulfox commented@quiron Could you elaborate how you did? Did you enter something in the settings.php
Comment #32
flux423I 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.
Comment #33
gregglesIt seems this issue is fixed, so updating to that.