Anonymous User 393930
(@anonymized-393930)
The only change in the last version was to support php 7.2 and that change was backwardly compatible so wouldn’t have broken anything.
‘taxonomy’ => ‘product_cat’ has never been set in any version – that must have been your customization which would have been overwritten when you upgraded.
Well, i think you have to compare your versions. I havent changed anything in your plugin.
On row 68 in sub-categories-widget.php it looks like this in the two versions:
Version 1.5
$subs = wp_list_categories(array($parent => $category_id, ‘hide_empty’ => $hide_empty_cats, ‘taxonomy’ => ‘product_cat’, ‘show_count’ => $show_post_count, ‘exclude’ => $excluded, ‘title_li’ => null, ‘show_option_none’ => ”, ‘echo’ => 0, ‘order’ => $order));
Version 1.5.1
$subs = wp_list_categories(array($parent => $category_id, ‘hide_empty’ => $hide_empty_cats, ‘show_count’ => $show_post_count, ‘exclude’ => $excluded, ‘title_li’ => null, ‘show_option_none’ => ”, ‘echo’ => 0, ‘order’ => $order));
As you can see the “‘taxonomy’ => ‘product_cat'” is removed in version 1.5.1
Anonymous User 393930
(@anonymized-393930)
That’s not the the code I have, nor the code in the WordPress repo for this plugin. Your copy has been customized: product_cat is not a standard taxonomy.
Ah.. sorry. Maybe i have done the change in the past to get it to work and forgot about it.
My apologies!