Hi
I have a parametric search set up at hidden link but for some reason it's started to cause a 500 error in hidden link 500
This is from the PHP error log:-
[20-Jul-2021 15:18:42 UTC] PHP Fatal error: Uncaught Error: Call to a member function filtering_via_lookup_table_is_active() on null in /home/unclefills/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php:769
Stack trace:
#0 /home/unclefills/public_html/wp-content/plugins/wp-views/application/models/WooCommerce/WcQuery.php(287): WC_Query->get_tax_query(Array, true)
#1 /home/unclefills/public_html/wp-content/plugins/wp-views/application/models/WooCommerce/WcQuery.php(259): OTGS\Toolset\Views\Model\WooCommerce\WcQuery->product_query(Object(WP_Query))
#2 /home/unclefills/public_html/wp-includes/class-wp-hook.php(292): OTGS\Toolset\Views\Model\WooCommerce\WcQuery->pre_get_posts(Object(WP_Query))
#3 /home/unclefills/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
#4 /home/unclefills/public_html/wp-includes/plugin.php(551): WP_Hook->do_action(Array)
#5 /home/unclefills/public_html/wp-includes/class-wp-query.php(1784): do_action_ref_array('pre_get_posts', Array)
#6 /home/unclefills/public_html/wp-includes in /home/unclefills/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php on line 769
This is affecting sales and is quite urgent. Can you please help?
Many thanks
Steve
Hello,
It is a known issue, our developers have produced a fix for this issue and it will be released in the next version of Toolset Blocks.
In the meantime, you can apply the patch discussed in this reply https://toolset.com/forums/topic/php-fatal-error-with-ajax-filtering/#post-2118845
The patched file can be downloaded from here
hidden link
Let me know if that fixes the issue for you.
Hello,
It is fixed in the latest version of Toolset Views/Blocks plugin, you can download it here:
https://toolset.com/account/downloads/#legacy-plugins
Please test it and feedback if the problem is fixed, thanks
That's fixed it. Thank you for your help.