Closed (duplicate)
Project:
Views (for Drupal 7)
Version:
7.x-3.7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
6 Sep 2013 at 07:28 UTC
Updated:
4 Dec 2013 at 17:57 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
erik frèrejeanI've attached a patch that will check whether
$args['data']is actually set before callingdrupal_add_js().Comment #2
erik frèrejeanComment #3
CSoft commentedWhat about css? I have two such errors instead of one.
Necessary to supplement the patch:
Comment #4
erik frèrejeanYes, you are correct. Updated the patch.
Comment #5
erik frèrejeanLooks like I clicked submit to quick, that patch contains a typo in the check.
Comment #6
edvanleeuwenTested it, after having applied https://drupal.org/node/1511396#comment-7911787
No more errors from the plugin.
Comment #7
gappleI think this issue has a better patch, but #2018737: Notice: Undefined index: data in views_plugin_cache->restore_headers() was reported first so marking this as a duplicate.
Comment #8
Exploratus commentedWorked for me.