Topic: PHP 8.4 trigger_error($msg, E_USER_ERROR) obsolete
I guess calling trigger_error($msg, E_USER_ERROR) is obsoleted in 8.4....
My quick fix was to modify:
includes\errors.inc
- add line 26 :
$bt = ($errno == E_USER_ERROR or $errno == E_USER_WARNING) ? "" : $bt;
- replace line 96:
error_handler($exception->getCode(), sprintf(_("Unhandled exception [%s]: %s."), $exception->getCode(), $exception->getMessage()), $exception->getFile(), $exception->getLine());
_________________
modify includes\ui\ui_msgs.inc
- replace line 14:
error_handler(E_USER_ERROR, $msg, "","");
- replace line 19:
error_handler(E_USER_NOTICE, $msg, "","");