At this piece of code to the top of your PHP script

error_reporting(0);

It’s always better to try and fix the errors than to hide them!!