{"action":"created","issue":{"url":"https://api.github.com/repos/backdrop-contrib/redirect/issues/22","repository_url":"https://api.github.com/repos/backdrop-contrib/redirect","labels_url":"https://api.github.com/repos/backdrop-contrib/redirect/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/backdrop-contrib/redirect/issues/22/comments","events_url":"https://api.github.com/repos/backdrop-contrib/redirect/issues/22/events","html_url":"https://github.com/backdrop-contrib/redirect/issues/22","id":153927445,"number":22,"title":"PHP error: Array to string conversion in backdrop_send_headers() (line 1509 of core/includes/bootstrap.inc)","user":{"login":"jackaponte","id":593569,"avatar_url":"https://avatars.githubusercontent.com/u/593569?v=3","gravatar_id":"","url":"https://api.github.com/users/jackaponte","html_url":"https://github.com/jackaponte","followers_url":"https://api.github.com/users/jackaponte/followers","following_url":"https://api.github.com/users/jackaponte/following{/other_user}","gists_url":"https://api.github.com/users/jackaponte/gists{/gist_id}","starred_url":"https://api.github.com/users/jackaponte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackaponte/subscriptions","organizations_url":"https://api.github.com/users/jackaponte/orgs","repos_url":"https://api.github.com/users/jackaponte/repos","events_url":"https://api.github.com/users/jackaponte/events{/privacy}","received_events_url":"https://api.github.com/users/jackaponte/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-10T05:36:25Z","updated_at":"2016-05-10T05:52:11Z","closed_at":null,"body":"I'm using Backdrop 1.3.5 and Redirect 1.x-1.0.4. I created a couple of redirects, one to a view page and one to the site front page. When attempting to access either redirect I got a white screen; the following error was logged to the Backdrop logs:\r\n\r\n`Notice: Array to string conversion in backdrop_send_headers() (line 1509 of /var/www/backdrop-site/core/includes/bootstrap.inc).`"},"comment":{"url":"https://api.github.com/repos/backdrop-contrib/redirect/issues/comments/218065330","html_url":"https://github.com/backdrop-contrib/redirect/issues/22#issuecomment-218065330","issue_url":"https://api.github.com/repos/backdrop-contrib/redirect/issues/22","id":218065330,"user":{"login":"jackaponte","id":593569,"avatar_url":"https://avatars.githubusercontent.com/u/593569?v=3","gravatar_id":"","url":"https://api.github.com/users/jackaponte","html_url":"https://github.com/jackaponte","followers_url":"https://api.github.com/users/jackaponte/followers","following_url":"https://api.github.com/users/jackaponte/following{/other_user}","gists_url":"https://api.github.com/users/jackaponte/gists{/gist_id}","starred_url":"https://api.github.com/users/jackaponte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackaponte/subscriptions","organizations_url":"https://api.github.com/users/jackaponte/orgs","repos_url":"https://api.github.com/users/jackaponte/repos","events_url":"https://api.github.com/users/jackaponte/events{/privacy}","received_events_url":"https://api.github.com/users/jackaponte/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T05:52:11Z","updated_at":"2016-05-10T05:52:11Z","body":"OK--I [submitted a pull request](https://github.com/backdrop-contrib/redirect/pull/23) but realize I'm probably not fully solving the problem here. I'm just checking to see if `redirect_status_code_options($redirect->status_code)` is NULL, then passing it through if so, but what about if it is _not_ NULL? I'm not accounting for that yet."}}