502 Bad Gateway
-
Hi,
Question; the website displays a 502 Bad Gateway after updating the plugin. The code below gives the error:
$review = apply_filters( ‘glsr_get_review’, null, $post->ID );
$reviewHtml = $review->build();<div class="row"> <?php $args = [ 'post_type' => 'site-review', 'posts_per_page' => -1, ]; $loop = new WP_Query($args); while ($loop->have_posts()) { $loop->the_post(); $review = apply_filters( 'glsr_get_review', null, $post->ID ); $reviewHtml = $review->build(); ?> <div class="col-12 col-sm-12 col-md-6 col-lg-4"> <div class="review__item"> <?php echo $reviewHtml->rating; ?> <p>"<?php echo $review->content; ?>"</p> <span>- <?php echo $review->author; ?></span> </div> </div> <?php } ?> </div>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘502 Bad Gateway’ is closed to new replies.