[BUGFIX] Logging PHP errors to sys_log table does not work