Template render error on /account with fresh new account (username and password) #24
ashpie
commented 2021-02-03 11:06:40 +01:00
Owner
```logs
Feb 03 11:04:59 hordak node[2138]: 2021-02-03 10:04:59.284 DEBUG [:-B6DTbr9] SQL: SELECT `magic_links`.* FROM `magic_links` WHERE `session_id`='(censored)' AND `action_type` IN ('login','register')
Feb 03 11:04:59 hordak node[2138]: 2021-02-03 10:04:59.287 DEBUG [:-B6DTbr9] SQL: SELECT `users`.* FROM `users` WHERE `id`=15 LIMIT 1
Feb 03 11:04:59 hordak node[2138]: 2021-02-03 10:04:59.290 DEBUG [:-B6DTbr9] SQL: SELECT `magic_links`.* FROM `magic_links` WHERE `session_id`='(censored)' AND `action_type` IN ('login','register')
Feb 03 11:04:59 hordak node[2138]: 2021-02-03 10:04:59.293 DEBUG [:-B6DTbr9] SQL: SELECT `users`.* FROM `users` WHERE `id`=15 LIMIT 1
Feb 03 11:04:59 hordak node[2138]: 2021-02-03 10:04:59.296 DEBUG [:-B6DTbr9] SQL: SELECT `user_emails`.* FROM `user_emails` WHERE `id` IS null AND `user_id`=15
Feb 03 11:04:59 hordak node[2138]: 2021-02-03 10:04:59.299 DEBUG [:-B6DTbr9] SQL: SELECT `user_emails`.* FROM `user_emails` WHERE `user_id`=15
Feb 03 11:04:59 hordak node[2138]: 2021-02-03 10:04:59.333 ERROR [:-B6DTbr9]
Feb 03 11:04:59 hordak node[2138]: Template render error (/apps/rainbox-email/node_modules/swaf/views/auth/account.njk) [Line 20, Column 31]
Feb 03 11:04:59 hordak node[2138]: attempted to output null or undefined value
Feb 03 11:04:59 hordak node[2138]: details:
Feb 03 11:04:59 hordak node[2138]: {
Feb 03 11:04:59 hordak node[2138]: name: 'Template render error'
Feb 03 11:04:59 hordak node[2138]: }
Feb 03 11:04:59 hordak node[2138]: error stack:
Feb 03 11:04:59 hordak node[2138]: • lib.js:36 _prettifyError
Feb 03 11:04:59 hordak node[2138]: node_modules/nunjucks/src/lib.js:36:11
Feb 03 11:04:59 hordak node[2138]: • environment.js:561 <anonymous>
Feb 03 11:04:59 hordak node[2138]: node_modules/nunjucks/src/environment.js:561:19
Feb 03 11:04:59 hordak node[2138]: [IP] < GET /account/ - 200 500 Internal Error
Feb 03 11:04:59 hordak node[2138]: Template render error (/apps/rainbox-email/node_modules/swaf/views/auth/account.njk) [Line 20, Column 31]
Feb 03 11:04:59 hordak node[2138]: attempted to output null or undefined value
Feb 03 11:04:59 hordak node[2138]: details:
Feb 03 11:04:59 hordak node[2138]: {
Feb 03 11:04:59 hordak node[2138]: name: 'Template render error'
Feb 03 11:04:59 hordak node[2138]: }
Feb 03 11:04:59 hordak node[2138]: error stack:
Feb 03 11:04:59 hordak node[2138]: • lib.js:36 _prettifyError
Feb 03 11:04:59 hordak node[2138]: node_modules/nunjucks/src/lib.js:36:11
Feb 03 11:04:59 hordak node[2138]: • environment.js:561 <anonymous>
Feb 03 11:04:59 hordak node[2138]: node_modules/nunjucks/src/environment.js:561:19
Feb 03 11:04:59 hordak node[2138]: 2021-02-03 10:04:59.342 INFO [:-B6DTbr9] [IP] < GET /account/ - 500
```
ashpie
added the 2021-02-03 11:06:40 +01:00
bug
label
ashpie
referenced this issue from a commit 2021-02-18 11:44:43 +01:00
Fix account.njk error on fresh new account with username and password
ashpie
closed this issue 2021-02-18 11:44:43 +01:00
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?