Closed (fixed)
Project:
Sky
Version:
7.x-1.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2011 at 11:10 UTC
Updated:
21 Feb 2011 at 22:40 UTC
I see this notice when the book module is not enabled:
Notice: Undefined index: modules/book/book.css in sky_css_alter() (line 134 of /sites/all/themes/sky/template.php).
Enabling the module seems to be solving the problem.
Comments
Comment #1
olax commentedI get the same error message after I updatet to the latest version of Sky.
Comment #2
xaav commentedGetting this error also.
Comment #3
josefnpat commentedError:
Notice: Undefined index: modules/book/book.css in sky_css_alter() (line 134 of xxx/drupal-7.0/sites/all/themes/sky/template.php).
Reproduce:
Install Drupal 7.0
Install Sky Theme
Workaround Fix:
line 134 of /sites/all/themes/sky/template.php
if ($css[drupal_get_path('module', 'book') . '/book.css']) {
add @ to have:
if (@$css[drupal_get_path('module', 'book') . '/book.css']) {
Comment #4
uwekristen commentedThat fixed it. Thank you.
Comment #5
bitsman commentedComment #6
jacineComment #7
xaav commentedWhy did you change the status back to active? The problem is obviously fixed.
Comment #8
jacineA fix has been committed to the HEAD. It will be in the next release.
http://drupal.org/cvs?commit=496446
Comment #9
jacine@geoffreyfishing I am the only one with commit access to this project. Until I fix the problem it's still broken for everyone else. Also, the comment in #3 is not the correct fix.