Hi, I installed your module to test. Upon trying to activate the module I am recieving the following error:
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/sites/all/modules/cck_field_defs/cck_field_defs.module on line 128
Tried this on a relatively clean install of Drupal 5.12, any ideas?
Thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | cck_field_defs_fieldgroups.patch | 719 bytes | vkareh |
Comments
Comment #1
vkareh commentedWas this just as you were activating the module? It seems to be related to a content type that's using fieldgroups. I'll try to reorganize the function call in that line into simpler statements and do some checks between each statement to see if that solves it. I'll post a patch.
In any case, what's the fieldgroup/field structure of the content type you were trying to use it for? It might help me to realize where the error is.
Comment #2
vkareh commentedHere's a tentative patch. I could not reproduce the error, but the patch uses a more elegant solution in that particular statement that gave you the problem in the first place.
Comment #3
vkareh commentedI just rolled in the patch into the new release. Please update the module to use the new code.