bug #2355753 [core] do not bail out creating session on any PHP warning