0

Background

Drupal 7.40 site, all is up2date, the site itself worked, until the last hour, just fine.

The problem

I once had a module named Flexslider and have deleted it 5 months ago. One of it's views and/or content types stayed alive and I've deleted it in the last hour; Since then there is a WSOD in my site and each time I try to flush all caches with Drush I get the following error about the impossibility to access a Flexslider file.

Any ideas why would that happen?

enter image description here


Image update for user - Les Lim:

enter image description here

1 Answer 1

1

Since I happen to know from WSOD afte uninstalling the Memcache module and deleting it's folder that you just stopped using Memcache, then I know that your Drupal site has just reverted back to using the database cache.

You probably had entries in your database cache from before you switched to Memcache in the first place. Those really old database cache entries are now back in use.

You're trying to clear caches, which is absolutely the correct thing to do. However, there's a nasty bug in CTools that prevents you from clearing the cache if a particular CTools cache entry is broken: https://www.drupal.org/node/1775612

In this case, though, the manual fix is pretty simple. You need to truncate the cache table in your database. That should allow the cache to rebuild itself normally.

9
  • Thanks for your answer so much! I'm not sure what "truncate" means - I saw 3 different definitions in the dictionary, lol... Anyway, It sounds to me like partially deleting something from the cache table in my database? I guess anything that has to do with Flexslider? If yes, I guess I would be able to do so via PHPmyadmin > search > type there "flexslider" > set it to search at cache table > delete ?
    – user16289
    Oct 23, 2015 at 1:00
  • 1
    TRUNCATE in SQL means delete all the rows from a table. I think you should be able to use Drush for this, even if the site is unresponsive. Try the following command: drush sqlq "TRUNCATE TABLE cache;"
    – Les Lim
    Oct 23, 2015 at 1:01
  • 1
    If you have PHPMyAdmin, I think it's called "Empty Table" in that interface. I'm not sure.
    – Les Lim
    Oct 23, 2015 at 1:02
  • 1
    You can list the names of all tables that have the string "cache" in its name, just to check. That command is this: drush sqlq "SHOW TABLES LIKE '%cache%'"
    – Les Lim
    Oct 23, 2015 at 1:08
  • 1
    You found the right table. Go ahead and empty that one.
    – Les Lim
    Oct 23, 2015 at 1:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.