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.

CommentFileSizeAuthor
exported-view.txt8.67 KBOldAccount

Comments

dawehner’s picture

Status: Active » Closed (duplicate)