Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
PHP does not validate. use Exception is declared in all other similar files in core. I will upload the patch in a minute.
Comment | File | Size | Author |
---|---|---|---|
#1 | updateexception-1750980.patch | 399 bytes | nlisgo |
Comments
Comment #1
nlisgo CreditAttribution: nlisgo commentedHere is the little patch :)
Comment #2
nlisgo CreditAttribution: nlisgo commentedComment #3
nlisgo CreditAttribution: nlisgo commentedIn case you're wondering where the validation error occurs it is in core/modules/system/system.api.php line 2949.
"The thrown object must be an instance of the Exception".
Comment #4
eojthebraveThis seems reasonable to me and it's a super simple patch. If you're going to extend the exception class you need to make sure it gets loaded. :)
Comment #5
catchThanks. Committed/pushed to 8.x.