Unset error reporting for notices to disable warnings of undeclared variables.