{"action":"created","issue":{"url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/972","repository_url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel","labels_url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/972/labels{/name}","comments_url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/972/comments","events_url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/972/events","html_url":"https://github.com/Maatwebsite/Laravel-Excel/issues/972","id":184647065,"number":972,"title":"[BUG] I have a problem with Lumen 5.2 and export csv","user":{"login":"rasparac","id":5451620,"avatar_url":"https://avatars.githubusercontent.com/u/5451620?v=3","gravatar_id":"","url":"https://api.github.com/users/rasparac","html_url":"https://github.com/rasparac","followers_url":"https://api.github.com/users/rasparac/followers","following_url":"https://api.github.com/users/rasparac/following{/other_user}","gists_url":"https://api.github.com/users/rasparac/gists{/gist_id}","starred_url":"https://api.github.com/users/rasparac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rasparac/subscriptions","organizations_url":"https://api.github.com/users/rasparac/orgs","repos_url":"https://api.github.com/users/rasparac/repos","events_url":"https://api.github.com/users/rasparac/events{/privacy}","received_events_url":"https://api.github.com/users/rasparac/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-22T18:47:03Z","updated_at":"2016-10-24T11:26:34Z","closed_at":null,"body":"Please prefix your issue with one of the following: [BUG] [PROPOSAL] [QUESTION].\r\n\r\n### Package version, Laravel version\r\nLumen 5.2 version\r\n### Expected behaviour\r\nI dont know what to expect, but i think i should get a csv file with some data. First time using this package.\r\n### Actual behaviour\r\nI get error.\r\n#### Exception stack trace\r\nSymfony\\Component\\Debug\\Exception\\FatalThrowableError: Call to a member function getMergeCells() on string in /var/www/mytrak_v2/api.mytrak/vendor/maatwebsite/excel/src/Maatwebsite/Excel/Writers/LaravelExcelWriter.php:263\r\n\r\n### Steps to reproduce the behaviour\r\n\r\n    $excel->create('Filename', function($excel) {\r\n        $excel->setTitle('test');\r\n        $excel->setDescription('A demonstration to change the file properties');\r\n    })->export('csv');\r\n\r\nI var_dump($this->getAllSheets()) and i get Object but in foreach loop i get string var $sheet is string \"Filename\"\r\n\r\n    foreach($this->getAllSheets() as $sheet)\r\n        foreach($sheet->getMergeCells() as $cells){"},"comment":{"url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/comments/255715020","html_url":"https://github.com/Maatwebsite/Laravel-Excel/issues/972#issuecomment-255715020","issue_url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/972","id":255715020,"user":{"login":"rasparac","id":5451620,"avatar_url":"https://avatars.githubusercontent.com/u/5451620?v=3","gravatar_id":"","url":"https://api.github.com/users/rasparac","html_url":"https://github.com/rasparac","followers_url":"https://api.github.com/users/rasparac/followers","following_url":"https://api.github.com/users/rasparac/following{/other_user}","gists_url":"https://api.github.com/users/rasparac/gists{/gist_id}","starred_url":"https://api.github.com/users/rasparac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rasparac/subscriptions","organizations_url":"https://api.github.com/users/rasparac/orgs","repos_url":"https://api.github.com/users/rasparac/repos","events_url":"https://api.github.com/users/rasparac/events{/privacy}","received_events_url":"https://api.github.com/users/rasparac/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T11:26:34Z","updated_at":"2016-10-24T11:26:34Z","body":"@MaatwebsiteSupport "}}
{"actor":{"display_login":"rasparac"}}