[Resolved] Error 502 Bad Gateway nginx/1.18.0

Home Forums Support [Resolved] Error 502 Bad Gateway nginx/1.18.0

Home Forums Support Error 502 Bad Gateway nginx/1.18.0

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1537163
    Judith

    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.

    #1537232
    David
    Staff
    Customer Support

    Hi there,

    can you link me to a product where i can see the issue ?

    #1537251
    Judith

    Of course,
    NO RUNS:

    https://bansell.com/producto/camisa-estereo-blanco/

    RUNS OK:

    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!

    #1537258
    David
    Staff
    Customer Support

    The bad one loaded on the second attempt.
    Can you check with your host, to see what error showed up in the server logs ?

    #1537265
    Judith

    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-

    #1537292
    David
    Staff
    Customer Support

    Looks like an issue with the Size Chart function. Is this added by a Plugin ? Can you try disabling that ?

    #1537318
    Judith

    Genius! Thanks a lot, the problem was the plugin of size chart, Thanks again!

    #1537352
    David
    Staff
    Customer Support
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.