title: Error 500, not on local but on server
body: <p>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 ? </p>
  
  <p>I have erased my .htaccess, looked in the log and I have nothing really interesting</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?php
  /**
  * Template Name: Actus
  *
  * @link https://codex.wordpress.org/Template_Hierarchy
  *
  */
  
  get_header('other'); ?&gt;
  
  &lt;section id ="page-title" class="col-md-12"&gt;
  
    &lt;div class="container"&gt;
      &lt;div class="container"&gt;
        &lt;header class="row extra-bottom-padding"&gt;
          &lt;div class="section_title col-lg-12 col-sm-12 col-sm-12 top-buffer"&gt;
            &lt;h1 class="title"&gt;Actus&lt;/h1&gt;
            &lt;hr class="divider_blue"&gt;
          &lt;/div&gt;
  
        &lt;/header&gt;
        &lt;?
  
        $args = array("posts_per_page" =&gt; "12", "category_name" =&gt; "actus, cest-fait");
        $the_query = new WP_Query ($args);
        $x = 1;
        foreach ($args as $arg)
        if($x % 4 == 0) echo '&lt;div class="row"&gt;';
        while ( $the_query-&gt;have_posts() ) : $the_query-&gt;the_post();
        ?&gt;
        &lt;div class="col-md-4 col-lg-4 col-sm-6 col-xs-12"&gt;
          &lt;div class="le_post_entier"&gt;
            &lt;? the_post_thumbnail('actus'); ?&gt;
            &lt;div class="col-md-12 postbody"&gt;
              &lt;div class="col-md-12 post-title"&gt;
                  &lt;? the_title(); ?&gt;
              &lt;/div&gt;
            &lt;/div&gt;
            &lt;a class="cta" href="#" style='color:#39c8d8; font-weight:bold;'&gt;DÉCOUVRIR &amp;#8594;&lt;/a&gt;
          &lt;/div&gt;
  
        &lt;/div&gt;
        &lt;?php
      endwhile; ?&gt;&lt;?
      $x++;
  
      if($x % 4 == 0) echo '&lt;/div&gt;';
      ?&gt;
    &lt;/div&gt;
  &lt;/section&gt;</code></pre>
  </div>
  </div>
  </p>