Closed (fixed)
Project:
URL Fill
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Apr 2010 at 15:37 UTC
Updated:
11 Jul 2010 at 19:10 UTC
I have a content type with a user reference field set to populate via URL.
I have tried node/add/type&field=49, node/add/type&field=username, node/add/type/field=49, and node/add/type/field=username
All combinations bring the following error:
Fatal error: Cannot use string offset as an array in /.../includes/form.inc on line 986
Comments
Comment #1
kenorb commentedSomething similar: #801970: Fatal error: Cannot use string offset as an array in includes/form.inc on line 986
Comment #2
phayes commentedFixed
Comment #3
phayes commentedP.S: use the user UID. node/add/type&field=49
Comment #4
bflayler commentedI'm looking to pass the UID from the url of the user profile page into a user-reference CCK field. Based off an example of code from the URLfill documentation (http://drupal.org/node/590452) I assume I need to find the UID of the user I'm looking to reference. Would you happen to have any ideas how to get the UID? I've tried replacing "node" with "user" and "nid" with "uid" from the following example.
Thanks for any help.
Comment #5
phayes commented