Closed (duplicate)
Project:
Hierarchical Select
Version:
7.x-3.0-alpha5
Component:
Code - Taxonomy Views
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Apr 2012 at 05:15 UTC
Updated:
2 Sep 2013 at 12:50 UTC
Everytime I run Drupal update.php I get the following error
Strict warning: Declaration of hs_taxonomy_views_handler_filter_term_node_tid::init() should be compatible with that of views_handler_filter_term_node_tid::init() in require_once() (line 9 of \sites\all\modules\contrib\hierarchical_select\modules\hs_taxonomy_views_handler_filter_term_node_tid.inc).
As far as I can tell the functionality of Hierarchical Select is working fine and this error doesn't showup any other time.
Comments
Comment #1
wim leersSee #1170192: Port Hierarchical Select Taxonomy Views (for exposed filters in Views) to Drupal 7.
Comment #2
Sk8erPeter commentedIt's an issue with NOT using a reference sign before
$optionsargument.I changed it, and the error message is gone.
In
views_handler_filter_term_node_tid.inc, line 13this is the header:
in
hs_taxonomy_views_handler_filter_term_node_tid.inc, line 9So there's no reference sign before
$options.==============================================================
By the way, I got a little bit different error (not referring to
require_once()):Comment #3
cyberdave commentedYes, this works. I added the reference sign before $options in hs_taxonomy_views_handler_filter_term_node_tid.inc, line 9 and the warning disappeared.
Comment #4
wim leersViews integration is not yet supported. See #1170192: Port Hierarchical Select Taxonomy Views (for exposed filters in Views) to Drupal 7.