Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hello,
When I checked Apache Error Log, I've seen the line I pasted below:
PHP Fatal error: Class 'VarnishCache' not found in drupal7/includes/cache.inc on line 31
Do you know any solution for this error? I've already uninstalled varnish module.
My settings.php is:
//$conf['cache_backends'] = array('sites/all/modules/varnish/varnish.cache.inc');
(commented out)
Comments
Comment #1
heddnYou might try rebuilding your registry: registry_rebuild
Comment #2
yngens CreditAttribution: yngens commentedExperiencing the same issue on one of the websites. Going to follow heddn's suggestion.
Comment #3
ivanzhu CreditAttribution: ivanzhu commented@heddn: I tried
drush rr
, but not works.Instead, After I looked into the code about varnish module and cache.inc file.
There is another solution using drush. please backup you database at first: