I have gotten this error with the dev version as well as the beta14 version with the latest Drupal 6.20. If you use nrembrowser for an unlimited node reference field (like for images), an error occurs when you add another item. Once this "Add Another Item" button is clicked, the all of the thumbnails disappear.
If you proceed and click "Add Content", there will be an error message in the popup, but the functionality still works if you scroll down and add your new image. The new thumbnail will display, but if you add another item, it will again disappear. The error message will repeat for each field that previously existed, so if I had added 4 fields, I would see this 4x.
If you save your node, though, the referenced items will be saved and displayed, and will display fine the next time I edit the node - until I "Add Another Item".
The error is:
warning: Illegal offset type in isset or empty in /sites/all/modules/nrembrowser/nrembrowser.module on line 709.
warning: Illegal offset type in /sites/all/modules/nrembrowser/nrembrowser.module on line 710.
warning: Illegal offset type in /sites/all/modules/nrembrowser/nrembrowser.module on line 710.
warning: Illegal offset type in /sites/all/modules/nrembrowser/nrembrowser.module on line 710.
user warning: Unknown column 'n._error_element' in 'where clause' query: SELECT n.nid, n.type, n.language, n.uid, n.status, n.created, n.changed, n.comment, n.promote, n.moderate, n.sticky, n.tnid, n.translate, r.vid, r.uid AS revision_uid, r.title, r.body, r.teaser, r.log, r.timestamp AS revision_timestamp, r.format, u.name, u.picture, u.data FROM node n INNER JOIN users u ON u.uid = n.uid INNER JOIN node_revisions r ON r.vid = n.vid WHERE n.nid = 'Photo2-1 [nid:11]' AND n._error_element = 'field_gallery_photos][0][nid][nid' in /modules/node/node.module on line 755.
Comments
Comment #1
aaron commentedThough I was unable to replicate, I committed a possible fix. Please check against the latest dev snapshot, and re-open if this is still an issue.
Thanks!