prova con
error_reporting(E_ALL ^ E_NOTICE);

in alto nel tuo script.