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.
Get the following output:
* Notice: Undefined index: boron in system_theme_settings() (regel 557 van /srv/www/htdocs/modules/system/system.admin.inc).
* Notice: Trying to get property of non-object in system_theme_settings() (regel 557 van /srv/www/htdocs/modules/system/system.admin.inc).
At admin/appearance/settings/panels_960gs (In the settings page of the 960gs theme). This is just after installation, and without having made the theme (960gs) default.
Debug statements reveal the following:
<?php
554 foreach ($theme_keys as $theme) {
555 // Include the theme-settings.php file.
556 debug($theme);
557 $filename = DRUPAL_ROOT . '/' . str_replace("/$theme.info", '', $themes[$theme]->filename) . '/theme-settings.php';
558 debug($filename);
559 if (file_exists($filename)) {
560 require_once $filename;
561 }
?>
* Debug:
'boron'
in system_theme_settings() (regel 556 van /srv/www/htdocs/modules/system/system.admin.inc).
* Debug:
'/srv/www/htdocs//theme-settings.php'
in system_theme_settings() (regel 558 van /srv/www/htdocs/modules/system/system.admin.inc).
* Debug:
'panels_960gs'
in system_theme_settings() (regel 556 van /srv/www/htdocs/modules/system/system.admin.inc).
* Debug:
'/srv/www/htdocs/sites/all/themes/panels_960gs/theme-settings.php'
in system_theme_settings() (regel 558 van /srv/www/htdocs/modules/system/system.admin.inc).
The info file contains the following lines:
name = Panels 960gs
description = A theming nirvana brought to you by the guys at <a href="http://snydertechnologies.com">Snyder Technologies</a>. Shout out to Earl... The guy that made it all possible.
screenshot = screenshot.png
core = 7.x
base theme = boron
engine = phptemplate
.....
.....
; Information added by drupal.org packaging script on January 1, 1970 - 00:00
version = "7.x-1.0"
core = "7.x"
project = "panels_960gs"
datestamp = "1295669807"
Comments
Comment #1
bensnyder CreditAttribution: bensnyder commentedUnfortunately I cannot reproduce the two notices, even after I remove ~E_NOTICE from my php.ini
What's more, I think this is because I have not included a theme-settings.php. This is intentional (so far) because I have nothing to include in the theme's settings form. I'm going to leave this issue open so I can mull this over.
Comment #2
radoeka CreditAttribution: radoeka commentedI dumped the themes array (using debug ($themes) and the following names are listed:
bartik
garland
mayo
panels_960gs
seven
stark
test_theme
update_test_basetheme
update_test_subtheme
If I do the following:
# grep -h ^name $(find -name "*info" | grep themes) | sort
The result is:
name = Bartik
name = Garland
name = MAYO
name = Panels 960gs
name = Seven
name = Stark
name = Test theme
name = Update test base theme
name = Update test subtheme
It looks like that Boron must be specified as name in a .info file. It should probably have it's own boron.info file. However, the only place where the name Boron is used is in this place:
sites/all/themes/panels_960gs/panels_960gs.info:base theme = boron
I Installed Boron and the error (note) is gone. So the 960gs does not only extend Boron, it more or less requires Boron.
Comment #3
apmsooner CreditAttribution: apmsooner commentedSame here, if i enable the boron theme... the error goes away so it appears to be a dependency.
Comment #4
bensnyder CreditAttribution: bensnyder commentedI'm looking into this - but focused on the Polymorph theme right now. Should be releasing it shortly.
Boron is, in fact, a dependency. I've purposely done everything possible to have Panels 960gs inherit as much as possible from it.
Comment #5
bensnyder CreditAttribution: bensnyder commentedShould be fixed with the current release. Please reopen if not.
Comment #6
lindamoran57 CreditAttribution: lindamoran57 commentedI found this thread because I just installed Drupal 7 as a new user, and want to use Panels 960gs as my theme base because it is HTML5-friendly. But I got that Boron error that this thread is about. So I loaded and enabled Boron, and now it's working, but will the Boron dependency go away any time soon? Thanks.
Comment #7
bensnyder CreditAttribution: bensnyder commentedMy advice would be to not use this theme as a new user.... It's not that mature and really difficult to use correctly.