Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

empty array if taxonomy query var is null #93

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Barny-Thorpe
Copy link

@Barny-Thorpe Barny-Thorpe commented Mar 31, 2023

ERROR:

PHP Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, 
null given in .../vendor/jjgrainger/posttypes/src/Taxonomy.php:361

FIX:
return empty array if $query->query_vars['taxonomy'] is null.

Closes:
closes #86, closes #85, closes #76

@briandetweiler
Copy link

Hey @jjgrainger , can we get this merged? If any columns are added to custom taxonomy we are unable to save new terms. Thanks.

@nilsringersma
Copy link

Can we please get this merged @jjgrainger ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants