How to disable and suppress PHP error output using htaccess in your hosting
By default, the PHP display_errors setting is set on. In your production environment, it’s a good idea to prevent public display of PHP errors. Ideally, you should edit php.ini file. If you do not have access to php.ini with your hosting plan, you can also do it in htaccess file.