In case you run into this syntax error when installing the CCK module and activating the noderefence component, here is the small fix.

The line in fault is 330 and read like this (notice the double parentheses at the end):

'#description' => content_filter_xsst($field['widget']['description'])),

It should read as follows:

'#description' => content_filter_xsst($field['widget']['description']),

Regards,
Sam

Comments

yched’s picture

Status: Patch (to be ported) » Closed (duplicate)

#304118: 1.8 release - Parse error: unexpected ',' in nodereference.module
That was a problem is the short-lived 1.8 release. Fixed in 1.9

sdsheridan’s picture

and by the way, wasn't it supposed to have been

'#description' => content_filter_xss( t( $field['widget']['description'] ) ),

as in invoking the translation function, with the outer function actually being content_filter_xss (full stop, no 't' on the end)?

shawn

yched’s picture

Guys, the issue is *FIXED* in 1.9, no need for more followups...