Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Ltar_Woocommerce_Sku_Sortby_Public' does not have a method 'order_by_popularity_post_clauses' in /home/customer/www/bosleymouldings.com/public_html/wp-includes/class-wp-hook.php on line 305

Fatal error: Uncaught TypeError: Argument 1 passed to Automattic\WooCommerce\Internal\ProductAttributesLookup\Filterer::filter_by_attribute_post_clauses() must be of the type array, null given, called in /home/customer/www/bosleymouldings.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php on line 530 and defined in /home/customer/www/bosleymouldings.com/public_html/wp-content/plugins/woocommerce/src/Internal/ProductAttributesLookup/Filterer.php:59 Stack trace: #0 /home/customer/www/bosleymouldings.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php(530): Automattic\WooCommerce\Internal\ProductAttributesLookup\Filterer->filter_by_attribute_post_clauses(NULL, Object(WP_Query), Array) #1 /home/customer/www/bosleymouldings.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php(511): WC_Query->product_query_post_clauses(NULL, Object(WP_Query)) #2 /home/customer/www/bosleymouldings.com/public_html/wp-includes/class-wp-hook.php(303): WC_Query->{closure}(NULL, Obj in /home/customer/www/bosleymouldings.com/public_html/wp-content/plugins/woocommerce/src/Internal/ProductAttributesLookup/Filterer.php on line 59