look at line 44 and assert whether there actually is a project_id field in byUserId[entry.user_id] ;)