PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Bug in /index.php line 2744

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

I've discovered a bug in the index.php on line 2744.

This is what is says:

if (isset($args['taxonomies'][$tax_key][$t->term_id])) {
    $args['taxonomies'][$tax_key] = $args['taxonomies'][$tax_key][$t->term_id]['childs'];
}

But in a translated website ['childs'] is often empty. And then filters are not shown on the website at all because 
the taxanomy is replaced with an empty array.
I think the code should be:

if (isset($args['taxonomies'][$tax_key][$t->term_id]) && !empty($args['taxonomies'][$tax_key][$t->term_id]['childs'])) {
    $args['taxonomies'][$tax_key] = $args['taxonomies'][$tax_key][$t->term_id]['childs'];
} 

Can that please be a hotfix in the plugin?


Hello

Thank  you  for  your  cooperatio!

I  passed  it  to  developers