The plugin seems to be functioning ok, but there are hundreds of log entries like this, just over the past month. I am reporting this because I would assume that you would want to write clean code. It seems to be tied to this section of code:
if (isset($queriedObj->taxonomy) && isset($queriedObj->term_id)) {
/** @since 2.9.1 fix multi-term queries bug */
$validate = true;
switch(true){
case $wp_query->is_category and ($wp_query->is_tag || $wp_query->is_tax):
case $wp_query->is_tag and ($wp_query->is_category || $wp_query->is_tax):
case $wp_query->is_tax and ($wp_query->is_category || $wp_query->is_tag):
$validate = false; //multiple taxonomy queried.
break;
case isset($wp_query->tax_query):
foreach($wp_query->tax_query->queries as $t){
if(is_array($t['terms']) && count($t['terms'])>1) $validate = false; //multiple terms queried.
}
break;
}
if(!$validate) return 0;
$term_id = $queriedObj->term_id;
$taxonomy = $queriedObj->taxonomy;
// debug_msg($wp_query->tax_query->queries, "$taxonomy is ranked $term_id ");
} else {
return 0;
}
-
This reply was modified 3 years, 8 months ago by
Abigailm.