Viewing 1 replies (of 1 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Unfortunately not.

    There’s an action that fires before the error is logged (qm/collect/new_php_error) but no filter to prevent it being logged.

    I’m usually hesitant to add this sort of thing because it allows lazy developers to hide errors that they think aren’t important, but this can already be done using the qm/collect/php_error_levels filter so I guess the addition of a per-error filter is no different.

    I’ll add it to the todo list ??

Viewing 1 replies (of 1 total)
  • The topic ‘Exclude specific PHP error messages?’ is closed to new replies.