Line 27 template.php
To hide Notices change the code like that:
// If there is a base theme, collect the names of all themes that may have
// preprocess files to load.
if (isset($theme_info->base_theme)) {
if ($theme_info->base_theme) {
global $base_theme_info;
foreach($base_theme_info as $base){
$themes_active[] = $base->name;
}
}
}

Members fund testing for the Drupal project. Drupal Association Learn more

Comments

cainrus’s picture

Maybe that way will be better.

// If there is a base theme, collect the names of all themes that may have
// preprocess files to load.
if (!empty($theme_info->base_theme)) {
    global $base_theme_info;
    foreach($base_theme_info as $base){
        $themes_active[] = $base->name;
    }
}
theohawse’s picture

Status: Active » Needs review
FileSize
466 bytes

attached is patch for changes in #1

theohawse’s picture

FileSize
391 bytes

this is totally working for me

kay_v’s picture

FileSize
467 bytes

Patch in #3 didn't apply because it needs a line return after the last line. Here is the new patch with that minor change.