[Plugin: Query Multiple Taxonomies] Problems with 1.3 in WP 3.0.1
-
I’ve just upgraded to 1.3 and having some issues with the widget. (using TwentyTen theme)
On the homepage (i.e. no filtering by custom taxonomy) widget displays fine. Click a link from the widget – so now seeing all posts corresponding to a single custom taxonomy term, and get the error:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in ~/…/wp-content/plugins/query-multiple-taxonomies/core.php on line 161
Line 161 onwards reads:
$args = array_merge( $wp_query->query, array(
‘nopaging’ => true,
‘caller_get_posts’ => true,
‘cache_results’ => false,
) );Modifying this to
$args = array_merge( $wp_query->query_vars, array(
‘nopaging’ => true,
‘caller_get_posts’ => true,
‘cache_results’ => false,
) );Seems to fix the error but haven’t tested.
Error doesn’t occur if you jump straight to a view searching multiple terms from custom taxonomies. (makes sense – then you have an array of terms in $query I guess)
Secondly noticed that now in widget it seems to only offer ability to ‘add term’ to current view, not to switch to a view filtered to alternative term – which was the previous behaviour. i.e. clicking anywhere on a term in the taxonomy gives the same action as was previously reserved only for the ‘+’ sign following the term
- The topic ‘[Plugin: Query Multiple Taxonomies] Problems with 1.3 in WP 3.0.1’ is closed to new replies.