I installed a new theme on my Drupal site. When I enabled colorbox module, it gave me WSOD. Disabling it restores the site to normal. I have checked all other modules one by one, only colobox produces the error. Any help?

Comments

frjo’s picture

What theme did you install? Can we get a link to a site that has this problem?

andyanderso’s picture

I believe I was having the same issue. After I installed colorbox I got the WSOD due to a fatal php error:

PHP Fatal error:  Cannot redeclare theme_preprocess_node() (previously declared in /var/www/sac-sandbox/sites/all/themes/sac/template.php:611) in /var/www/sac-sandbox/sites/all/themes/responsive_sac/template.php on line 624
Drush command terminated abnormally due to an unrecoverable error.   [error]
Error: Cannot redeclare theme_preprocess_node() (previously declared
in /var/www/sac-sandbox/sites/all/themes/sac/template.php:611) in
/var/www/sac-sandbox/sites/all/themes/responsive_sac/template.php,
line 624

I disabled all of my unused themes and subthemes and switched to Bartik as the default theme. Then the WSOD went away. I switched back to my custom subtheme and everything is now fine...no errors. Go figure. I am not sure what happened or if I can reproduce it.

Neslee Canil Pinto’s picture

Status: Active » Closed (works as designed)