{"action":"created","issue":{"url":"https://api.github.com/repos/SCIF/propel-laravel/issues/6","labels_url":"https://api.github.com/repos/SCIF/propel-laravel/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/SCIF/propel-laravel/issues/6/comments","events_url":"https://api.github.com/repos/SCIF/propel-laravel/issues/6/events","html_url":"https://github.com/SCIF/propel-laravel/issues/6","id":100586600,"number":6,"title":"Config error","user":{"login":"SvanThuijl","id":2386327,"avatar_url":"https://avatars.githubusercontent.com/u/2386327?v=3","gravatar_id":"","url":"https://api.github.com/users/SvanThuijl","html_url":"https://github.com/SvanThuijl","followers_url":"https://api.github.com/users/SvanThuijl/followers","following_url":"https://api.github.com/users/SvanThuijl/following{/other_user}","gists_url":"https://api.github.com/users/SvanThuijl/gists{/gist_id}","starred_url":"https://api.github.com/users/SvanThuijl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvanThuijl/subscriptions","organizations_url":"https://api.github.com/users/SvanThuijl/orgs","repos_url":"https://api.github.com/users/SvanThuijl/repos","events_url":"https://api.github.com/users/SvanThuijl/events{/privacy}","received_events_url":"https://api.github.com/users/SvanThuijl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-08-12T16:51:45Z","updated_at":"2015-08-25T15:48:58Z","closed_at":null,"body":"Hey Guys,\r\n\r\nI have bene trying to figure this out by myself but I can't.\r\n\r\nIn my local development environment I have this plugin working perfectly but when deploying there is an issue. I get these errors.\r\n[Wed Aug 12 18:44:37.429070 2015] [:error] [pid 30427] [client 190.88.209.114:13186] PHP Warning:  array_filter() expects parameter 1 to be array, null given in /home/project/laravel/config/propel.php on line 83, referer: http://www.project.com/\r\n[Wed Aug 12 18:44:37.429163 2015] [:error] [pid 30427] [client 190.88.209.114:13186] PHP Warning:  array_map(): Argument #2 should be an array in /home/project/laravel/config/propel.php on line 84, referer: http://www.project.com/\r\n\r\nI thinks the issue comes from the order laravel has in loading the config files. By adding the line below to the config files I found out that propel.php is loaded before database.php in the production environment. Locally this is the other way around.\r\n\r\necho 'Loaded: ' . microtime(true) . ': ' . __FILE__ . '<br>';\r\n\r\nResult on production:\r\nLoaded: 1439398148.1305: /home/project/laravel/config/propel.php\r\nLoaded: 1439398148.1313: /home/project/laravel/config/database.php\r\n\r\nResult local:\r\nLoaded: 1439398248.01: /Users/SvanThuijl/PhpstormProjects/laravel/config/database.php\r\nLoaded: 1439398248.02: /Users/SvanThuijl/PhpstormProjects/laravel/config/propel.php\r\n\r\nDoes anybody know how to solve this issue?"},"comment":{"url":"https://api.github.com/repos/SCIF/propel-laravel/issues/comments/134639434","html_url":"https://github.com/SCIF/propel-laravel/issues/6#issuecomment-134639434","issue_url":"https://api.github.com/repos/SCIF/propel-laravel/issues/6","id":134639434,"user":{"login":"SCIF","id":671925,"avatar_url":"https://avatars.githubusercontent.com/u/671925?v=3","gravatar_id":"","url":"https://api.github.com/users/SCIF","html_url":"https://github.com/SCIF","followers_url":"https://api.github.com/users/SCIF/followers","following_url":"https://api.github.com/users/SCIF/following{/other_user}","gists_url":"https://api.github.com/users/SCIF/gists{/gist_id}","starred_url":"https://api.github.com/users/SCIF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SCIF/subscriptions","organizations_url":"https://api.github.com/users/SCIF/orgs","repos_url":"https://api.github.com/users/SCIF/repos","events_url":"https://api.github.com/users/SCIF/events{/privacy}","received_events_url":"https://api.github.com/users/SCIF/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T15:48:58Z","updated_at":"2015-08-25T15:48:58Z","body":"@SvanThuijl , i hope that i totally fixed your issue. Can you install latest `propel/propel-laravel` composer package at dev-master?"}}