How to Disable PHP Warnings and Notices

Sometimes you see the warnings and notices on your website’s pages, informing you that something is wrong.

From this tutorial you’ll learn how to disable PHP warning or notice.

zemez wordpress themes
Steps to Disable PHP Warning
  1. First, enter your hosting control panel.
  2. Navigate to File Manager section (otherwise you can do this through FTP file manager).disable PHP warning
  3. You need to enter your website’s root directory.
  4. Locate wp-config.php file, where you’ll need to make changes. Click on Edit, or download it to your personal computer.
  5. Hit Ctrl+F hotkeys to search for define(‘WP_DEBUG’, false); line.
  6. Now you need to replace this code passage with the following one:
  1. Click on Save or hit Ctrl+S hot keys to save the changes.
  2. Now you can refresh the page to see if the warnings are disabled.
monster one