• Hi there, getting fatal error below on certain pages from Premmerce Product Filter for WooCommerce when upgrading “Woo Discount Rules” from 1.9.10 to 2.0.2.

    Premmerce Product Filter for WooCommerce 3.3.1
    Woocommerce 4.3.1
    WordPress 5.4.2

    Fatal error: Uncaught Error: Call to a member function get_queried_object() on null in /home/ /public_html/wp-includes/query.php:44 Stack trace: #0 /home/ /public_html/wp-content/plugins/premmerce-woocommerce-product-filter/src/Filter/Filter.php(219): get_queried_object() #1 /home/ /public_html/wp-includes/class-wp-hook.php(287): Premmerce\Filter\Filter\Filter->isProductFilterActive(false) #2 /home/ /public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters(false, Array) #3 /home/ /public_html/wp-content/plugins/premmerce-woocommerce-product-filter/src/Filter/Filter.php(46): apply_filters(‘premmerce_produ…’, false) #4 /home/ /public_html/wp-includes/class-wp-hook.php(287): Premmerce\Filter\Filter\Filter->loadFilter(Object(WP_Query)) #5 /home/ /public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array) #6 /home/ /public_html/wp-includes/plugin.php(544): WP_Hook->do_action(Ar in /home/ /public_html/wp-includes/query.php on line 44

    Any assistance would be appreciated.

Viewing 1 replies (of 1 total)
  • Had the same issue, resolved by converting Woo Discount rules to v2, just open plugin and use the option to switch to v2

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error with Woo Discount Rules’ is closed to new replies.