mirror of
https://github.com/umami-software/umami.git
synced 2026-02-19 12:05:41 +01:00
Fix "Cannot destructure property 'session_id' of 'session' as it is null" error Sometimes with a large number of requests, an error occurs when searching for a session. 1. Session not found. "session === null" 2. Next, we try to create it, but we get into "catch", i.e. our "session" variable is "null". If we get the error "Unique constraint failed on the fields: (`session_uuid`)", then the session was created in another request and we need to get it. |
||
|---|---|---|
| .. | ||
| array.js | ||
| auth.js | ||
| constants.js | ||
| crypto.js | ||
| date.js | ||
| db.js | ||
| filters.js | ||
| format.js | ||
| lang.js | ||
| middleware.js | ||
| request.js | ||
| response.js | ||
| session.js | ||
| url.js | ||
| web.js | ||