Slide 15
Slide 15 text
Debugging
● Read the error message! :)
● debug($var, '', TRUE);
● If WSOD, tail your PHP error log.
○ tail -f /path/to/php_error.log
● Comment out hook_install()/hook_uninstall().
● Run rebuild.php. (new!)
○ settings.php: $settings['rebuild_access'] = TRUE;
○ http://myd8site/rebuild.php or drush rebuild
● Clear the cache.
○ drush cr # need "master" branch from github
● Uninstall/reinstall your module.
● Reinstall your site. (no 8.x->8.x upgrades yet)