{"action":"opened","issue":{"url":"https://api.github.com/repos/stavarengo/php-sigep/issues/92","repository_url":"https://api.github.com/repos/stavarengo/php-sigep","labels_url":"https://api.github.com/repos/stavarengo/php-sigep/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/stavarengo/php-sigep/issues/92/comments","events_url":"https://api.github.com/repos/stavarengo/php-sigep/issues/92/events","html_url":"https://github.com/stavarengo/php-sigep/issues/92","id":191899671,"number":92,"title":"Erro ao tentar criar a PLP em PDF.","user":{"login":"WiltonNunes","id":23691851,"avatar_url":"https://avatars.githubusercontent.com/u/23691851?v=3","gravatar_id":"","url":"https://api.github.com/users/WiltonNunes","html_url":"https://github.com/WiltonNunes","followers_url":"https://api.github.com/users/WiltonNunes/followers","following_url":"https://api.github.com/users/WiltonNunes/following{/other_user}","gists_url":"https://api.github.com/users/WiltonNunes/gists{/gist_id}","starred_url":"https://api.github.com/users/WiltonNunes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WiltonNunes/subscriptions","organizations_url":"https://api.github.com/users/WiltonNunes/orgs","repos_url":"https://api.github.com/users/WiltonNunes/repos","events_url":"https://api.github.com/users/WiltonNunes/events{/privacy}","received_events_url":"https://api.github.com/users/WiltonNunes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-28T01:03:06Z","updated_at":"2016-11-28T01:03:06Z","closed_at":null,"body":"Seguir os exemplos do projeto e escrevi o codigo abaixo:\r\n\r\n$plp = new \\PhpSigep\\Model\\PreListaDePostagem();\r\n$plp->setAccessData(new \\PhpSigep\\Model\\AccessDataHomologacao());\r\n$plp->setEncomendas(array($encomenda));\r\n$plp->setRemetente($remetente);\r\n\r\n$pdf  = new \\PhpSigep\\Pdf\\ListaDePostagem($plp, time());\r\n$pdf->render($plp);\r\n\r\nPorem ele retorna o seguinte erro:\r\n\r\nWarning: strtoupper() expects parameter 1 to be string, object given in /opt/lampp/htdocs/SigepIntegration/php-sigep-fpdf-master/fpdf.php on line 988\r\nFPDF error: Some data has already been output, can't send PDF file"}}
{"actor":{"display_login":"WiltonNunes"}}