{"action":"created","issue":{"url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/1927","repository_url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel","labels_url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/1927/labels{/name}","comments_url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/1927/comments","events_url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/1927/events","html_url":"https://github.com/Maatwebsite/Laravel-Excel/issues/1927","id":385615242,"node_id":"MDU6SXNzdWUzODU2MTUyNDI=","number":1927,"title":"[QUESTION] use WithMultipleSheets and ShouldQueue when Exporting","user":{"login":"osman-mohamad","id":27130539,"node_id":"MDQ6VXNlcjI3MTMwNTM5","avatar_url":"https://avatars3.githubusercontent.com/u/27130539?v=4","gravatar_id":"","url":"https://api.github.com/users/osman-mohamad","html_url":"https://github.com/osman-mohamad","followers_url":"https://api.github.com/users/osman-mohamad/followers","following_url":"https://api.github.com/users/osman-mohamad/following{/other_user}","gists_url":"https://api.github.com/users/osman-mohamad/gists{/gist_id}","starred_url":"https://api.github.com/users/osman-mohamad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osman-mohamad/subscriptions","organizations_url":"https://api.github.com/users/osman-mohamad/orgs","repos_url":"https://api.github.com/users/osman-mohamad/repos","events_url":"https://api.github.com/users/osman-mohamad/events{/privacy}","received_events_url":"https://api.github.com/users/osman-mohamad/received_events","type":"User","site_admin":false},"labels":[{"id":1015287702,"node_id":"MDU6TGFiZWwxMDE1Mjg3NzAy","url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/labels/cannot-reproduce","name":"cannot-reproduce","color":"1d76db","default":false},{"id":882832732,"node_id":"MDU6TGFiZWw4ODI4MzI3MzI=","url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/labels/more%20information%20needed","name":"more information needed","color":"2341db","default":false}],"state":"closed","locked":false,"assignee":{"login":"osman-mohamad","id":27130539,"node_id":"MDQ6VXNlcjI3MTMwNTM5","avatar_url":"https://avatars3.githubusercontent.com/u/27130539?v=4","gravatar_id":"","url":"https://api.github.com/users/osman-mohamad","html_url":"https://github.com/osman-mohamad","followers_url":"https://api.github.com/users/osman-mohamad/followers","following_url":"https://api.github.com/users/osman-mohamad/following{/other_user}","gists_url":"https://api.github.com/users/osman-mohamad/gists{/gist_id}","starred_url":"https://api.github.com/users/osman-mohamad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osman-mohamad/subscriptions","organizations_url":"https://api.github.com/users/osman-mohamad/orgs","repos_url":"https://api.github.com/users/osman-mohamad/repos","events_url":"https://api.github.com/users/osman-mohamad/events{/privacy}","received_events_url":"https://api.github.com/users/osman-mohamad/received_events","type":"User","site_admin":false},"assignees":[{"login":"osman-mohamad","id":27130539,"node_id":"MDQ6VXNlcjI3MTMwNTM5","avatar_url":"https://avatars3.githubusercontent.com/u/27130539?v=4","gravatar_id":"","url":"https://api.github.com/users/osman-mohamad","html_url":"https://github.com/osman-mohamad","followers_url":"https://api.github.com/users/osman-mohamad/followers","following_url":"https://api.github.com/users/osman-mohamad/following{/other_user}","gists_url":"https://api.github.com/users/osman-mohamad/gists{/gist_id}","starred_url":"https://api.github.com/users/osman-mohamad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osman-mohamad/subscriptions","organizations_url":"https://api.github.com/users/osman-mohamad/orgs","repos_url":"https://api.github.com/users/osman-mohamad/repos","events_url":"https://api.github.com/users/osman-mohamad/events{/privacy}","received_events_url":"https://api.github.com/users/osman-mohamad/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-11-29T08:10:14Z","updated_at":"2019-01-02T12:06:08Z","closed_at":"2019-01-02T12:06:08Z","author_association":"NONE","body":"### Versions\r\n\r\n* PHP version: 7.2.11\r\n* Laravel version: 5.7.17\r\n* Package version: 3.1.2\r\n\r\n### Description\r\nWhen I want to export multiple sheets it is working. but when use it with Should Queue Concern It is not working.\r\nthe error is\r\n```\r\n/home/dev/Documents/code/mostaql/projects/2db/vendor/maatwebsite/excel/src/QueuedWriter.php\r\n\r\n private function exportCollection(\r\n        FromCollection $export,\r\n        string $filePath,\r\n        string $writerType,\r\n        int $sheetIndex\r\n    ) \r\n\r\n```\r\n\r\nThis means it is only work when using single Sheet .\r\n\r\n----\r\n\r\nAn alternative way is to combine multiple exported sheets by queue . But how to do this if possible ?\r\n\r\n\r\nthanks in advance\r\n\r\n  "},"comment":{"url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/comments/450847930","html_url":"https://github.com/Maatwebsite/Laravel-Excel/issues/1927#issuecomment-450847930","issue_url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/1927","id":450847930,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDg0NzkzMA==","user":{"login":"GlennM","id":4272433,"node_id":"MDQ6VXNlcjQyNzI0MzM=","avatar_url":"https://avatars1.githubusercontent.com/u/4272433?v=4","gravatar_id":"","url":"https://api.github.com/users/GlennM","html_url":"https://github.com/GlennM","followers_url":"https://api.github.com/users/GlennM/followers","following_url":"https://api.github.com/users/GlennM/following{/other_user}","gists_url":"https://api.github.com/users/GlennM/gists{/gist_id}","starred_url":"https://api.github.com/users/GlennM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GlennM/subscriptions","organizations_url":"https://api.github.com/users/GlennM/orgs","repos_url":"https://api.github.com/users/GlennM/repos","events_url":"https://api.github.com/users/GlennM/events{/privacy}","received_events_url":"https://api.github.com/users/GlennM/received_events","type":"User","site_admin":false},"created_at":"2019-01-02T12:06:08Z","updated_at":"2019-01-02T12:06:08Z","author_association":"CONTRIBUTOR","body":"Closing due to inactivity, please feel free to reply if the issue still persists."}}
{"actor":{"display_login":"GlennM"}}