title: Warning: fileperms(): stat failed for
body: <p>i've one wordpress installation on /lp folder, when i finished the website i moved it to the root, everything works fine except one plugin "Global Gallery" that gave me an error (you can see here <a href="http://www.cagliaridinamoacademy.com/gallery/" rel="nofollow noreferrer">http://www.cagliaridinamoacademy.com/gallery/</a>) </p>
  
  <p>At the line 935 of file.php there is this code:</p>
  
  <pre><code>    define('FS_CHMOD_FILE', ( fileperms( ABSPATH . 'index.php' ) &amp; 0777 | 0644 ) );
  </code></pre>
  
  <p>How can I fix it?
  Thank you</p>