- 🇺🇸United States Stoob
+1 and thank you for the wonderful #301 patch. Don't forget to turn backtrace in settings at admin/config/development/logging after patch applied
- last update
over 1 year ago 2,110 pass - last update
over 1 year ago run-tests.sh exception - last update
over 1 year ago 2,110 pass - last update
over 1 year ago 2,110 pass - last update
over 1 year ago 2,110 pass - last update
over 1 year ago 2,110 pass - last update
over 1 year ago 2,110 pass - last update
over 1 year ago run-tests.sh exception - last update
over 1 year ago 2,110 pass - last update
over 1 year ago 2,110 pass - last update
over 1 year ago 2,110 pass - last update
over 1 year ago run-tests.sh exception - last update
over 1 year ago 2,111 pass - last update
over 1 year ago 2,112 pass - last update
over 1 year ago 2,112 pass - last update
over 1 year ago 2,112 pass - last update
over 1 year ago 2,112 pass - last update
over 1 year ago 2,112 pass - last update
over 1 year ago 2,112 pass - last update
over 1 year ago run-tests.sh exception - last update
over 1 year ago 2,116 pass - last update
over 1 year ago 2,116 pass - last update
over 1 year ago 2,116 pass - last update
over 1 year ago 2,116 pass - last update
over 1 year ago 2,116 pass - last update
over 1 year ago 2,116 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago run-tests.sh exception - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago run-tests.sh exception - last update
over 1 year ago 2,120 pass - last update
over 1 year ago run-tests.sh exception - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago run-tests.sh exception - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago 2,120 pass - last update
over 1 year ago run-tests.sh exception - last update
over 1 year ago 2,121 pass - last update
about 1 year ago 2,121 pass - last update
about 1 year ago 2,121 pass - last update
about 1 year ago 2,121 pass - last update
about 1 year ago 2,121 pass - last update
about 1 year ago 2,121 pass - last update
about 1 year ago 2,121 pass - last update
about 1 year ago 2,121 pass - last update
about 1 year ago 2,121 pass - last update
about 1 year ago 2,121 pass - last update
about 1 year ago 2,121 pass - last update
about 1 year ago 2,121 pass - last update
about 1 year ago 2,122 pass - last update
about 1 year ago 2,121 pass, 1 fail - last update
about 1 year ago 2,122 pass - last update
about 1 year ago 2,122 pass - last update
about 1 year ago 2,122 pass - last update
about 1 year ago 2,122 pass - last update
about 1 year ago run-tests.sh exception - last update
about 1 year ago 2,122 pass - last update
about 1 year ago 2,122 pass - last update
about 1 year ago 2,122 pass - last update
about 1 year ago 2,122 pass - last update
about 1 year ago run-tests.sh exception - last update
about 1 year ago 2,122 pass - last update
about 1 year ago 2,122 pass - last update
about 1 year ago 2,122 pass - last update
about 1 year ago 2,122 pass - last update
about 1 year ago 2,122 pass - last update
about 1 year ago run-tests.sh exception - last update
about 1 year ago 2,122 pass - last update
about 1 year ago 2,122 pass - last update
about 1 year ago 2,122 pass - last update
about 1 year ago 2,122 pass - last update
about 1 year ago 2,122 pass - last update
about 1 year ago 2,122 pass - last update
about 1 year ago 2,122 pass - last update
about 1 year ago 2,122 pass - last update
about 1 year ago 2,122 pass - last update
about 1 year ago 2,122 pass - last update
about 1 year ago 2,122 pass - last update
about 1 year ago 2,124 pass - last update
about 1 year ago 2,124 pass - last update
about 1 year ago 2,123 pass, 1 fail - last update
about 1 year ago 2,124 pass - last update
about 1 year ago 2,124 pass - last update
12 months ago 2,124 pass - last update
12 months ago 2,124 pass - last update
12 months ago 2,124 pass - last update
12 months ago 2,124 pass - last update
12 months ago 2,124 pass - last update
12 months ago 2,124 pass - last update
12 months ago 2,127 pass - last update
12 months ago 2,127 pass - last update
12 months ago 2,127 pass - last update
12 months ago 2,127 pass - last update
12 months ago 2,127 pass - last update
11 months ago 2,127 pass - last update
11 months ago 2,127 pass - last update
11 months ago 2,127 pass - last update
11 months ago 2,127 pass - last update
11 months ago 2,126 pass, 1 fail - last update
11 months ago 2,127 pass - last update
11 months ago 2,127 pass - last update
11 months ago 2,126 pass, 1 fail - last update
11 months ago 2,127 pass - last update
11 months ago 2,127 pass - last update
11 months ago 2,127 pass - last update
11 months ago 2,127 pass - last update
11 months ago 2,127 pass - Status changed to Needs work
8 months ago 2:08pm 5 April 2024 - 🇫🇷France anrikun
Actually additions made in patch at #301 may cause crash below in theme_dblog_message() when the exception's class is not a standard one:
Object of class __PHP_Incomplete_Class could not be converted to string
As $error['exception'] is no longer used after getting its trace, I suggest we unset it then.
- Status changed to Needs review
8 months ago 2:23pm 5 April 2024 - last update
8 months ago 2,179 pass - 🇫🇷France anrikun
This new patch only adds:
unset($error['exception']);
<?php if (isset($error['exception'])) { $e = $error['exception']; unset($error['exception']); // HERE } else { $e = new Exception(); } ?>
- last update
8 months ago 2,179 pass - last update
8 months ago 2,179 pass - last update
8 months ago 2,140 pass - last update
8 months ago 2,179 pass - last update
8 months ago 2,179 pass - last update
8 months ago 2,179 pass - last update
8 months ago 2,175 pass - Status changed to Needs work
5 months ago 12:44pm 19 June 2024 - 🇫🇷France anrikun
Actually, even with my patch, some exceptions still cause what I described at #311.
I guess patch at #301 needs to be rethought to avoid this. - Status changed to Needs review
5 months ago 1:17pm 19 June 2024 - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
5 months ago Waiting for branch to pass - 🇫🇷France anrikun
This new patch seems to work in all cases :-)
The 'exception' attribute is now added in _drupal_exception_handler() and directly in _drupal_decode_exception().