{"action":"created","issue":{"url":"https://api.github.com/repos/thasmo/php.honeypot-blacklist/issues/1","repository_url":"https://api.github.com/repos/thasmo/php.honeypot-blacklist","labels_url":"https://api.github.com/repos/thasmo/php.honeypot-blacklist/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/thasmo/php.honeypot-blacklist/issues/1/comments","events_url":"https://api.github.com/repos/thasmo/php.honeypot-blacklist/issues/1/events","html_url":"https://github.com/thasmo/php.honeypot-blacklist/issues/1","id":142256664,"number":1,"title":"array_key_exists() expects parameter 2 to be array, null given","user":{"login":"morvy","id":1279809,"avatar_url":"https://avatars.githubusercontent.com/u/1279809?v=3","gravatar_id":"","url":"https://api.github.com/users/morvy","html_url":"https://github.com/morvy","followers_url":"https://api.github.com/users/morvy/followers","following_url":"https://api.github.com/users/morvy/following{/other_user}","gists_url":"https://api.github.com/users/morvy/gists{/gist_id}","starred_url":"https://api.github.com/users/morvy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morvy/subscriptions","organizations_url":"https://api.github.com/users/morvy/orgs","repos_url":"https://api.github.com/users/morvy/repos","events_url":"https://api.github.com/users/morvy/events{/privacy}","received_events_url":"https://api.github.com/users/morvy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/thasmo/php.honeypot-blacklist/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-03-21T04:53:20Z","updated_at":"2016-03-25T14:12:31Z","closed_at":"2016-03-25T14:12:31Z","body":"Hi, I'm trying to implement anti-spam using your script, everything looks fine (it blocks something..) but I get many errors in error.log :/\r\n\r\nPHP Warning: array_key_exists() expects parameter 2 to be array, null given in /nfsmnt/_www/lib/Blacklist.php on line 204\r\n\r\nI'm calling it like this:\r\nrequire_once('../lib/Blacklist.php');\r\n$client = new Thasmo\\ProjectHoneypot\\Blacklist($_SERVER['REMOTE_ADDR'], $data->key);\r\n$result = $client->getResult();\r\n\r\nis there something that I do wrong?"},"comment":{"url":"https://api.github.com/repos/thasmo/php.honeypot-blacklist/issues/comments/201298372","html_url":"https://github.com/thasmo/php.honeypot-blacklist/issues/1#issuecomment-201298372","issue_url":"https://api.github.com/repos/thasmo/php.honeypot-blacklist/issues/1","id":201298372,"user":{"login":"thasmo","id":184284,"avatar_url":"https://avatars.githubusercontent.com/u/184284?v=3","gravatar_id":"","url":"https://api.github.com/users/thasmo","html_url":"https://github.com/thasmo","followers_url":"https://api.github.com/users/thasmo/followers","following_url":"https://api.github.com/users/thasmo/following{/other_user}","gists_url":"https://api.github.com/users/thasmo/gists{/gist_id}","starred_url":"https://api.github.com/users/thasmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thasmo/subscriptions","organizations_url":"https://api.github.com/users/thasmo/orgs","repos_url":"https://api.github.com/users/thasmo/repos","events_url":"https://api.github.com/users/thasmo/events{/privacy}","received_events_url":"https://api.github.com/users/thasmo/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T14:12:31Z","updated_at":"2016-03-25T14:12:31Z","body":"Awesome, thanks for reporting! Feel free to open a new issue if you need help. Thanks!"}}