When I try to add a node reference field from the Manage fields page, I obtain the following error messages:

Warning: Missing argument 2 for node_reference_field_settings() in node_reference_field_settings() (line 72 of /Applications/MAMP/htdocs/dr7/sites/all/modules/cck/modules/node_reference/node_reference.module).
Notice: Undefined variable: columns in cck_default_value_widget() (line 1301 of /Applications/MAMP/htdocs/dr7/sites/all/modules/cck/includes/cck.admin.inc).
Warning: implode(): Invalid arguments passed in cck_default_value_widget() (line 1301 of /Applications/MAMP/htdocs/dr7/sites/all/modules/cck/includes/cck.admin.inc).
Notice: Undefined offset: 0 in node_reference_select_process() (line 437 of /Applications/MAMP/htdocs/dr7/sites/all/modules/cck/modules/node_reference/node_reference.module).
Notice: Undefined index: #type_name in node_reference_select_process() (line 447 of /Applications/MAMP/htdocs/dr7/sites/all/modules/cck/modules/node_reference/node_reference.module).
Notice: Uninitialized string offset: 0 in element_children() (line 3482 of /Applications/MAMP/htdocs/dr7/includes/common.inc).
Notice: Undefined offset: 0 in options_select_process() (line 179 of /Applications/MAMP/htdocs/dr7/modules/field/modules/options/options.module).
Notice: Undefined index: referenceable_types in _node_reference_potential_references_standard() (line 680 of /Applications/MAMP/htdocs/dr7/sites/all/modules/cck/modules/node_reference/node_reference.module).
Notice: Uninitialized string offset: 0 in element_children() (line 3482 of /Applications/MAMP/htdocs/dr7/includes/common.inc).
Notice: Uninitialized string offset: 0 in element_children() (line 3482 of /Applications/MAMP/htdocs/dr7/includes/common.inc).
Notice: Uninitialized string offset: 0 in element_children() (line 3482 of /Applications/MAMP/htdocs/dr7/includes/common.inc).

After I click on save in the first page, I get a second page with no options; clicking on Save field settings, I get a page with further settings which shows the errors I reported before.

Comments

avpaderno’s picture

Clicking on Save settings, I return to the page showing the list of fields for the content page, and also these error messages:

Notice: Undefined variable: columns in cck_default_value_widget() (line 1301 of /Applications/MAMP/htdocs/dr7/sites/all/modules/cck/includes/cck.admin.inc).
Warning: implode(): Invalid arguments passed in cck_default_value_widget() (line 1301 of /Applications/MAMP/htdocs/dr7/sites/all/modules/cck/includes/cck.admin.inc).
Notice: Undefined offset: 0 in node_reference_select_process() (line 437 of /Applications/MAMP/htdocs/dr7/sites/all/modules/cck/modules/node_reference/node_reference.module).
Notice: Undefined index: #type_name in node_reference_select_process() (line 447 of /Applications/MAMP/htdocs/dr7/sites/all/modules/cck/modules/node_reference/node_reference.module).
Notice: Uninitialized string offset: 0 in element_children() (line 3482 of /Applications/MAMP/htdocs/dr7/includes/common.inc).
Notice: Undefined offset: 0 in options_select_process() (line 179 of /Applications/MAMP/htdocs/dr7/modules/field/modules/options/options.module).
Notice: Undefined offset: 0 in options_data2form() (line 283 of /Applications/MAMP/htdocs/dr7/modules/field/modules/options/options.module).
Notice: Undefined index: #bundle in options_data2form() (line 285 of /Applications/MAMP/htdocs/dr7/modules/field/modules/options/options.module).
Notice: Undefined index: referenceable_types in _node_reference_potential_references_standard() (line 680 of /Applications/MAMP/htdocs/dr7/sites/all/modules/cck/modules/node_reference/node_reference.module).
Notice: Uninitialized string offset: 0 in element_children() (line 3482 of /Applications/MAMP/htdocs/dr7/includes/common.inc).
Notice: Uninitialized string offset: 0 in element_children() (line 3482 of /Applications/MAMP/htdocs/dr7/includes/common.inc).
Notice: Uninitialized string offset: 0 in element_children() (line 3482 of /Applications/MAMP/htdocs/dr7/includes/common.inc).
Notice: Undefined offset: 0 in options_form2data() (line 311 of /Applications/MAMP/htdocs/dr7/modules/field/modules/options/options.module).
Notice: Undefined index: #bundle in options_form2data() (line 313 of /Applications/MAMP/htdocs/dr7/modules/field/modules/options/options.module).
Notice: Undefined offset: 0 in node_reference_options_validate() (line 548 of /Applications/MAMP/htdocs/dr7/sites/all/modules/cck/modules/node_reference/node_reference.module).
avpaderno’s picture

I get the same error messages with the latest development snapshot too.

karens’s picture

Status: Active » Fixed

Nodereference is working fine in latest code.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.