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.
We have a shiny new #1158322: Add backtrace to all errors and even #1118520: Add inclusion of a settings.local.php file in settings.php...
...but the error level constants cannot be used for $conf in settings.php. :(
Comment | File | Size | Author |
---|---|---|---|
#8 | drupal7.error-constants.8.patch | 1.28 KB | dcam |
#5 | drupal8.error-constants.5.patch | 1.57 KB | sun |
#1 | drupal8.error-constants.1.patch | 1.55 KB | sun |
Comments
Comment #1
sunThis should do it.
If I'm not mistaken, then we have a test somewhere that checks for exact line numbers in errors.inc (which was the original reason for splitting that code out of frequently changed files such as bootstrap.inc and common.inc), so this change might trigger a test failure.
Comment #2
sun#1: drupal8.error-constants.1.patch queued for re-testing.
Comment #4
sunSo this patch actually passed should be RTBC if it still comes back green.
Comment #5
sunheh. :)
Comment #6
jbrown CreditAttribution: jbrown commentedComment #7
webchickCommitted and pushed to 8.x. Thanks!
For some reason this didn't apply to 7.x, so marking for backport.
Comment #8
dcam CreditAttribution: dcam commentedBackported #5 to D7.
Comment #9
sunThanks!
Comment #10
webchickCommitted and pushed to 7.x. Thanks!