Posted by finedesign on January 15, 2013 at 4:39am
I'm working on the (Omega) theme section and added the following to the template.php file:
function aii_preprocess_html(&$variables) {
// Add conditional stylesheets for IE
drupal_add_css(path_to_theme() . 'css/ie-lte-8.css', array('group' => CSS_THEME, 'browsers' => array('IE' => 'lte IE 8', '!IE' => FALSE), 'preprocess' => FALSE));
drupal_add_css(path_to_theme() . 'css/ie-lte-7.css', array('group' => CSS_THEME, 'browsers' => array('IE' => 'lte IE 7', '!IE' => FALSE), 'preprocess' => FALSE));
drupal_add_css(path_to_theme() . 'css/ie-6.css', array('group' => CSS_THEME, 'browsers' => array('IE' => 'IE 6', '!IE' => FALSE), 'preprocess' => FALSE));
}Now I receive several errors:
Notice: Undefined index: types in token_get_token_problems() (line 292 of /mypath/sites/all/modules/token/token.install).
Warning: Invalid argument supplied for foreach() in token_get_token_problems() (line 292 of /mypath/sites/all/modules/token/token.install).
Notice: Undefined index: tokens in token_get_token_problems() (line 307 of /mypath/sites/all/modules/token/token.install).
Warning: Invalid argument supplied for foreach() in token_get_token_problems() (line 307 of /mypath/sites/all/modules/token/token.install).
Notice: Undefined index: name in _system_rebuild_theme_data() (line 2583 of /mypath/modules/system/system.module).
Notice: Undefined index: name in _system_rebuild_theme_data() (line 2583 of /mypath/modules/system/system.module).
Notice: Undefined index: name in system_list() (line 194 of /mypath/includes/module.inc).
Notice: Undefined index: name in system_list() (line 194 of /mypath/includes/module.inc).I reverted my changes back to the original file content, but still receive the errors. Emptied cache.
Comments
[site:name] | [site:slogan]
I'm realizing now the title of every page is also broken. I see the following pattern for every page:
[site:name] | [site:slogan]
In case anyone has this same
In case anyone has this same problem, I found that I had accidentally added a few characters at the beginning of the .info file and it removed the variable "name" from the form. All is better now.