-
Notifications
You must be signed in to change notification settings - Fork 10.8k
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
strpos() error on wc-term-functions.php line 372 version 2.1.9 #5490
Comments
[2.1.x] menu order terms were coming back empty fixes #5490
This fix creates another bug. In the This happens because 2-x-8 gets stored in the DB, even though the attribute for this product actually has the slug 2-x-8-2 |
An easy fix would be to throw in
But this conditional is starting to look a bit messy/hacky, I don't have time to look at everything using this function but is there a better way to handle this? |
Just updated woocommerce few minutes ago,
then I notice this error after update
Its this line,
it seems that $clauses['fields'] is empty,
so I just added another if statement before that line to disable error temporarily
not really comfortable editing the plugin directly so I hope you guys can push a fix for this
Thanks
system info
The text was updated successfully, but these errors were encountered: