I was getting a bunch of Notice: Array to string conversion in …/wp-includes/taxonomy.php on line 3306 errors and tracked it down to using an array of taxonomy names with get_the_terms(), which expects a single taxonomy name.
I’m guessing at some point this used to use wp_get_object_terms() which does accept an array, but was changed to get_the_terms() for better performance.
Thanks for the plugin!
I was getting a bunch of
Notice: Array to string conversion in …/wp-includes/taxonomy.php on line 3306
errors and tracked it down to using an array of taxonomy names withget_the_terms()
, which expects a single taxonomy name.I’m guessing at some point this used to use
wp_get_object_terms()
which does accept an array, but was changed toget_the_terms()
for better performance.