title: ReCAPTCHA v3 score issue
body: <p>As I'm trying to code a website with a contact form, I would like to add reCAPTCHA v3 - but have some issues..
  I followed this tutorial : <a href="https://stevencotterill.com/articles/adding-google-recaptcha-v3-to-a-php-form" rel="nofollow noreferrer">Tutorial link</a></p>
  
  <p>To be more precise, I red other tutorials but thought this one was the most easy to understand.</p>
  
  <p>First of all I created some id's on my google account as localhost and get some keys - next they are indicated as XXXXXXXXXXX.</p>
  
  <p>In my website page are defined php variables and a mail submit method and next, all the HTML part.
  I tried to simplified it as possible..</p>
  
  <p>Here is the code :</p>
  
  <pre><code>&lt;?php 
      define('SITE_KEY', 'XXXXXXXXXXX');    
      define('SECRET_KEY', 'XXXXXXXXXXX');
  
      if ($_SERVER['REQUEST_METHOD'] === 'POST' AND isset($_POST['recaptcha_response'])) 
      {         
          $recaptcha_url = 'https://www.google.com/recaptcha/api/siteverify';
          $recaptcha_secret = SECRET_KEY;
          $recaptcha_response = $_POST['recaptcha_response'];
          $recaptcha = file_get_contents($recaptcha_url . '?secret=' . $recaptcha_secret . '&amp;response=' . $recaptcha_response);
          $recaptcha = json_decode($recaptcha);
          if ($recaptcha-&gt;score &gt;= 0.5)
          {  
              if (isset($_POST['send_message']))
              {
                  include("mail_contact.php");   //method to send email
              }
          }
      }
  ?&gt;
  
  &lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;meta charset="utf-8" /&gt;
          &lt;link rel="stylesheet" href="Pages/style.css" /&gt;
          &lt;title&gt;Contact page&lt;/title&gt;
          &lt;script src='https://www.google.com/recaptcha/api.js?render=&lt;?php echo SITE_KEY; ?&gt;'&gt;&lt;/script&gt;
          &lt;script&gt;
              grecaptcha.ready(function()
              {
                  grecaptcha.execute(&lt;?php echo SITE_KEY; ?&gt;, {action: 'send_message'}).then(function(token)
                  {
                      document.getElementById('recaptchaResponse').value = token;
                  });
              });
          &lt;/script&gt;
      &lt;/head&gt;
      &lt;body class="preload"&gt;
              &lt;header&gt;
                  &lt;?php include("Pages/header.php"); ?&gt;
              &lt;/header&gt;
  
              &lt;section&gt;
                          &lt;form method="post" action=""&gt;
                              &lt;div class="grille"&gt;
                                  &lt;div class="demibox"&gt;
                                      &lt;label for="last_name"&gt;Nom :&lt;/label&gt;
                                      &lt;input type="text" name="last_name" id="last_name" maxlength="20" required /&gt;
                                  &lt;/div&gt;
                                  &lt;div class="demibox"&gt;
                                      &lt;label class="label_name" for="first_name"&gt;Prenom :&lt;/label&gt;
                                      &lt;input type="text" name="first_name" id="first_name" maxlength="20" required /&gt;
                                  &lt;/div&gt;
                              &lt;/div&gt;
                              &lt;div class="grille"&gt;
                                  &lt;label for="email"&gt;E-mail :&lt;/label&gt;
                                  &lt;input type="email" name="email" id="email" maxlength="55" required /&gt;
                              &lt;/div&gt;
                              &lt;div class="grille_message"&gt;
                                  &lt;textarea name="message" id="message" required &gt;&lt;/textarea&gt; 
                              &lt;/div&gt;
                              &lt;button name="send_message"&gt;
                                  &lt;span&gt;Envoyer&lt;/span&gt;
                              &lt;/button&gt;
                              &lt;input type="hidden" name="recaptcha_response" id="recaptchaResponse"&gt;
                          &lt;/form&gt;
              &lt;/section&gt;
  
              &lt;footer&gt;
                  &lt;?php include("Pages/footer.php"); ?&gt;
              &lt;/footer&gt;
          &lt;/div&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>But when I use the 'Send' button, it gives me the following error :</p>
  
  <p><strong>Notice: Undefined property: stdClass::$score in /Applications/MAMP/htdocs/Website/main.php on line 13</strong></p>
  
  <p>I understand the error but don't know how to fix it..</p>
  
  <p>Is anyone has a solution please ?</p>
  
  <p>Thank you for your help :)</p>
  
  <p>Jerry</p>