title: get_magic_quotes_gpc() returns undefined in my code
body: <p>I just installed a new version of XAMPP and the site that used to work perfectly now no longer works, I suppose it's a PHP incompatibility, can anyone help me? tnks in adv..</p>
  <pre><code>Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in D:\xampp\htdocs\index.php:207 Stack trace: #0 {main} thrown in D:\xampp\htdocs\index.php on line 207
  </code></pre>
  <pre><code>    \\ The path to the &quot;application&quot; folder
      if (is_dir($application_folder))
      {
          define('APPPATH', $application_folder.'/');
      }
      else
      {
          if ( ! is_dir(BASEPATH.$application_folder.'/'))
          {
              exit(&quot;Your application folder path does not appear to be set correctly. Please open the following file and correct this: &quot;.SELF);
          }
  
          define('APPPATH', BASEPATH.$application_folder.'/');
      }
  
      if(get_magic_quotes_gpc())
      {
          function stripslashes_gpc(&amp;$value)
          {
              $value = stripslashes($value);
          }
          
          array_walk_recursive($_GET, 'stripslashes_gpc');
          array_walk_recursive($_POST, 'stripslashes_gpc');
          array_walk_recursive($_COOKIE, 'stripslashes_gpc');
          array_walk_recursive($_REQUEST, 'stripslashes_gpc');
      }
  </code></pre>
  <p>thanks @WiatroBosy for your help.</p>
  <p>I think I solved the problem because the message has now changed and has diverted the error to another file..
  I solved the first problem like this..(I don't know if I did it right)</p>
  <pre><code>if(  function_exists(&quot;get_magic_quotes_gpc&quot;) &amp;&amp; get_magic_quotes_gpc())
  </code></pre>
  <p>The new error now is:</p>
  <pre><code>Fatal error: Cannot declare class CI_Log, because the name is already in use in D:\xampp\htdocs\system\libraries\Log.php on line 27 (line 27) class CI_Log {
  </code></pre>