title: Errors: PHP Notice: Undefined index
body: <p>i have this errors in error log</p>
  
  <p>mod_fcgid: stderr: PHP Notice:  Undefined index: url in /var/www/vhosts/mysite.it/httpdocs/wp-content/themes/colormag-pro/js/sharrre/sharrre.php on line</p>
  
  <p>4 lines affected.</p>
  
  <p>Are they dangerous for my site? How can i fix them exactly?</p>
  
  <p>UPDATE: First 4 lines of this code in sharre.php get errors</p>
  
  <pre><code> $json['url'] = $_GET['url'];
    $url = urlencode($_GET['url']);
    $type = urlencode($_GET['type']);
  
    if(filter_var($_GET['url'], FILTER_VALIDATE_URL)){
      if($type == 'googlePlus'){  //source http://www.helmutgranda.com/2011/11/01/get-a-url-google-count-via-php/
        $contents = parse('https://plusone.google.com/u/0/_/+1/fastbutton?url=' . $url . '&amp;count=true');
  </code></pre>