{"action":"created","issue":{"url":"https://api.github.com/repos/ryancramerdesign/ProcessWire/issues/2013","repository_url":"https://api.github.com/repos/ryancramerdesign/ProcessWire","labels_url":"https://api.github.com/repos/ryancramerdesign/ProcessWire/issues/2013/labels{/name}","comments_url":"https://api.github.com/repos/ryancramerdesign/ProcessWire/issues/2013/comments","events_url":"https://api.github.com/repos/ryancramerdesign/ProcessWire/issues/2013/events","html_url":"https://github.com/ryancramerdesign/ProcessWire/issues/2013","id":174315359,"number":2013,"title":"php-xml package required for PNGs to work","user":{"login":"thetuningspoon","id":2922773,"avatar_url":"https://avatars2.githubusercontent.com/u/2922773?v=3","gravatar_id":"","url":"https://api.github.com/users/thetuningspoon","html_url":"https://github.com/thetuningspoon","followers_url":"https://api.github.com/users/thetuningspoon/followers","following_url":"https://api.github.com/users/thetuningspoon/following{/other_user}","gists_url":"https://api.github.com/users/thetuningspoon/gists{/gist_id}","starred_url":"https://api.github.com/users/thetuningspoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thetuningspoon/subscriptions","organizations_url":"https://api.github.com/users/thetuningspoon/orgs","repos_url":"https://api.github.com/users/thetuningspoon/repos","events_url":"https://api.github.com/users/thetuningspoon/events{/privacy}","received_events_url":"https://api.github.com/users/thetuningspoon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-31T16:12:59Z","updated_at":"2017-03-26T18:24:28Z","closed_at":null,"body":"I ran into an issue where my php7 installation didn't have php-xml installed, which caused the following error if I tried to output a PNG file into my template from a file field:\n\n`Fatal error: Uncaught Error: Call to undefined function ProcessWire\\utf8_encode() in /.../wire/core/PWPNG.php:117`\n\nI don't remember php-xml being noted as a required package during the PW installation.\n\nPW 3.0.29\n"},"comment":{"url":"https://api.github.com/repos/ryancramerdesign/ProcessWire/issues/comments/289304149","html_url":"https://github.com/ryancramerdesign/ProcessWire/issues/2013#issuecomment-289304149","issue_url":"https://api.github.com/repos/ryancramerdesign/ProcessWire/issues/2013","id":289304149,"user":{"login":"evanmcd","id":100061,"avatar_url":"https://avatars3.githubusercontent.com/u/100061?v=3","gravatar_id":"","url":"https://api.github.com/users/evanmcd","html_url":"https://github.com/evanmcd","followers_url":"https://api.github.com/users/evanmcd/followers","following_url":"https://api.github.com/users/evanmcd/following{/other_user}","gists_url":"https://api.github.com/users/evanmcd/gists{/gist_id}","starred_url":"https://api.github.com/users/evanmcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanmcd/subscriptions","organizations_url":"https://api.github.com/users/evanmcd/orgs","repos_url":"https://api.github.com/users/evanmcd/repos","events_url":"https://api.github.com/users/evanmcd/events{/privacy}","received_events_url":"https://api.github.com/users/evanmcd/received_events","type":"User","site_admin":false},"created_at":"2017-03-26T18:24:28Z","updated_at":"2017-03-26T18:24:28Z","body":"Came across this issue as well, but with PHP 5.6. Might be related to the fact that I am using a Docker image (centos6), that may have a different default configuration than other variants.\r\n\r\nFor now, I just commented out line 117 of PWPNG.php to solve the problem.\r\n\r\nThis is with the 3.0.57 of PW from the dev branch."}}
{"actor":{"display_login":"evanmcd"}}