When turning opn WP_DEBUG and WP_DEBUG_DISPLAY, I get tons of warnings and notices. I have tried to remove the warnings by doing a @ini_set(‘error_reporting’, 1) to only show E_ERROR, but I still get tons of E_NOTICE.
Is there someway to prevent all the warnings and notices and only show errors in HTML output?