After printing (URL for print sitename/print/[nid]) on my site appeared many error
Notice: Undefined index: every_page in drupal_sort_css_js() (line 2969 of /var/www/sites/dtc/example.com/subdomains/miskrada/html/includes/common.inc).
Notice: Undefined index: every_page in drupal_sort_css_js() (line 2972 of /var/www/sites/dtc/example.com/subdomains/miskrada/html/includes/common.inc).
Notice: Undefined index: every_page in drupal_sort_css_js() (line 2972 of /var/www/sites/dtc/example.com/subdomains/miskrada/html/includes/common.inc).
Notice: Undefined index: weight in drupal_sort_css_js() (line 2976 of /var/www/sites/dtc/example.com/subdomains/miskrada/html/includes/common.inc).
Notice: Undefined index: weight in drupal_sort_css_js() (line 2976 of /var/www/sites/dtc/example.com/subdomains/miskrada/html/includes/common.inc).
Notice: Undefined index: weight in drupal_sort_css_js() (line 2979 of /var/www/sites/dtc/example.com/subdomains/miskrada/html/includes/common.inc).
Notice: Undefined index: weight in drupal_sort_css_js() (line 2979 of /var/www/sites/dtc/example.com/subdomains/miskrada/html/includes/common.inc).
Notice: Undefined index: every_page in drupal_sort_css_js() (line 2969 of /var/www/sites/dtc/example.com/subdomains/miskrada/html/includes/common.inc).
Notice: Undefined index: every_page in drupal_sort_css_js() (line 2972 of /var/www/sites/dtc/example.com/subdomains/miskrada/html/includes/common.inc).
Comment | File | Size | Author |
---|---|---|---|
#4 | 1236794-4-ninesixty-print.patch | 1.12 KB | pfrenssen |
_001.png | 157.96 KB | artemboiko |
Comments
Comment #1
artemboikoI think that becouse , i use theme ninesixty
Comment #2
pfrenssenI'm seeing the same issue with the ninesixty theme.
Comment #3
jcnventura CreditAttribution: jcnventura commentedThis is an incompatibility between print and ninesixty... One of the (main) things that print needs to do is to NOT include the theme CSS. It does so by unsetting the theme entries in the CSS array.
Then along comes ninesixty, and oblivious to the fact that it's CSS entries may no longer be defined, simply modifies the CSS group to CSS_NS_FRAMEWORK.. Which in this case actually adds back an unusable set of CSS entries in the array.
I know that this only occurs for ninesixty and print, but the code at fault here is ninesixty's and it needs to be fixed there..
dvessel: please check if $css[$style_from_960] is defined before setting a new group value.
Comment #4
pfrenssenThis is already fixed in the latest 7.x-1.x of Ninesixty.
The code of Ninesixty has changed a lot since 7.x-1.0, so I attached a patch that fixes this issue for the 1.0 version (for people who want to stay on 7.x-1.0 for the time being).
Comment #5
artemboikothanks
Comment #5.0
artemboikoexample.com
Comment #6
candelas CreditAttribution: candelas commentedi use the last 7 dev and i keep having the error...
Comment #7
candelas CreditAttribution: candelas commentedi had only enabled the subtheme.
once i enabled the theme, the problem was gone.
Comment #8
nnevillthanx for solution
Comment #9
artemboikoclose