{"action":"created","issue":{"url":"https://api.github.com/repos/LearningLocker/learninglocker/issues/801","repository_url":"https://api.github.com/repos/LearningLocker/learninglocker","labels_url":"https://api.github.com/repos/LearningLocker/learninglocker/issues/801/labels{/name}","comments_url":"https://api.github.com/repos/LearningLocker/learninglocker/issues/801/comments","events_url":"https://api.github.com/repos/LearningLocker/learninglocker/issues/801/events","html_url":"https://github.com/LearningLocker/learninglocker/issues/801","id":146621193,"number":801,"title":"BaseDashboard.php exception: invalid operator '$size'","user":{"login":"woutertenbosch","id":1789696,"avatar_url":"https://avatars.githubusercontent.com/u/1789696?v=3","gravatar_id":"","url":"https://api.github.com/users/woutertenbosch","html_url":"https://github.com/woutertenbosch","followers_url":"https://api.github.com/users/woutertenbosch/followers","following_url":"https://api.github.com/users/woutertenbosch/following{/other_user}","gists_url":"https://api.github.com/users/woutertenbosch/gists{/gist_id}","starred_url":"https://api.github.com/users/woutertenbosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woutertenbosch/subscriptions","organizations_url":"https://api.github.com/users/woutertenbosch/orgs","repos_url":"https://api.github.com/users/woutertenbosch/repos","events_url":"https://api.github.com/users/woutertenbosch/events{/privacy}","received_events_url":"https://api.github.com/users/woutertenbosch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/LearningLocker/learninglocker/labels/priority:medium","name":"priority:medium","color":"eb6420"},{"url":"https://api.github.com/repos/LearningLocker/learninglocker/labels/status:unconfirmed","name":"status:unconfirmed","color":"eb6420"},{"url":"https://api.github.com/repos/LearningLocker/learninglocker/labels/type:bug","name":"type:bug","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"andrewhickey","id":6569282,"avatar_url":"https://avatars.githubusercontent.com/u/6569282?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewhickey","html_url":"https://github.com/andrewhickey","followers_url":"https://api.github.com/users/andrewhickey/followers","following_url":"https://api.github.com/users/andrewhickey/following{/other_user}","gists_url":"https://api.github.com/users/andrewhickey/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewhickey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewhickey/subscriptions","organizations_url":"https://api.github.com/users/andrewhickey/orgs","repos_url":"https://api.github.com/users/andrewhickey/repos","events_url":"https://api.github.com/users/andrewhickey/events{/privacy}","received_events_url":"https://api.github.com/users/andrewhickey/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/LearningLocker/learninglocker/milestones/49","html_url":"https://github.com/LearningLocker/learninglocker/milestones/v1.12.2","labels_url":"https://api.github.com/repos/LearningLocker/learninglocker/milestones/49/labels","id":1599976,"number":49,"title":"v1.12.2","description":"","creator":{"login":"ht2","id":1352590,"avatar_url":"https://avatars.githubusercontent.com/u/1352590?v=3","gravatar_id":"","url":"https://api.github.com/users/ht2","html_url":"https://github.com/ht2","followers_url":"https://api.github.com/users/ht2/followers","following_url":"https://api.github.com/users/ht2/following{/other_user}","gists_url":"https://api.github.com/users/ht2/gists{/gist_id}","starred_url":"https://api.github.com/users/ht2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ht2/subscriptions","organizations_url":"https://api.github.com/users/ht2/orgs","repos_url":"https://api.github.com/users/ht2/repos","events_url":"https://api.github.com/users/ht2/events{/privacy}","received_events_url":"https://api.github.com/users/ht2/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":7,"state":"open","created_at":"2016-02-23T15:26:28Z","updated_at":"2016-04-29T14:09:28Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-04-07T13:17:43Z","updated_at":"2016-05-02T21:19:08Z","closed_at":null,"body":"**Version**\r\nmaster at 627be8f on 1.12.1\r\n\r\n**Steps to reproduce the bug**\r\n1. Register the first user on LearningLocker\r\n2. Graph on the dashboard is not working\r\n\r\n**Expected behaviour**\r\nExpected an empty graph instead of an Mongo error.\r\n\r\n**Actual behaviour**\r\n```\r\nerror:\r\nfile: \"/var/learninglocker/app/locker/data/dashboards/BaseDashboard.php\"\r\nline: 221\r\nmessage: \"mongodb:27017: exception: invalid operator '$size'\"\r\ntype: \"MongoResultException\"\r\n```\r\n\r\n**Additional information**\r\nOS: Ubuntu 14.04 x64\r\nBrowser: Google Chrome 49\r\n"},"comment":{"url":"https://api.github.com/repos/LearningLocker/learninglocker/issues/comments/216367684","html_url":"https://github.com/LearningLocker/learninglocker/issues/801#issuecomment-216367684","issue_url":"https://api.github.com/repos/LearningLocker/learninglocker/issues/801","id":216367684,"user":{"login":"ht2","id":1352590,"avatar_url":"https://avatars.githubusercontent.com/u/1352590?v=3","gravatar_id":"","url":"https://api.github.com/users/ht2","html_url":"https://github.com/ht2","followers_url":"https://api.github.com/users/ht2/followers","following_url":"https://api.github.com/users/ht2/following{/other_user}","gists_url":"https://api.github.com/users/ht2/gists{/gist_id}","starred_url":"https://api.github.com/users/ht2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ht2/subscriptions","organizations_url":"https://api.github.com/users/ht2/orgs","repos_url":"https://api.github.com/users/ht2/repos","events_url":"https://api.github.com/users/ht2/events{/privacy}","received_events_url":"https://api.github.com/users/ht2/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T21:19:08Z","updated_at":"2016-05-02T21:19:08Z","body":"Sounds like out of date Mongo. Are you running 2.4.x? The latest versions of LL actually require at least 2.6.x but we now recommend 3.x."}}