-
Bug
-
Resolution: Fixed
-
Major
-
4.0.0-a1, 3.3.12, 3.3.13-RC1
-
None
Passing E_USER_ERROR to trigger_error() is deprecated in PHP 8.4, so it causes E_DEPRECATED and E_FATAL, f.e.
Deprecated: Passing E_USER_ERROR to trigger_error() is deprecated since 8.4, throw an exception or call exit with a string message instead
|
Fatal error: Config values have to be deleted explicitly with the \phpbb\config\config::delete($key) method.
|
And also:
Fatal error: Uncaught TypeError: config::offsetUnset(): never-returning method must not implicitly return
|
See:
https://github.com/php/php-src/blob/7e5171d1f671dc19251fa8241842eb2fb4f8d7b8/UPGRADING#L431
https://wiki.php.net/rfc/deprecations_php_8_4#deprecate_passing_e_user_error_to_trigger_error
https://github.com/php/php-src/pull/15308
- is related to
-
PHPBB-17342 Add PHP 8.4-dev tests to GitHub Actions
- Unverified Fix