Skip to content

Releases

v5.4.47 — ErrorHandler works on PHP 7.4 and 8.0 again

Choose a tag to compare

@se7enxweb se7enxweb released this 29 Oct 06:38

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:clear in composer install stopped 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.