Closed (fixed)
Project:
TB Nucleus
Version:
7.x-1.1-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Apr 2012 at 07:49 UTC
Updated:
17 May 2012 at 06:40 UTC
Hello!
I'm using TB Purity theme based on Nucleus (Great Thanks for these splendid themes). But the error appears almost on all pages of my site:
Notice: Undefined index: #id in function nucleus_preprocess_fieldset() (line 365 in /sites/all/themes/nucleus/nucleus/inc/preprocess_functions.inc).
Here is the whole function:
function nucleus_preprocess_fieldset(&$vars) {
$element = $vars['element'];
$vars['attributes'] = $element['#attributes'];
$vars['attributes']['id'][] = $element['#id'];
$vars['attributes']['class'][] = 'fieldset';
$vars['attributes']['class'][] = 'form-wrapper';
if (!empty($element['#title'])) {
$vars['attributes']['class'][] = 'titled';
}The error appears only under anonimous user. Please, can You help me with this error?
Great Thanks!
Comments
Comment #1
themebrain commentedFixed