WordPress errors refuse to hide

Solution:1

ini_set(‘error_reporting’, 0); Would be a dirty workaround. It’s most likely due to a php.ini setting on the server that you’re not able to overwrite within the code.

Solution:2

The issue turned out to be the server settings that was blocking the change I was making in the local code. The hosters changed the display_errors to “Off” in a php.ini file he created for the server.