Fatal Error after inserting shortcode for filter
-
Hello
We use the plugin in a store.
When we paste the shortcode into a code block at Avada we get a fatal error. We have tried several filters but it always triggers an error.
How can we solve the problem?This is the message:
Fatal error: Uncaught Error: array_intersect(): Argument #1 ($array) must be of type array, string given
in /var/www/clients/client161/web1342/web/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/class-yith-wcan-query.php on line 1041Call stack:
array_intersect()
wp-content/plugins/yith-woocommerce-ajax-navigation/includes/class-yith-wcan-query.php:1041YITH_WCAN_Query::get_query_relevant_term_objects()
wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php:516YITH_WCAN_Filter_Tax::get_term_products()
wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php:454YITH_WCAN_Filter_Tax::get_term_children()
wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php:390YITH_WCAN_Filter_Tax::get_formatted_terms()
wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php:339YITH_WCAN_Filter_Tax::has_relevant_terms()
wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php:46YITH_WCAN_Filter_Tax::is_relevant()
wp-content/plugins/yith-woocommerce-ajax-navigation/includes/class-yith-wcan-preset.php:365YITH_WCAN_Preset::has_relevant_filters()
wp-content/plugins/yith-woocommerce-ajax-navigation/templates/shortcodes/filters.php:23include()
wp-content/plugins/woocommerce/includes/wc-core-functions.php:345wc_get_template()
wp-content/plugins/yith-woocommerce-ajax-navigation/includes/functions-yith-wcan.php:938yith_wcan_get_template()
wp-content/plugins/yith-woocommerce-ajax-navigation/includes/shortcodes/class-yith-wcan-shortcode-filters.php:48YITH_WCAN_Shortcode_Filters::render()
wp-includes/shortcodes.php:395do_shortcode_tag()
preg_replace_callback()
wp-includes/shortcodes.php:235do_shortcode()
wp-content/plugins/fusion-builder/shortcodes/fusion-code-block.php:45FusionSC_Code_Block::render()
wp-includes/shortcodes.php:395do_shortcode_tag()
preg_replace_callback()
wp-includes/shortcodes.php:235do_shortcode()
wp-content/plugins/fusion-builder/inc/class-fusion-column-element.php:561Fusion_Column_Element::render()
wp-includes/shortcodes.php:395do_shortcode_tag()
preg_replace_callback()
wp-includes/shortcodes.php:235do_shortcode()
wp-content/plugins/fusion-builder/inc/class-fusion-row-element.php:123Fusion_Row_Element::render()
wp-includes/shortcodes.php:395do_shortcode_tag()
preg_replace_callback()
wp-includes/shortcodes.php:235do_shortcode()
wp-content/plugins/fusion-builder/shortcodes/fusion-container.php:1078FusionSC_Container::render()
wp-includes/shortcodes.php:395do_shortcode_tag()
preg_replace_callback()
wp-includes/shortcodes.php:235do_shortcode()
wp-includes/class-wp-hook.php:310WP_Hook::apply_filters()
wp-includes/plugin.php:205apply_filters()
wp-includes/post-template.php:256the_content()
wp-content/themes/Avada/100-width.php:23include()
wp-includes/template-loader.php:106require_once()
wp-blog-header.php:19require()
index.php:17
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Fatal Error after inserting shortcode for filter’ is closed to new replies.