I installed the bootstrap theme on my site and I wanted to theme, after enabling the Theme developer in the admin menu there wasn't any error but when I went to see my website page I faced to the WSOD and when I get back to the admin menu I saw couple of messages same as below.

    Notice: Undefined index: main_menu in bootstrap_preprocess_page() (line 37 of /var/www/html/rgpars.com/sites/all/themes/bootstrap/templates/system/page.vars.php).
    Notice: Undefined index: secondary_menu in bootstrap_preprocess_page() (line 46 of /var/www/html/rgpars.com/sites/all/themes/bootstrap/templates/system/page.vars.php).
    Notice: Undefined variable: logo in include() (line 79 of /var/www/html/rgpars.com/sites/all/themes/bootstrap/templates/system/page.tpl.php).
    Notice: Undefined variable: messages in include() (line 146 of /var/www/html/rgpars.com/sites/all/themes/bootstrap/templates/system/page.tpl.php).
    Notice: Undefined index: language in bootstrap_preprocess_html() (line 23 of /var/www/html/rgpars.com/sites/all/themes/bootstrap/templates/system/html.vars.php).
    Notice: Trying to get property of non-object in bootstrap_preprocess_html() (line 23 of /var/www/html/rgpars.com/sites/all/themes/bootstrap/templates/system/html.vars.php).
    Notice: Undefined index: language in bootstrap_preprocess_html() (line 24 of /var/www/html/rgpars.com/sites/all/themes/bootstrap/templates/system/html.vars.php).
    Notice: Trying to get property of non-object in bootstrap_preprocess_html() (line 24 of /var/www/html/rgpars.com/sites/all/themes/bootstrap/templates/system/html.vars.php).
    Notice: Undefined index: attributes_array in bootstrap_preprocess_html() (line 44 of /var/www/html/rgpars.com/sites/all/themes/bootstrap/templates/system/html.vars.php).
    Notice: Undefined index: main_menu in bootstrap_preprocess_page() (line 37 of /var/www/html/rgpars.com/sites/all/themes/bootstrap/templates/system/page.vars.php).
    Notice: Undefined index: secondary_menu in bootstrap_preprocess_page() (line 46 of /var/www/html/rgpars.com/sites/all/themes/bootstrap/templates/system/page.vars.php).
    Notice: Undefined variable: logo in include() (line 79 of /var/www/html/rgpars.com/sites/all/themes/bootstrap/templates/system/page.tpl.php).
    Notice: Undefined variable: messages in include() (line 146 of /var/www/html/rgpars.com/sites/all/themes/bootstrap/templates/system/page.tpl.php).
    Notice: Undefined index: language in bootstrap_preprocess_html() (line 23 of /var/www/html/rgpars.com/sites/all/themes/bootstrap/templates/system/html.vars.php).
    Notice: Trying to get property of non-object in bootstrap_preprocess_html() (line 23 of /var/www/html/rgpars.com/sites/all/themes/bootstrap/templates/system/html.vars.php).
    Notice: Undefined index: language in bootstrap_preprocess_html() (line 24 of /var/www/html/rgpars.com/sites/all/themes/bootstrap/templates/system/html.vars.php).
    Notice: Trying to get property of non-object in bootstrap_preprocess_html() (line 24 of /var/www/html/rgpars.com/sites/all/themes/bootstrap/templates/system/html.vars.php).
    Notice: Undefined index: attributes_array in bootstrap_preprocess_html() (line 44 of /var/www/html/rgpars.com/sites/all/themes/bootstrap/templates/system/html.vars.php).

I disable the module and everything get back to normal.

Comments

mohammadyou created an issue. See original summary.

mohammadyou’s picture

Issue summary: View changes
markhalliwell’s picture

Priority: Critical » Normal
Status: Active » Closed (duplicate)
Issue tags: -WSOD bootstrap devel_themer
Related issues: +#2613218: Unsupported operand types error with Bootstrap theme, +#2628942: Fatal error when using theme developer

This is an issue with the devel_theme module. It's not a "bug" in this base theme. The problem likely has something to do with that module not initiating a theme properly or, at the very least, including all the file includes provided with a theme hook (to properly preprocess it).

mohammadyou’s picture

Thanks mark and sorry that I put the issue here