Repository navigation
Releases
Releases · se7enxweb/symfony-error-handler
v5.4.47 — ErrorHandler works on PHP 7.4 and 8.0 again
Updated:
- ErrorHandler calls
ReflectionProperty::setAccessible(true)on the exception trace again on PHP before 8.1 (it was removed for PHP 8.5, where the call is deprecated). Without it, the first error the handler turned into an exception failed with "Cannot access non-public property Exception::$trace": on Exponential Platform DXP 4.6 on PHP 8.0,cache:clearincomposer installstopped there. PHP 8.1 and later still skip the call.
Verified: a fresh Exponential Platform DXP 4.6 skeleton install on PHP 8.0 (Composer 2.11.0-RC1) and PHP 8.5 (Composer 2.10.3), cache:clear and about pass.