upd: replacing error_reporting with display_errors