• I got the following Error when i add the filter to the Shop Sidebar instead of the filter:
    
    Warning: array_intersect(): Expected parameter 1 to be an array, string given in /home/customer/www/coontex.de/public_html/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/class-yith-wcan-query.php on line 1041
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /home/customer/www/coontex.de/public_html/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php on line 396
    
    Warning: array_intersect(): Expected parameter 1 to be an array, string given in /home/customer/www/coontex.de/public_html/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/class-yith-wcan-query.php on line 1041
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /home/customer/www/coontex.de/public_html/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php on line 396
    
    Warning: array_intersect(): Expected parameter 1 to be an array, string given in /home/customer/www/coontex.de/public_html/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/class-yith-wcan-query.php on line 1041
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /home/customer/www/coontex.de/public_html/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php on line 396
    
    Warning: array_intersect(): Expected parameter 1 to be an array, string given in /home/customer/www/coontex.de/public_html/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/class-yith-wcan-query.php on line 1041
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /home/customer/www/coontex.de/public_html/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php on line 396
    
    Warning: array_intersect(): Expected parameter 1 to be an array, string given in /home/customer/www/coontex.de/public_html/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/class-yith-wcan-query.php on line 1041
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /home/customer/www/coontex.de/public_html/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php on line 396
    
    Warning: array_intersect(): Expected parameter 1 to be an array, string given in /home/customer/www/coontex.de/public_html/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/class-yith-wcan-query.php on line 1041
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /home/customer/www/coontex.de/public_html/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php on line 396
    
    Warning: array_intersect(): Expected parameter 1 to be an array, string given in /home/customer/www/coontex.de/public_html/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/class-yith-wcan-query.php on line 1041
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /home/customer/www/coontex.de/public_html/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php on line 396
    
    Warning: array_intersect(): Expected parameter 1 to be an array, string given in /home/customer/www/coontex.de/public_html/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/class-yith-wcan-query.php on line 1041
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /home/customer/www/coontex.de/public_html/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php on line 396
    
    Warning: array_intersect(): Expected parameter 1 to be an array, string given in /home/customer/www/coontex.de/public_html/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/class-yith-wcan-query.php on line 1041
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /home/customer/www/coontex.de/public_html/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php on line 396
    
    Warning: array_intersect(): Expected parameter 1 to be an array, string given in /home/customer/www/coontex.de/public_html/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/class-yith-wcan-query.php on line 1041
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /home/customer/www/coontex.de/public_html/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php on line 396
    
    Warning: array_intersect(): Expected parameter 1 to be an array, string given in /home/customer/www/coontex.de/public_html/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/class-yith-wcan-query.php on line 1041
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /home/customer/www/coontex.de/public_html/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php on line 396
    
    Warning: array_intersect(): Expected parameter 1 to be an array, string given in /home/customer/www/coontex.de/public_html/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/class-yith-wcan-query.php on line 1041
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /home/customer/www/coontex.de/public_html/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php on line 396

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    We have been able to replicate the issue, but we will need to do some more tests to find the solution.

    In the meantime, please, try adding the following PHP code in the functions.php file of your current theme and then check if the issue is solved:

    add_filter( 'yith_wcan_suppress_cache', '__return_true' );

    Let us know if this helped you.

    Thread Starter Dennis

    (@dennisskr)

    Hi,

    thanks for your reply. It helps the filters are now showing without any problems.

    best regards

    Plugin Support Alessio Torrisi

    (@alessio91)

    Hi there,

    we’re going to release a new version Today, please remove the code we provided as soon as you’ll update.

    Thank you for your great cooperation.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error when add to sidebar’ is closed to new replies.