{"action":"created","issue":{"url":"https://api.github.com/repos/php-amqplib/php-amqplib/issues/381","repository_url":"https://api.github.com/repos/php-amqplib/php-amqplib","labels_url":"https://api.github.com/repos/php-amqplib/php-amqplib/issues/381/labels{/name}","comments_url":"https://api.github.com/repos/php-amqplib/php-amqplib/issues/381/comments","events_url":"https://api.github.com/repos/php-amqplib/php-amqplib/issues/381/events","html_url":"https://github.com/php-amqplib/php-amqplib/pull/381","id":141853332,"number":381,"title":"Test if array_push() argument 1 is an array","user":{"login":"sp72","id":1846041,"avatar_url":"https://avatars.githubusercontent.com/u/1846041?v=3","gravatar_id":"","url":"https://api.github.com/users/sp72","html_url":"https://github.com/sp72","followers_url":"https://api.github.com/users/sp72/followers","following_url":"https://api.github.com/users/sp72/following{/other_user}","gists_url":"https://api.github.com/users/sp72/gists{/gist_id}","starred_url":"https://api.github.com/users/sp72/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sp72/subscriptions","organizations_url":"https://api.github.com/users/sp72/orgs","repos_url":"https://api.github.com/users/sp72/repos","events_url":"https://api.github.com/users/sp72/events{/privacy}","received_events_url":"https://api.github.com/users/sp72/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/php-amqplib/php-amqplib/labels/bug","name":"bug","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"postalservice14","id":46067,"avatar_url":"https://avatars.githubusercontent.com/u/46067?v=3","gravatar_id":"","url":"https://api.github.com/users/postalservice14","html_url":"https://github.com/postalservice14","followers_url":"https://api.github.com/users/postalservice14/followers","following_url":"https://api.github.com/users/postalservice14/following{/other_user}","gists_url":"https://api.github.com/users/postalservice14/gists{/gist_id}","starred_url":"https://api.github.com/users/postalservice14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/postalservice14/subscriptions","organizations_url":"https://api.github.com/users/postalservice14/orgs","repos_url":"https://api.github.com/users/postalservice14/repos","events_url":"https://api.github.com/users/postalservice14/events{/privacy}","received_events_url":"https://api.github.com/users/postalservice14/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2016-03-18T12:36:08Z","updated_at":"2016-03-30T17:09:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/php-amqplib/php-amqplib/pulls/381","html_url":"https://github.com/php-amqplib/php-amqplib/pull/381","diff_url":"https://github.com/php-amqplib/php-amqplib/pull/381.diff","patch_url":"https://github.com/php-amqplib/php-amqplib/pull/381.patch"},"body":"Sometimes this value is NULL and triggers an E_WARNING."},"comment":{"url":"https://api.github.com/repos/php-amqplib/php-amqplib/issues/comments/203531942","html_url":"https://github.com/php-amqplib/php-amqplib/pull/381#issuecomment-203531942","issue_url":"https://api.github.com/repos/php-amqplib/php-amqplib/issues/381","id":203531942,"user":{"login":"videlalvaro","id":30834,"avatar_url":"https://avatars.githubusercontent.com/u/30834?v=3","gravatar_id":"","url":"https://api.github.com/users/videlalvaro","html_url":"https://github.com/videlalvaro","followers_url":"https://api.github.com/users/videlalvaro/followers","following_url":"https://api.github.com/users/videlalvaro/following{/other_user}","gists_url":"https://api.github.com/users/videlalvaro/gists{/gist_id}","starred_url":"https://api.github.com/users/videlalvaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/videlalvaro/subscriptions","organizations_url":"https://api.github.com/users/videlalvaro/orgs","repos_url":"https://api.github.com/users/videlalvaro/repos","events_url":"https://api.github.com/users/videlalvaro/events{/privacy}","received_events_url":"https://api.github.com/users/videlalvaro/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T17:09:08Z","updated_at":"2016-03-30T17:09:08Z","body":"I think this fix is masking a different issue, which is assuming that the channel here `$this->channels[$frame_channel]` still exists. So I would suggest fixing that other issue instead of just testing for array, since that's the effect of the other problem"}}