- 🇫🇷France andypost
In a light of PHP 8.4 this error reporting need changes 📌 Stop passing E_USER_ERROR to trigger_error() on PHP 8.4 Active
__toString
fatals on exceptions thrown and non-string returns. Worse, exceptions thrown happily die without a stack trace. This is not nice. Most of core just returns a property so that should be OK on the exception front at least but TranslationWrapper and DateTimePlus have logic in there.
catch and trigger_error and enforce string.
Fixed
8.0 ⚰️
Enhances developer experience.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
In a light of PHP 8.4 this error reporting need changes 📌 Stop passing E_USER_ERROR to trigger_error() on PHP 8.4 Active