My Profile Photo

luke.geek.nz


An IT Engineer with a love for all things IT including (but not limited to), Microsoft Azure, Automation and Service Management!


How to hide PHP errors on a WordPress installation

  1. Using an FTP client – such as Filezilla log in to your website.
  2. Navigate to your WordPress directory
  3. Right click wp-config.php
  4. Select Edit
  5. Add:  @ini_set(‘display_errors’, 0); to the wp-config document – up the top is fine.
  6. Now save the document, your FTP client should now upload the changes and any PHP errors you may be displaying will be hidden.
comments powered by Disqus