vojin

Untitled

Aug 23rd, 2023
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.30 KB | None | 0 0
  1. Fatal error: Uncaught TypeError: array_intersect(): Argument #1 ($array) must be of type array, string given in /home/voydriving/www/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/class-yith-wcan-query.php:1041 Stack trace: #0 /home/voydriving/www/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/class-yith-wcan-query.php(1041): array_intersect('246912', Array) #1 /home/voydriving/www/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php(516): YITH_WCAN_Query->get_query_relevant_term_objects('pa_combustible', 117, true) #2 /home/voydriving/www/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php(454): YITH_WCAN_Filter_Tax->get_term_products(117) #3 /home/voydriving/www/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php(390): YITH_WCAN_Filter_Tax->get_term_children(117) #4 /home/voydriving/www/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php(339): YITH_WCAN_Filter_Tax->get_formatted_terms() #5 /home/voydriving/www/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php(46): YITH_WCAN_Filter_Tax->has_relevant_terms() #6 /home/voydriving/www/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/class-yith-wcan-preset.php(365): YITH_WCAN_Filter_Tax->is_relevant() #7 /home/voydriving/www/wp-content/plugins/yith-woocommerce-ajax-navigation/templates/shortcodes/filters.php(23): YITH_WCAN_Preset->has_relevant_filters() #8 /home/voydriving/www/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/voydrivin...') #9 /home/voydriving/www/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/functions-yith-wcan.php(938): wc_get_template('shortcodes/filt...', Array, 'woocommerce/yit...', '/home/voydrivin...') #10 /home/voydriving/www/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/shortcodes/class-yith-wcan-shortcode-filters.php(48): yith_wcan_get_template('shortcodes/filt...', Array, false) #11 /home/voydriving/www/wp-includes/shortcodes.php(395): YITH_WCAN_Shortcode_Filters::render(Array, '', 'yith_wcan_filte...') #12 [internal function]: do_shortcode_tag(Array) #13 /home/voydriving/www/wp-includes/shortcodes.php(235): preg_replace_callback('/\\[(\\[?)(yith_w...', 'do_shortcode_ta...', '[yith_wcan_filt...') #14 /home/voydriving/www/wp-includes/class-wp-hook.php(312): do_shortcode('[yith_wcan_filt...') #15 /home/voydriving/www/wp-includes/plugin.php(205): WP_Hook->apply_filters('[yith_wcan_filt...', Array) #16 /home/voydriving/www/wp-includes/widgets/class-wp-widget-block.php(78): apply_filters('widget_block_co...', '[yith_wcan_filt...', Array, Object(WP_Widget_Block)) #17 /home/voydriving/www/wp-includes/class-wp-widget.php(394): WP_Widget_Block->widget(Array, Array) #18 /home/voydriving/www/wp-includes/widgets.php(2026): WP_Widget->display_callback(Array, Array) #19 /home/voydriving/www/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php(697): wp_render_widget('block-17', 'sidebar-1') #20 /home/voydriving/www/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php(154): WP_REST_Widgets_Controller->prepare_item_for_response(Array, Object(WP_REST_Request)) #21 /home/voydriving/www/wp-includes/rest-api/class-wp-rest-server.php(1188): WP_REST_Widgets_Controller->get_items(Object(WP_REST_Request)) #22 /home/voydriving/www/wp-includes/rest-api/class-wp-rest-server.php(1035): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/wp/v2/widgets', Array, NULL) #23 /home/voydriving/www/wp-includes/rest-api.php(545): WP_REST_Server->dispatch(Object(WP_REST_Request)) #24 /home/voydriving/www/wp-includes/rest-api.php(2911): rest_do_request(Object(WP_REST_Request)) #25 [internal function]: rest_preload_api_request(Array, '/wp/v2/widgets?...') #26 /home/voydriving/www/wp-includes/block-editor.php(743): array_reduce(Array, 'rest_preload_ap...', Array) #27 /home/voydriving/www/wp-admin/widgets-form-blocks.php(26): block_editor_rest_api_preload(Array, Object(WP_Block_Editor_Context)) #28 /home/voydriving/www/wp-admin/widgets.php(32): require('/home/voydrivin...') #29 {main} thrown in /home/voydriving/www/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/class-yith-wcan-query.php on line 1041
Advertisement
Add Comment
Please, Sign In to add comment