Support » Plugin: YITH WooCommerce Ajax Product Filter » Follow-Up Emails Incompatible

  • arymaynart



    This plugin has an incompatibility with Follow-Up Emails by Woothemes.
    At is last version, an error message is displayed when try to access sites front end.
    Here is the log errors:

    2019-06-18T14:39:41+00:00 CRITICAL Uncaught Error: Call to a member function get_queried_object() on null in /var/www/testsite.tst/public_html/wp-includes/query.php:44
    Stack trace:
    #0 /var/www/testsite.tst/public_html/wp-content/plugins/yith-woocommerce-ajax-product-filter/includes/class.yith-wcan-frontend.php(404): get_queried_object()
    #1 /var/www/testsite.tst/public_html/wp-content/plugins/yith-woocommerce-ajax-product-filter/includes/class.yith-wcan-frontend.php(149): YITH_WCAN_Frontend->layered_nav_query()
    #2 /var/www/testsite.tst/public_html/wp-includes/class-wp-hook.php(286): YITH_WCAN_Frontend->the_posts(Array, Object(WP_Query))
    #3 /var/www/testsite.tst/public_html/wp-includes/plugin.php(251): WP_Hook->apply_filters(Array, Array)
    #4 /var/www/testsite.tst/public_html/wp-includes/class-wp-query.php(3152): apply_filters_ref_array(‘the_posts’, Array)
    #5 /var/www/testsite.tst/public_html/wp-includes/class-wp-query.php(3404): WP_Query->get_posts()
    #6 , em /var/www/testsite.tst/public_html/wp-includes/query.php, na linha 44

    • This topic was modified 3 months ago by  arymaynart.
    • This topic was modified 3 months ago by  arymaynart.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author YITHEMES


    and thank you for contacting us!

    Please try adding the following code snippet to your theme functions.php
    add_filter( 'yith_wcan_skip_layered_nav_query', '__return_true' );
    and let us know if this will fix the issue.

    • This reply was modified 2 months, 2 weeks ago by  YITHEMES.

    @arymaynart Did you manage to solve this? I’m having the same problem and the solution from @yithemes doesn’t work for me.


    Plugin Author YITHEMES


    Hi there,

    thanks for contact us!
    Please, download a new copy of class.yith-wcan-frontend.php from here: DOWNLOAD FILE and replace it in wp-content/plugins/yith-woocommerce-ajax-product-filter/includes

    Let me know if this solve the issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.