{"action":"closed","issue":{"url":"https://api.github.com/repos/elibyy/laravel-tcpdf/issues/12","labels_url":"https://api.github.com/repos/elibyy/laravel-tcpdf/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/elibyy/laravel-tcpdf/issues/12/comments","events_url":"https://api.github.com/repos/elibyy/laravel-tcpdf/issues/12/events","html_url":"https://github.com/elibyy/laravel-tcpdf/issues/12","id":97744718,"number":12,"title":"Error when triggering the generation of multiple PDF's one after another.","user":{"login":"chrislentz","id":428312,"avatar_url":"https://avatars.githubusercontent.com/u/428312?v=3","gravatar_id":"","url":"https://api.github.com/users/chrislentz","html_url":"https://github.com/chrislentz","followers_url":"https://api.github.com/users/chrislentz/followers","following_url":"https://api.github.com/users/chrislentz/following{/other_user}","gists_url":"https://api.github.com/users/chrislentz/gists{/gist_id}","starred_url":"https://api.github.com/users/chrislentz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrislentz/subscriptions","organizations_url":"https://api.github.com/users/chrislentz/orgs","repos_url":"https://api.github.com/users/chrislentz/repos","events_url":"https://api.github.com/users/chrislentz/events{/privacy}","received_events_url":"https://api.github.com/users/chrislentz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"elibyy","id":836551,"avatar_url":"https://avatars.githubusercontent.com/u/836551?v=3","gravatar_id":"","url":"https://api.github.com/users/elibyy","html_url":"https://github.com/elibyy","followers_url":"https://api.github.com/users/elibyy/followers","following_url":"https://api.github.com/users/elibyy/following{/other_user}","gists_url":"https://api.github.com/users/elibyy/gists{/gist_id}","starred_url":"https://api.github.com/users/elibyy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elibyy/subscriptions","organizations_url":"https://api.github.com/users/elibyy/orgs","repos_url":"https://api.github.com/users/elibyy/repos","events_url":"https://api.github.com/users/elibyy/events{/privacy}","received_events_url":"https://api.github.com/users/elibyy/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-07-28T16:12:10Z","updated_at":"2015-07-30T13:36:08Z","closed_at":"2015-07-30T13:36:08Z","body":"I have a Laravel command that syncs items (including generated pdf's) to a third party service via API. If there is only one PDF to generate, it runs fine, but if I have 2 items to sync, the command fails on the second PDF generation.\r\n\r\n```\r\n[ErrorException]\r\nUndefined property: Elibyy\\TCPDF\\TCPdf::$h\r\n```\r\n\r\nI can't post my PDF generation code because I have secure business logic intertwined to generate the PDF. Do I need to have something at the end of the generation that resets TCPDF?"}}