Hello Giuseppe,
Thanks for the quick update.
For your information with php 8.0 & 8.2 the plugin has many incompatibilities. Some information on my site is no longer displayed.
Here is the error wit 8.0 :
2023/08/18 11:29:01 [error] 91102#91102: *3821333 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: array_intersect(): Argument #1 ($array) must be of type array, string given in /www/boucletteco_218/public/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/class-yith-wcan-query.php:1041
Stack trace:
#0 /www/boucletteco_218/public/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/class-yith-wcan-query.php(1041): array_intersect('14304', Array)
#1 /www/boucletteco_218/public/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php(516): YITH_WCAN_Query->get_query_relevant_term_objects('product_cat', 15, false)
#2 /www/boucletteco_218/public/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php(454): YITH_WCAN_Filter_Tax->get_term_products(15)
#3 /www/boucletteco_218/public/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php(390): YITH_WCAN_Filter_Tax->get_term_children(15)
#4 /www/bouclettec" while reading response header from upstream, client: 162.55.86.59, server: bouclette.co, request: "GET /mon-type-de-boucle/boucles/page/3?yith_wcan=1&pa_mon-type-de-boucle=boucles&query_type_ma-densite=or&filter_ma-densite=densite-forte HTTP/2.0", upstream: "fastcgi://unix:/var/run/php8.0-fpm-boucletteco.sock:", host: "bouclette.co:57405"
And on 8.2 :
2023/08/18 11:47:37 [error] 72167#72167: *3823379 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: array_intersect(): Argument #1 ($array) must be of type array, string given in /www/boucletteco_218/public/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/class-yith-wcan-query.php:1041
Stack trace:
#0 /www/boucletteco_218/public/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/class-yith-wcan-query.php(1041): array_intersect('14304', Array)
#1 /www/boucletteco_218/public/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php(516): YITH_WCAN_Query->get_query_relevant_term_objects('product_cat', 15, false)
#2 /www/boucletteco_218/public/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php(454): YITH_WCAN_Filter_Tax->get_term_products(15)
#3 /www/boucletteco_218/public/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/filters/class-yith-wcan-filter-tax.php(390): YITH_WCAN_Filter_Tax->get_term_children(15)
#4 /www/bouclettec" while reading response header from upstream, client: 162.55.86.59, server: bouclette.co, request: "GET /mon-type-de-boucle/crepus/page/4?yith_wcan=1&pa_mon-type-de-boucle=crepus&query_type_mon-type-de-boucle=or&filter_mon-type-de-boucle=boucles-frises HTTP/2.0", upstream: "fastcgi://unix:/var/run/php8.2-fpm-boucletteco.sock:", host: "bouclette.co:57405"
I have to deactivate your plugin to stop getting errors and continue using my site.
Thank you for your help
-
This reply was modified 1 year, 3 months ago by djimmyl.