Removing error reporting.
Revert "Removing error reporting."

This reverts commit 4697d72413561769172089c4f07641031f1093ae.
Removed error reporting

On line 51, I added error_reporting(0), so the code does not output
warning messages to the output. If the code is not working, you can
comment the line out, and error reporting will return.