Template render error on /account with fresh new account (username and password) #24

Closed
opened 2021-02-03 11:06:40 +01:00 by ashpie · 0 comments
Owner
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
```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
bug
label 2021-02-03 11:06:40 +01:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ashpie/swaf#24
No description provided.