{"action":"created","issue":{"url":"https://api.github.com/repos/PHPOffice/PHPExcel/issues/545","labels_url":"https://api.github.com/repos/PHPOffice/PHPExcel/issues/545/labels{/name}","comments_url":"https://api.github.com/repos/PHPOffice/PHPExcel/issues/545/comments","events_url":"https://api.github.com/repos/PHPOffice/PHPExcel/issues/545/events","html_url":"https://github.com/PHPOffice/PHPExcel/issues/545","id":69627702,"number":545,"title":"Reader->load() causes fatal error due to 'undefined method' getID()","user":{"login":"redcuillin","id":1464131,"avatar_url":"https://avatars.githubusercontent.com/u/1464131?v=3","gravatar_id":"","url":"https://api.github.com/users/redcuillin","html_url":"https://github.com/redcuillin","followers_url":"https://api.github.com/users/redcuillin/followers","following_url":"https://api.github.com/users/redcuillin/following{/other_user}","gists_url":"https://api.github.com/users/redcuillin/gists{/gist_id}","starred_url":"https://api.github.com/users/redcuillin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redcuillin/subscriptions","organizations_url":"https://api.github.com/users/redcuillin/orgs","repos_url":"https://api.github.com/users/redcuillin/repos","events_url":"https://api.github.com/users/redcuillin/events{/privacy}","received_events_url":"https://api.github.com/users/redcuillin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-20T16:39:16Z","updated_at":"2015-04-20T17:12:16Z","closed_at":"2015-04-20T17:12:16Z","body":"Recently switched to using PHPExcel via Composer. However the following very straightforward code (copied straight out of documentation) causes a fatal error\r\n\r\nFatal error: Call to undefined method PHPExcel::getID() in path_to/vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation.php on line 1729\r\n\r\n     $reader = PHPExcel_IOFactory::createReaderForFile($filename);\r\n     $reader->setReadDataOnly(true);\r\n     $spreadsheet = $reader->load($filename);\r\n\r\nAny ideas what's going on here, and whether there is a workaround if this is a bug?"},"comment":{"url":"https://api.github.com/repos/PHPOffice/PHPExcel/issues/comments/94511938","html_url":"https://github.com/PHPOffice/PHPExcel/issues/545#issuecomment-94511938","issue_url":"https://api.github.com/repos/PHPOffice/PHPExcel/issues/545","id":94511938,"user":{"login":"redcuillin","id":1464131,"avatar_url":"https://avatars.githubusercontent.com/u/1464131?v=3","gravatar_id":"","url":"https://api.github.com/users/redcuillin","html_url":"https://github.com/redcuillin","followers_url":"https://api.github.com/users/redcuillin/followers","following_url":"https://api.github.com/users/redcuillin/following{/other_user}","gists_url":"https://api.github.com/users/redcuillin/gists{/gist_id}","starred_url":"https://api.github.com/users/redcuillin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redcuillin/subscriptions","organizations_url":"https://api.github.com/users/redcuillin/orgs","repos_url":"https://api.github.com/users/redcuillin/repos","events_url":"https://api.github.com/users/redcuillin/events{/privacy}","received_events_url":"https://api.github.com/users/redcuillin/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T17:12:16Z","updated_at":"2015-04-20T17:12:16Z","body":"Ok - I've worked it out. This will have been caused by a clash between the Composer-included versions, and a call to the old PEAR library that still existed in the code. Apologies for wasting your time."}}