I get this error when displaying nodes and the drop-down subscription form does not render correctly. checkboxes are rendered but they are displayed without the drop-down.
warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /.../sites/all/modules/messaging/messaging.module on line 579.
The "full node links" option seems to work fine.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 828556.patch | 724 bytes | roderik |
| #1 | notifications-bug.jpg | 12.93 KB | stg11 |
Comments
Comment #1
stg11 commentedI did more testing. The collapsible form works in edit mode, but not in view mode. In addition to error message mentioned above, see attached for a sample of the incomplete rendering of the form.
Comment #2
roderiknotifications_ui/notifications_ui.module:function notifications_ui_nodeapi() has the following line:
But the form definition is
That can't be; the passed function argument for $account is inconsistent with the definition.
I don't know the code well, but I figured it best to put the 'account' argument in the drupal_get_form call to NULL, instead of TRUE.
Comment #3
roderikFix incorporated 2010-07-24, issue not closed yet
http://drupalcode.org/project/notifications.git/commitdiff/ba77ce62b96b1...
Comment #4
roderikHm, sorry. Wrong issue. Fix not incorporated.