Unable to view node as the following error is displayed:

Fatal error: Cannot use string offset as an array in sites\all\modules\nodereference_field\nodereference_field.module on line 158

Drupal Version: 6.17, 6.19 (Recreated problem two installs)
Node Reference Version: 6.x-2.8
CCK Version: 6.x-2.8

Steps to recreate problem:

1. Installed nodereference_autocreate (6.x-1.x-dev), nodereference_field (6.x-1.x-dev), and nodereference_views (6.x-1.2)
2. Enabled all modules
3. Created custom CCK with a node reference field
4. Cloned example view that came with nodereference_views using same name as node reference field
5. Set Display Field for node reference field to "View"
6. Created content
7. When trying to view the created content, error is thrown

I only get the error when the Display Field is set to "View". All other options, work normal.

Comments

joachim’s picture

Status: Active » Postponed (maintainer needs more info)

> nodereference_autocreate (6.x-1.x-dev), nodereference_field

I'm not sure how either of these might be causing the problem, but try disabling them and see what happens.

saipas’s picture

Had the same issue, seems that disabling node reference field alone makes it work. Weird because it should only alter content while in edit mode, not view.