Last updated October 26, 2013. Created by xjm on October 22, 2013.
Log in to edit this page.

This page is still under development.

  • Read the error message! :)
  • debug($var);
  • If WSOD, tail your PHP error log.
       tail -f /path/to/php_error.log
  • Comment out hook_install()/hook_uninstall().
  • Remove stale compiled PHP files. (new!)
    sudo rm -rf sites/default/files/php
  • Clear the cache.
  • drush cc all (Requires the "master" drush branch from github).
  • Uninstall/reinstall your module.
  • Reinstall your site. (There are no 8.x->8.x upgrades yet.)

Looking for support? Visit the forums, or join #drupal-support in IRC.


I think this should now be drush cache-rebuild

$ drush cc all
`cache-clear all` is deprecated for Drupal 8 and later. Please use the `cache-rebuild` command instead.