problem with non-latin product attribute
-
Thank you for your great plugin
When I activated the plugin in my non-latin site (ie Farsi) I got the following error:
Uncaught Error: Call to a member function get_visible() on null (line 323)
after investigating the cause I realized that the problemn is $correctkey that is not urlencoded therefore it cannot find the attribute so it returns null.
I changed the line 307 on file “woo-variations-table.php” from:
$correctkey = wc_sanitize_taxonomy_name(stripslashes($key));
to:
$correctkey = strtolower(urlencode(wc_sanitize_taxonomy_name(stripslashes($key))));now it is working fine.
I hope you modify it in your future updates.The page I need help with: [log in to see the link]
- The topic ‘problem with non-latin product attribute’ is closed to new replies.