{"action":"closed","issue":{"url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/1467","labels_url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/1467/labels{/name}","comments_url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/1467/comments","events_url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/1467/events","html_url":"https://github.com/WHAnonymous/Chat-API/issues/1467","id":126470361,"number":1467,"title":"I can't login with the client.php or Simple CLI client.php","user":{"login":"MattPorto","id":10694719,"avatar_url":"https://avatars.githubusercontent.com/u/10694719?v=3","gravatar_id":"","url":"https://api.github.com/users/MattPorto","html_url":"https://github.com/MattPorto","followers_url":"https://api.github.com/users/MattPorto/followers","following_url":"https://api.github.com/users/MattPorto/following{/other_user}","gists_url":"https://api.github.com/users/MattPorto/gists{/gist_id}","starred_url":"https://api.github.com/users/MattPorto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattPorto/subscriptions","organizations_url":"https://api.github.com/users/MattPorto/orgs","repos_url":"https://api.github.com/users/MattPorto/repos","events_url":"https://api.github.com/users/MattPorto/events{/privacy}","received_events_url":"https://api.github.com/users/MattPorto/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-13T17:25:46Z","updated_at":"2016-01-13T17:48:28Z","closed_at":"2016-01-13T17:48:28Z","body":"Hello! :)\r\nSorry, I don't have so much experience in PHP, then have a bit of patience with my issue.\r\nWhen I try to login with a client.php with a already registered number (that I register with registerTool.php), the client.php script return a exception:\r\n\r\nPHP Notice:  Undefined variable: nickname in /home/../client.php on line 56\r\nPHP Fatal error:  Call to undefined method WhatsProt::codeRequest() in /home/../client.php on line 59\r\n\r\nI think the script try to send a code request to whatsapp server, but my number is already registered. How can I login with a registered number? \r\n\r\nThe Simple CLI client.php exception:\r\n\r\nPHP Notice:  Undefined offset: 1 in /home/../Simple CLI client.php on line 24\r\nUSAGE: php Simple CLI client.php <number> \r\n\r\nEj: php client.php 34123456789\r\n\r\nHow can I fix it?"}}