Thank you much, @trevornet and @awpile — this worked for me too! Forgive me, as I am relatively new to the community — but is there a way to ensure this patch makes it into the next build of this plugin?
This happened to me as well. Patch notification?
The trick that i did was :
if (is_array($mytax)){
if (in_array($taxonomy->name, $mytax)) $stax[] = $taxonomy;
}else{
$stax[] = '';
}
Thank god this is not Java and it’s just PHP :P, it works so far i added types no errors what so ever.
ps: Trevor’s Net solution is awesome, and Jay August as well but instead of null just add an empty string.
Oh, Thanks for your Help !!! It Works fine for me !! 😀