Skip to content

Instantly share code, notes, and snippets.

@pencilcheck
Created November 28, 2015 09:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pencilcheck/197fcf29bd52750c619d to your computer and use it in GitHub Desktop.
Save pencilcheck/197fcf29bd52750c619d to your computer and use it in GitHub Desktop.
backend_1 | /src/controllers/events.js:299
backend_1 | if (user_connections.indexOf(attendee._id) === -1 ) {
backend_1 | ^
backend_1 | TypeError: Cannot read property '_id' of null
backend_1 | at Query.<anonymous> (/src/controllers/events.js:299:52)
backend_1 | at /install/node_modules/mongoose/node_modules/kareem/index.js:177:19
backend_1 | at /install/node_modules/mongoose/node_modules/kareem/index.js:109:16
backend_1 | at process._tickCallback (node.js:355:11)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment