Error 500, not on local but on server

I’ve made this page and it loads normally while on local development but when I try to access it on the server I have an Error 500, can somebody help me ?

I have erased my .htaccess, looked in the log and I have nothing really interesting

* Template Name: Actus
* @link

get_header('other'); ?>

<section id ="page-title" class="col-md-12">

  <div class="container">
    <div class="container">
      <header class="row extra-bottom-padding">
        <div class="section_title col-lg-12 col-sm-12 col-sm-12 top-buffer">
          <h1 class="title">Actus</h1>
          <hr class="divider_blue">


      $args = array("posts_per_page" => "12", "category_name" => "actus, cest-fait");
      $the_query = new WP_Query ($args);
      $x = 1;
      foreach ($args as $arg)
      if($x % 4 == 0) echo '<div class="row">';
      while ( $the_query->have_posts() ) : $the_query->the_post();
      <div class="col-md-4 col-lg-4 col-sm-6 col-xs-12">
        <div class="le_post_entier">
          <? the_post_thumbnail('actus'); ?>
          <div class="col-md-12 postbody">
            <div class="col-md-12 post-title">
                <? the_title(); ?>
          <a class="cta" href="#" style='color:#39c8d8; font-weight:bold;'>DÉCOUVRIR →</a>

    endwhile; ?><?

    if($x % 4 == 0) echo '</div>';

Read more here: Error 500, not on local but on server

Leave a Reply

Your email address will not be published. Required fields are marked *