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).

CommentFileSizeAuthor
#4 1236794-4-ninesixty-print.patch1.12 KBpfrenssen
_001.png157.96 KBartemboiko

Comments

artemboiko’s picture

I think that becouse , i use theme ninesixty

pfrenssen’s picture

Title: Error in core » Undefined index notices
Assigned: artemboiko » Unassigned
Priority: Critical » Normal

I'm seeing the same issue with the ninesixty theme.

jcnventura’s picture

Project: Printer, email and PDF versions » NineSixty (960 Grid System)
Version: 7.x-1.0-alpha1 » 7.x-1.0

This 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.

pfrenssen’s picture

Status: Active » Closed (fixed)
StatusFileSize
new1.12 KB

This 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).

artemboiko’s picture

Version: 7.x-1.x-dev » 7.x-1.0

thanks

artemboiko’s picture

Issue summary: View changes

example.com

candelas’s picture

Version: 7.x-1.0 » 7.x-1.x-dev

i use the last 7 dev and i keep having the error...

candelas’s picture

i had only enabled the subtheme.
once i enabled the theme, the problem was gone.

nnevill’s picture

thanx for solution

artemboiko’s picture

close