Closed (duplicate)
Project:
Views (for Drupal 7)
Version:
7.x-3.0-rc1
Component:
taxonomy data
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Aug 2011 at 18:52 UTC
Updated:
24 Aug 2011 at 15:46 UTC
Trying to create a view that displays banners tagged with the same taxonomy term as the current URL. I get these 2 php warnings:
Warning: array_filter() expects parameter 1 to be array, null given in views_plugin_argument_default_taxonomy_tid->options_submit() (line 78 of C:\web\sites\all\modules\views\modules\taxonomy\views_plugin_argument_default_taxonomy_tid.inc).
and
Warning: array_filter() expects parameter 1 to be array, null given in views_plugin_argument_validate_taxonomy_term->options_submit() (line 73 of C:\web\sites\all\modules\views\modules\taxonomy\views_plugin_argument_validate_taxonomy_term.inc).
Here is the query:
SELECT node.nid AS nid, node.created AS node_created, 'node' AS field_data_field_category_banner_image_node_entity_type
FROM
{node} node
WHERE (( (node.status = '1') AND (node.type IN ('category_banner')) AND (node.nid IN (SELECT tn.nid AS nid
FROM
{taxonomy_index} tn
WHERE ( (tn.tid = '45') ))) ))
ORDER BY node_created DESC
LIMIT 1 OFFSET 0
Exported view is attached.
| Comment | File | Size | Author |
|---|---|---|---|
| exported-view.txt | 8.67 KB | OldAccount |
Comments
Comment #1
dawehnerThis is solved by #1245032: Notice: undefined index vocabularies in views_plugin_argument_validate_taxonomy_term.inc as well.