{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/5150","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/5150/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/5150/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/5150/events","html_url":"https://github.com/joomla/joomla-cms/pull/5150","id":49560295,"number":5150,"title":"Fix warning in installer.php when tmp dir deleted","user":{"login":"robations","id":205320,"avatar_url":"https://avatars.githubusercontent.com/u/205320?v=3","gravatar_id":"","url":"https://api.github.com/users/robations","html_url":"https://github.com/robations","followers_url":"https://api.github.com/users/robations/followers","following_url":"https://api.github.com/users/robations/following{/other_user}","gists_url":"https://api.github.com/users/robations/gists{/gist_id}","starred_url":"https://api.github.com/users/robations/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robations/subscriptions","organizations_url":"https://api.github.com/users/robations/orgs","repos_url":"https://api.github.com/users/robations/repos","events_url":"https://api.github.com/users/robations/events{/privacy}","received_events_url":"https://api.github.com/users/robations/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-11-20T14:46:19Z","updated_at":"2015-09-04T15:33:15Z","closed_at":"2015-09-04T15:33:15Z","pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/5150","html_url":"https://github.com/joomla/joomla-cms/pull/5150","diff_url":"https://github.com/joomla/joomla-cms/pull/5150.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/5150.patch"},"body":"If the expected manifest XML files/dirs are missing, the findManifest() method fails with:\r\n\r\n    [ErrorException] array_merge(): Argument #1 is not an array\r\n\r\nbecause `$parentXmlfiles` and/or `$allXmlFiles` are false, rather than an array.\r\n\r\nCaveat - although this fixed the problem for me, I don't fully understand the context of this code so perhaps there is a deeper problem? I was using the [Joomlatools Composer Installer](https://github.com/joomlatools/joomla-composer) to install a module and had deleted the contents of the tmp directory before this happened. Not sure why the tmp dir would be referenced to see if a module/component/plugin is installed, obviously the tmp dir will get cleared out periodically."},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/137769791","html_url":"https://github.com/joomla/joomla-cms/pull/5150#issuecomment-137769791","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/5150","id":137769791,"user":{"login":"roland-d","id":359377,"avatar_url":"https://avatars.githubusercontent.com/u/359377?v=3","gravatar_id":"","url":"https://api.github.com/users/roland-d","html_url":"https://github.com/roland-d","followers_url":"https://api.github.com/users/roland-d/followers","following_url":"https://api.github.com/users/roland-d/following{/other_user}","gists_url":"https://api.github.com/users/roland-d/gists{/gist_id}","starred_url":"https://api.github.com/users/roland-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roland-d/subscriptions","organizations_url":"https://api.github.com/users/roland-d/orgs","repos_url":"https://api.github.com/users/roland-d/repos","events_url":"https://api.github.com/users/roland-d/events{/privacy}","received_events_url":"https://api.github.com/users/roland-d/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T15:33:15Z","updated_at":"2015-09-04T15:33:15Z","body":"Closing this issue as this issue has not received any further follow-up. Feel free to re-open when you want to work further on this. Thank you for your contribution."}}