title: Google Recaptcha Internal Error
body: <p>I'm using the new Google reCaptcha API for a contact form inside a page on my wordpress instance, but the <strong><code>API returns a 500 Internal Server Error message</code></strong> when using the script given by Google.<br>
  So, I'm using this code to make it work</p>
  
  <pre><code>$siteKey = "sitekey";
  $secret = "secretkey";
  $lang = "it";
  
  $resp = null;
  $error = null;
  
  $reCaptcha = new ReCaptcha($secret);
  
  if ($_POST["g-recaptcha-response"]) {
      $resp = $reCaptcha-&gt;verifyResponse(
          $_SERVER["REMOTE_ADDR"],
          $_POST["g-recaptcha-response"]
      );
  }
  </code></pre>
  
  <p>and, on the HTML:</p>
  
  <pre><code>&lt;script src='https://www.google.com/recaptcha/api.js'&gt;&lt;/script&gt;
  &lt;div class="g-recaptcha" data-sitekey="&lt;?php echo siteKey; ?&gt;"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>But, when i open that page, the only thing I see is this:</p>
  
  <pre><code>An error occurred:  
  An internal error occurred: 50C0C9A3E5F28.AB460A3.4C003672
  </code></pre>
  
  <p>By the way, on Google Chrome console i can click on the URL generated by the API's script, and, when I open it, I see a blank page with the reCaptcha I needed.</p>
  
  <p>Could it be a conflict between Google reCaptcha API and Wordpress or is it just an API's error?</p>