Archived topic
Error 502 Bad Gateway nginx/1.18.0
7 replies · Started by Judith on November 19, 2020
Hi,
When I select the size and add it to the cart, I get the "Error 502 Bad Gateway nginx / 1.18.0", it only appears in certain articles. Do you know what the error is or why it only appears on certain products?
Thank you.
Hi there,
can you link me to a product where i can see the issue ?
https://bansell.com/producto/camisa-estereo-blanco/
https://bansell.com/producto/pantalon-meyer-pana-roma-390-33-marron-claro/
This Category runs ok:
PANTALONES (67)
This Category doesn't runs :
JERSEIS (10)
JEANS (13)
CAMISAS (1)
POLOS (8)
UNDERWEAR (12)
Thanks!
The bad one loaded on the second attempt.
Can you check with your host, to see what error showed up in the server logs ?
2020/11/14 01:16:09 [error] 1545819#1545819: *619956 FastCGI sent in stderr: "PHP message: PHP Warning: mysqli_query(): (HY000/3685): Illegal argument to a regular expression. in /data/nginx/html/bansell.com/web/wp-includes/wp-db.php on line 2033PHP message: Error Illegal argument to a regular expression. de la base de datos de WordPress para la consulta SELECT wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE 1=1 AND (
( wp_postmeta.meta_key = 'chart-categories' AND wp_postmeta.meta_value RLIKE '[[:<:]]30[[:>:]]' )
) AND wp_posts.post_type = 'size-chart' AND ((wp_posts.post_status = 'publish')) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 1 realizada por require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/single-product.php'), get_header, locate_template, load_template, require_once('/themes/generatepress/header.php'), wp_head, do_action('wp_head'), WP_Hook->do_action, WP_Hook->apply_filters, wp_enqueue_scripts, do_action('wp_enqueue_scripts'), WP_Hook->do_action, WP_Hook->apply_filters, Size_Chart_For_Woocommerce_Public->enqueue_styles_scripts_callback, Size_Chart_For_Woocommerce_Public->get_inline_s...PHP message: PHP Warning: mysqli_query(): (HY000/3685): Illegal argument to a regular expression. in /data/nginx/html/bansell.com/web/wp-includes/wp-db.php on line 2033PHP message: Error Illegal argument to a regular expression. de la base de datos de WordPress para la consulta SELECT wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE 1=1 AND (
( wp_postmeta.meta_key = 'chart-categories' AND wp_postmeta.meta_value RLIKE '[[:<:]]30[[:>:]]' )
) AND wp_posts.post_type = 'size-chart' AND ((wp_posts.post_status = 'publish')) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 1 realizada por require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/single-
Looks like an issue with the Size Chart function. Is this added by a Plugin ? Can you try disabling that ?
Genius! Thanks a lot, the problem was the plugin of size chart, Thanks again!
Glad to be of help!