Fatal error when using sort by price and page 2
-
I’ve found that if we sort by price, and go to page 2 of any catalog page of WooCommerce, we get a Fatal error.
Fatal error: Uncaught Error: Cannot access offset of type string on string
in /home/bazarwp/public_html/wp-content/plugins/woo-product-filter/modules/woofilters/mod.php on line 227Call stack:
WoofiltersWpf::forceElementorProductFilter()
wp-includes/class-wp-hook.php:324
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:348
WP_Hook::do_action()
wp-includes/plugin.php:517
do_action()
wp-content/plugins/elementor/includes/base/element-base.php:461
Elementor\Element_Base::print_element()
wp-content/plugins/elementor/modules/element-cache/module.php:73
Elementor\M\E\Module::Elementor\M\E{closure}()
wp-includes/shortcodes.php:434
do_shortcode_tag()
preg_replace_callback()
wp-includes/shortcodes.php:273
do_shortcode()
wp-content/plugins/elementor/core/base/document.php:1855
Elementor\C\B\Document::print_elements()
wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php:412
ElementorPro\M\T\D\Theme_Document::print_elements_with_wrapper()
wp-content/plugins/elementor/includes/frontend.php:1190
Elementor\Frontend::get_builder_content()
wp-content/plugins/elementor/core/base/document.php:1248
Elementor\C\B\Document::get_content()
wp-content/plugins/elementor/modules/library/documents/library-document.php:76
Elementor\M\L\D\Library_Document::get_content()
wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php:158
ElementorPro\M\T\D\Theme_Document::get_content()
wp-content/plugins/elementor-pro/modules/floating-buttons/documents/floating-buttons.php:71
ElementorPro\M\F\D\Floating_Buttons::print_content()
wp-content/plugins/elementor-pro/modules/theme-builder/classes/locations-manager.php:370
ElementorPro\M\T\C\Locations_Manager::do_location()
wp-content/plugins/elementor-pro/modules/theme-builder/api.php:13
elementor_theme_do_location()
wp-content/plugins/elementor-pro/modules/floating-buttons/module.php:92
ElementorPro\M\F\Module::print_floating_buttons()
wp-includes/class-wp-hook.php:324
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:348
WP_Hook::do_action()
wp-includes/plugin.php:517
do_action()
wp-includes/general-template.php:3080
wp_footer()
wp-content/themes/shoptimizer/footer.php:31
require_once('/home/bazarwp/public…optimizer/footer.php')
wp-includes/template.php:810
load_template()
wp-includes/template.php:745
locate_template()
wp-includes/general-template.php:92
get_footer()
wp-content/plugins/woocommerce/templates/archive-product.php:97
include('/home/bazarwp/public…/archive-product.php')
wp-includes/template-loader.php:106
require_once('/home/bazarwp/public…/template-loader.php')
wp-blog-header.php:19
require('/home/bazarwp/public_html/wp-blog-header.php')
index.php:17Any idea on what could be causing this?
I’m going to try to disable the default sort by Woo, to only use filters by WBW, but I’d like to know if there is any other way to solve this.
The page I need help with: [log in to see the link]
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- You must be logged in to reply to this topic.