-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
500 TypeError at views/account/profile.jade:37 Img not a string or buffer #69
500 TypeError at views/account/profile.jade:37 Img not a string or buffer #69
Comments
I followed your instructions to re-create the problem and it seems to work fine here. Could you provide more information? @lequeso |
It seems that for some reason var "this.email" is undefined at models/User.js:59 I am still investigating... Error I get at the console:
Not a string or buffer |
Fix and explantation #71 |
Steps to reproduce:
Seems the app is unable to get the Gravatar img:
profile.jade:37 = img(src="#{user.gravatar()}", class='profile', width='100', height='100')
The full error I get is:
Express
500 TypeError: /home/dev/gits/lequeso/hackathon-starter/views/account/profile.jade:37
35| label.col-sm-2.control-label(for='gravatar') Gravatar
36| .col-sm-4
> 37| img(src="#{user.gravatar()}", class='profile', width='100', height='100')
38| .form-group
39| .col-sm-offset-2.col-sm-4
40| button.btn.btn.btn-primary(type='submit')
Not a string or buffer
The text was updated successfully, but these errors were encountered: