Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
An extra check to see if there are reported php errors. These could be fetched from watchdog table, and grouped by message ( or partial message ).
Also possible to add a treshold to the number of identical php errors before reporting.
Might be a good idea too to only get the log entries of severity type error or higher..
Comments
Comment #1
malc0mn CreditAttribution: malc0mn commentedImplemented this one for D6 & D7...
Will show the number of PHP errors in watchdog on the prod_check statuspage if dblog is on with a link to admin/reports/dblog so you can check for details.
On the prod_check settings page you can set the minimum watchdog severity level from which to start reporting PHP errors.
Thinking about the threshold, that's why the status is 'needs work' ;-)
Comment #2
malc0mn CreditAttribution: malc0mn commentedMaybe the threshold can be done by changing the current count query to something like:
Where the threshold is 3 in this case.
Resulting in something like:
Each line holds the number of identical PHP errors occured, where we can see that we need to report '4 PHP errors occured multiple times!' So in the end:
Comment #3
malc0mn CreditAttribution: malc0mn commentedThreshold implemented as well...
Still thinking about a third setting: we now throw a *_WARNING when PHP errors occur. Maybe this should be user definable as well, or should we throw an *_ERROR?
Leaving at 'needs work' for this reason.
Comment #5
AnybodyNice idea, still for 8.x!
@malc0mn what's the real status here?
Comment #6
malc0mn CreditAttribution: malc0mn commentedSame here: no clue what the status is after 11 years ;-)
Comment #7
Anybody