{"action":"closed","issue":{"url":"https://api.github.com/repos/antonioribeiro/tracker/issues/127","repository_url":"https://api.github.com/repos/antonioribeiro/tracker","labels_url":"https://api.github.com/repos/antonioribeiro/tracker/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/antonioribeiro/tracker/issues/127/comments","events_url":"https://api.github.com/repos/antonioribeiro/tracker/issues/127/events","html_url":"https://github.com/antonioribeiro/tracker/issues/127","id":118894256,"number":127,"title":"Error when visiting /stats (lnvalidArgumentException: Illegal operator)","user":{"login":"michaeljhopkins","id":4623657,"avatar_url":"https://avatars.githubusercontent.com/u/4623657?v=3","gravatar_id":"","url":"https://api.github.com/users/michaeljhopkins","html_url":"https://github.com/michaeljhopkins","followers_url":"https://api.github.com/users/michaeljhopkins/followers","following_url":"https://api.github.com/users/michaeljhopkins/following{/other_user}","gists_url":"https://api.github.com/users/michaeljhopkins/gists{/gist_id}","starred_url":"https://api.github.com/users/michaeljhopkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaeljhopkins/subscriptions","organizations_url":"https://api.github.com/users/michaeljhopkins/orgs","repos_url":"https://api.github.com/users/michaeljhopkins/repos","events_url":"https://api.github.com/users/michaeljhopkins/events{/privacy}","received_events_url":"https://api.github.com/users/michaeljhopkins/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2015-11-25T18:14:13Z","updated_at":"2016-08-23T02:37:44Z","closed_at":"2016-08-23T02:37:44Z","body":"I get the following issue when hitting `/stats`. Any ideas? It's a bit out of my areas of expertise\r\n\r\n```\r\n[2015-11-25 18:11:19] production.ERROR: InvalidArgumentException: Illegal operator and value combination. in /home/forge/michaeljhopkins.com/releases/20151125180207/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:466\r\nStack trace:\r\n#0 [internal function]: Illuminate\\Database\\Query\\Builder->where('updated_at', '>=', NULL)\r\n#1 /home/forge/michaeljhopkins.com/releases/20151125180207/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(546): call_user_func_array(Array, Array)\r\n#2 /home/forge/michaeljhopkins.com/releases/20151125180207/vendor/pragmarx/tracker/src/Vendor/Laravel/Models/Base.php(45): Illuminate\\Database\\Eloquent\\Builder->where('updated_at', '>=', NULL)\r\n#3 [internal function]: PragmaRX\\Tracker\\Vendor\\Laravel\\Models\\Base->scopePeriod(Object(Illuminate\\Database\\Eloquent\\Builder), Object(PragmaRX\\Tracker\\Support\\Minutes))\r\n#4 /home/forge/michaeljhopkins.com/releases/20151125180207/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(829): call_user_func_array(Array, Array)\r\n#5 /home/forge/michaeljhopkins.com/releases/20151125180207/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(940): Illuminate\\Database\\Eloquent\\Builder->callScope('scopePeriod', Array)\r\n#6 /home/forge/michaeljhopkins.com/releases/20151125180207/vendor/pragmarx/tracker/src/Data/Repositories/Session.php(213): Illuminate\\Database\\Eloquent\\Builder->__call('period', Array)\r\n#7 /home/forge/michaeljhopkins.com/releases/20151125180207/vendor/pragmarx/tracker/src/Data/RepositoryManager.php(365): PragmaRX\\Tracker\\Data\\Repositories\\Session->last(Object(PragmaRX\\Tracker\\Support\\Minutes), true)\r\n#8 /home/forge/michaeljhopkins.com/releases/20151125180207/vendor/pragmarx/tracker/src/Tracker.php(348): PragmaRX\\Tracker\\Data\\RepositoryManager->getLastSessions(Object(PragmaRX\\Tracker\\Support\\Minutes), true)\r\n#9 /home/forge/michaeljhopkins.com/releases/20151125180207/bootstrap/cache/compiled.php(6017): PragmaRX\\Tracker\\Tracker->sessions(Object(PragmaRX\\Tracker\\Support\\Minutes))\r\n#10 /home/forge/michaeljhopkins.com/releases/20151125180207/vendor/pragmarx/tracker/src/Vendor/Laravel/Controllers/Stats.php(85): Illuminate\\Support\\Facades\\Facade::__callStatic('sessions', Array)\r\n#11 /home/forge/michaeljhopkins.com/releases/20151125180207/vendor/pragmarx/tracker/src/Vendor/Laravel/Controllers/Stats.php(61): PragmaRX\\Tracker\\Vendor\\Laravel\\Controllers\\Stats->visits()\r\n#12 /home/forge/michaeljhopkins.com/releases/20151125180207/vendor/pragmarx/tracker/src/Vendor/Laravel/Controllers/Stats.php(52): PragmaRX\\Tracker\\Vendor\\Laravel\\Controllers\\Stats->showPage('visits')\r\n#13 [internal function]: PragmaRX\\Tracker\\Vendor\\Laravel\\Controllers\\Stats->index()\r\n#14 /home/forge/michaeljhopkins.com/releases/20151125180207/bootstrap/cache/compiled.php(8853): call_user_func_array(Array, Array)\r\n#15 /home/forge/michaeljhopkins.com/releases/20151125180207/bootstrap/cache/compiled.php(8922): Illuminate\\Routing\\Controller->callAction('index', Array)\r\n#16 /home/forge/michaeljhopkins.com/releases/20151125180207/bootstrap/cache/compiled.php(8902): Illuminate\\Routing\\ControllerDispatcher->call(Object(PragmaRX\\Tracker\\Vendor\\Laravel\\Controllers\\Stats), Object(Illuminate\\Routing\\Route), 'index')\r\n#17 [internal function]: Illuminate\\Routing\\ControllerDispatcher->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))\r\n#18 /home/forge/michaeljhopkins.com/releases/20151125180207/bootstrap/cache/compiled.php(9564): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))\r\n#19 [internal function]: Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\r\n#20 /home/forge/michaeljhopkins.com/releases/20151125180207/bootstrap/cache/compiled.php(9546): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))\r\n#21 /home/forge/michaeljhopkins.com/releases/20151125180207/bootstrap/cache/compiled.php(8903): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\r\n#22 /home/forge/michaeljhopkins.com/releases/20151125180207/bootstrap/cache/compiled.php(8888): Illuminate\\Routing\\ControllerDispatcher->callWithinStack(Object(PragmaRX\\Tracker\\Vendor\\Laravel\\Controllers\\Stats), Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request), 'index')\r\n#23 /home/forge/michaeljhopkins.com/releases/20151125180207/bootstrap/cache/compiled.php(7842): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request), 'PragmaRX\\\\Tracke...', 'index')\r\n#24 /home/forge/michaeljhopkins.com/releases/20151125180207/bootstrap/cache/compiled.php(7813): Illuminate\\Routing\\Route->runWithCustomDispatcher(Object(Illuminate\\Http\\Request))\r\n#25 /home/forge/michaeljhopkins.com/releases/20151125180207/bootstrap/cache/compiled.php(7466): Illuminate\\Routing\\Route->run(Object(Illuminate\\Http\\Request))\r\n#26 [internal function]: Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))\r\n#27 /home/forge/michaeljhopkins.com/releases/20151125180207/bootstrap/cache/compiled.php(9564): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))\r\n#28 /home/forge/michaeljhopkins.com/releases/20151125180207/app/Http/Middleware/SentinelAdmin.php(25): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\r\n#29 [internal function]: Me\\Http\\Middleware\\SentinelAdmin->handle(Object(Illuminate\\Http\\Request), Object(Closure))\r\n#30 /home/forge/michaeljhopkins.com/releases/20151125180207/bootstrap/cache/compiled.php(9556): call_user_func_array(Array, Array)\r\n#31 [internal function]: Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\r\n```"}}
{"actor":{"display_login":"antonioribeiro"}}