{"action":"closed","issue":{"url":"https://api.github.com/repos/UniSharp/laravel-filemanager/issues/645","repository_url":"https://api.github.com/repos/UniSharp/laravel-filemanager","labels_url":"https://api.github.com/repos/UniSharp/laravel-filemanager/issues/645/labels{/name}","comments_url":"https://api.github.com/repos/UniSharp/laravel-filemanager/issues/645/comments","events_url":"https://api.github.com/repos/UniSharp/laravel-filemanager/issues/645/events","html_url":"https://github.com/UniSharp/laravel-filemanager/issues/645","id":343421279,"node_id":"MDU6SXNzdWUzNDM0MjEyNzk=","number":645,"title":"Parameter must be an array or an object that implements Countable","user":{"login":"liggth","id":39007682,"node_id":"MDQ6VXNlcjM5MDA3Njgy","avatar_url":"https://avatars3.githubusercontent.com/u/39007682?v=4","gravatar_id":"","url":"https://api.github.com/users/liggth","html_url":"https://github.com/liggth","followers_url":"https://api.github.com/users/liggth/followers","following_url":"https://api.github.com/users/liggth/following{/other_user}","gists_url":"https://api.github.com/users/liggth/gists{/gist_id}","starred_url":"https://api.github.com/users/liggth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liggth/subscriptions","organizations_url":"https://api.github.com/users/liggth/orgs","repos_url":"https://api.github.com/users/liggth/repos","events_url":"https://api.github.com/users/liggth/events{/privacy}","received_events_url":"https://api.github.com/users/liggth/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-07-22T16:51:55Z","updated_at":"2018-07-26T10:30:22Z","closed_at":"2018-07-26T10:30:22Z","author_association":"NONE","body":" * Laravel version : 5.6\r\n * Package version : 1.9\r\n\r\nAfter installation, I received an error (when I open filemanager):\r\n`count(): Parameter must be an array or an object that implements Countable`\r\nin \r\nunisharp\\laravel-filemanager\\src\\Traits\\LfmHelpers.php\r\nError in: \r\n\r\n/**\r\n     * Overrides settings in php.ini.\r\n     *\r\n     * @return null\r\n     */\r\n    public function applyIniOverrides()\r\n    {\r\n        if (count(config('lfm.php_ini_overrides')) == 0) {\r\n            return;\r\n        }\r\n \r\n        foreach (config('lfm.php_ini_overrides') as $key => $value) {\r\n            if ($value && $value != 'false') {\r\n                ini_set($key, $value);\r\n            }\r\n        }\r\n    }"}}
{"actor":{"display_login":"gwleuverink"}}