Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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;
}
}
}
Comment | File | Size | Author |
---|---|---|---|
#4 | stdclass-1032570-3.patch | 467 bytes | kay_v |
#3 | stdclass-1032570-2.patch | 391 bytes | theohawse |
#2 | stdclass-1032570-1.patch | 466 bytes | theohawse |
Comments
Comment #1
cainrus CreditAttribution: cainrus commentedMaybe that way will be better.
Comment #2
theohawse CreditAttribution: theohawse commentedattached is patch for changes in #1
Comment #3
theohawse CreditAttribution: theohawse commentedthis is totally working for me
Comment #4
kay_v CreditAttribution: kay_v commentedPatch in #3 didn't apply because it needs a line return after the last line. Here is the new patch with that minor change.