{"action":"closed","issue":{"url":"https://api.github.com/repos/Prophet731/BFAdminCP/issues/109","labels_url":"https://api.github.com/repos/Prophet731/BFAdminCP/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/Prophet731/BFAdminCP/issues/109/comments","events_url":"https://api.github.com/repos/Prophet731/BFAdminCP/issues/109/events","html_url":"https://github.com/Prophet731/BFAdminCP/issues/109","id":110814429,"number":109,"title":"Live Scoreboard Isn't working, throwing fatal error","user":{"login":"mikedevita","id":2991640,"avatar_url":"https://avatars.githubusercontent.com/u/2991640?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedevita","html_url":"https://github.com/mikedevita","followers_url":"https://api.github.com/users/mikedevita/followers","following_url":"https://api.github.com/users/mikedevita/following{/other_user}","gists_url":"https://api.github.com/users/mikedevita/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedevita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedevita/subscriptions","organizations_url":"https://api.github.com/users/mikedevita/orgs","repos_url":"https://api.github.com/users/mikedevita/repos","events_url":"https://api.github.com/users/mikedevita/events{/privacy}","received_events_url":"https://api.github.com/users/mikedevita/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-10T20:15:51Z","updated_at":"2015-10-10T21:41:41Z","closed_at":"2015-10-10T21:41:41Z","body":"> Fatal Error! The request couldn't complete due to a server side error. Please choose another server or retry. Notify an administrator if this error persists.\r\n\r\nI can see chat logs, players and associated stats of players.. it is just the livescoreboard which is freaking out.\r\n\r\n looks like logs are throwing an error.. When i go to http://admincp.otcclan.com/api/servers/scoreboard/4\r\n\r\n> reset() expects parameter 1 to be array, string given\r\n\r\n\r\nlooks like `app/storage/logs/` has the following...\r\n\r\n```\r\n  1 [2015-10-10 20:46:41] production.ERROR: exception 'ErrorException' with message 'reset() expects parameter 1 to be array, string given' in /var/www/admincp.otcclan.com/vendor/laravel/framework/src/Illuminate/Support/helpers.php:556\r\n  2 Stack trace:\r\n  3 #0 [internal function]: Illuminate\\Exception\\Handler->handleError(2, 'reset() expects...', '/var/www/adminc...', 556, Array)\r\n  4 #1 /var/www/admincp.otcclan.com/vendor/laravel/framework/src/Illuminate/Support/helpers.php(556): reset('MapNameNotFound...')\r\n  5 #2 /var/www/admincp.otcclan.com/app/bfacp/Repositories/Scoreboard/LiveServerRepository.php(680): head('MapNameNotFound...')\r\n  6 #3 /var/www/admincp.otcclan.com/app/bfacp/Repositories/Scoreboard/LiveServerRepository.php(702): BFACP\\Repositories\\Scoreboard\\LiveServerRepository->getMapList()\r\n  7 #4 /var/www/admincp.otcclan.com/app/bfacp/Repositories/Scoreboard/LiveServerRepository.php(973): BFACP\\Repositories\\Scoreboard\\LiveServerRepository->getNextMap()\r\n  8 #5 /var/www/admincp.otcclan.com/app/bfacp/Repositories/Scoreboard/LiveServerRepository.php(223): BFACP\\Repositories\\Scoreboard\\LiveServerRepository->serverinfo()\r\n  9 #6 /var/www/admincp.otcclan.com/app/bfacp/Http/Controllers/Api/ServersController.php(99): BFACP\\Repositories\\Scoreboard\\LiveServerRepository->attempt()\r\n 10 #7 [internal function]: BFACP\\Http\\Controllers\\Api\\ServersController->scoreboard('4')\r\n 11 #8 /var/www/admincp.otcclan.com/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(231): call_user_func_array(Array, Array)\r\n 12 #9 /var/www/admincp.otcclan.com/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(93): Illuminate\\Routing\\Controller->callAction('scoreboard', Array)\r\n 13 #10 /var/www/admincp.otcclan.com/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(62): Illuminate\\Routing\\ControllerDispatcher->call(Object(BFACP\\Http\\Controllers\\Api\\ServersController), Object(Dingo\\Api\\Routing\\    Route), 'scoreboard')\r\n 14 #11 /var/www/admincp.otcclan.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php(967): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Dingo\\Api\\Routing\\Route), Object(Illuminate\\Http\\Request), 'BFACP\\Http\\Cont...',     'scoreboard')\r\n 15 #12 [internal function]: Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}('4')\r\n 16 #13 /var/www/admincp.otcclan.com/vendor/laravel/framework/src/Illuminate/Routing/Route.php(109): call_user_func_array(Object(Closure), Array)\r\n 17 #14 /var/www/admincp.otcclan.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1033): Illuminate\\Routing\\Route->run(Object(Illuminate\\Http\\Request))\r\n 18 #15 /var/www/admincp.otcclan.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1001): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))\r\n 19 #16 /var/www/admincp.otcclan.com/vendor/dingo/api/src/Routing/Router.php(216): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))\r\n 20 #17 /var/www/admincp.otcclan.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(775): Dingo\\Api\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))\r\n 21 #18 /var/www/admincp.otcclan.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(745): Illuminate\\Foundation\\Application->dispatch(Object(Illuminate\\Http\\Request))\r\n 22 #19 /var/www/admincp.otcclan.com/vendor/laravel/framework/src/Illuminate/Session/Middleware.php(72): Illuminate\\Foundation\\Application->handle(Object(Illuminate\\Http\\Request), 1, true)\r\n 23 #20 /var/www/admincp.otcclan.com/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php(47): Illuminate\\Session\\Middleware->handle(Object(Illuminate\\Http\\Request), 1, true)\r\n 24 #21 /var/www/admincp.otcclan.com/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php(51): Illuminate\\Cookie\\Queue->handle(Object(Illuminate\\Http\\Request), 1, true)\r\n 25 #22 /var/www/admincp.otcclan.com/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Illuminate\\Cookie\\Guard->handle(Object(Illuminate\\Http\\Request), 1, true)\r\n 26 #23 /var/www/admincp.otcclan.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(641): Stack\\StackedHttpKernel->handle(Object(Illuminate\\Http\\Request))\r\n 27 #24 /var/www/admincp.otcclan.com/public/index.php(49): Illuminate\\Foundation\\Application->run()\r\n 28 #25 {main} [] []\r\n\r\n```"}}