I am experimenting with Widgets module and found that when I create a definition using [node:nid] token it would show the following error:

Undefined index:data in drupal_process_attached()

Am I doing something wrong here? The widget is being used in the content region of a node.

CommentFileSizeAuthor
#3 fix_undefined_data-1479506-3.patch836 bytesbarami

Comments

drupalycious’s picture

I obtain the same message when I want to add a new widget definition,
I go to 'structure/Widgets/Definitions/Add widget definition' and the following message appear:

Notice: Undefined index: data in drupal_process_attached() (line 4374 of MY-DRUPAL-SITE-DIRECTORY/includes/common.inc)

but so far the widgets created work properly.

CarllosUK’s picture

Hey guys, I'm also getting this error.

Any further news on this?

I'm unable to put any javascript in the js fields, could this has something to do with it?

barami’s picture

Component: Miscellaneous » Code
Status: Active » Needs review
StatusFileSize
new836 bytes

Fixed that. Enjoy :)

barami’s picture

Issue summary: View changes

Clarified that I'm using the token.

kenorb’s picture