{"action":"closed","issue":{"url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/1175","labels_url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/1175/labels{/name}","comments_url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/1175/comments","events_url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/1175/events","html_url":"https://github.com/WHAnonymous/Chat-API/issues/1175","id":115546073,"number":1175,"title":"Issue on client.php","user":{"login":"abhishekdeshkar","id":12006415,"avatar_url":"https://avatars.githubusercontent.com/u/12006415?v=3","gravatar_id":"","url":"https://api.github.com/users/abhishekdeshkar","html_url":"https://github.com/abhishekdeshkar","followers_url":"https://api.github.com/users/abhishekdeshkar/followers","following_url":"https://api.github.com/users/abhishekdeshkar/following{/other_user}","gists_url":"https://api.github.com/users/abhishekdeshkar/gists{/gist_id}","starred_url":"https://api.github.com/users/abhishekdeshkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhishekdeshkar/subscriptions","organizations_url":"https://api.github.com/users/abhishekdeshkar/orgs","repos_url":"https://api.github.com/users/abhishekdeshkar/repos","events_url":"https://api.github.com/users/abhishekdeshkar/events{/privacy}","received_events_url":"https://api.github.com/users/abhishekdeshkar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-06T17:00:05Z","updated_at":"2015-11-06T17:19:20Z","closed_at":"2015-11-06T17:19:20Z","body":"Hello,\r\nAPI works fine. But when I try to run WA CLI Client it comes with this errors.\r\n\r\n#################################### # # # WA CLI CLIENT # # # #################################### ==================================== \r\nNotice: Undefined variable: argv in C:\\xampp\\htdocs\\wa\\examples\\chat\\client.php on line 33\r\nWelcome to CLI WA Client ======================== Your number > \r\nNotice: Use of undefined constant STDIN - assumed 'STDIN' in C:\\xampp\\htdocs\\wa\\examples\\chat\\client.php on line 58\r\n\r\nWarning: fgets() expects parameter 1 to be resource, string given in C:\\xampp\\htdocs\\wa\\examples\\chat\\client.php on line 58\r\n\r\nNotice: Undefined variable: nickname in C:\\xampp\\htdocs\\wa\\examples\\chat\\client.php on line 59\r\nthere is an errorexception 'Exception' with message 'The provided phone number is not valid.' in C:\\xampp\\htdocs\\wa\\src\\whatsprot.class.php:299 Stack trace: #0 C:\\xampp\\htdocs\\wa\\examples\\chat\\client.php(63): WhatsProt->codeRequest('sms') #1 {main} Enter sms code you have received > \r\nNotice: Use of undefined constant STDIN - assumed 'STDIN' in C:\\xampp\\htdocs\\wa\\examples\\chat\\client.php on line 69\r\n\r\nWarning: fgets() expects parameter 1 to be resource, string given in C:\\xampp\\htdocs\\wa\\examples\\chat\\client.php on line 69\r\nthere is an error Your nickname > \r\nNotice: Use of undefined constant STDIN - assumed 'STDIN' in C:\\xampp\\htdocs\\wa\\examples\\chat\\client.php on line 79\r\n\r\nWarning: fgets() expects parameter 1 to be resource, string given in C:\\xampp\\htdocs\\wa\\examples\\chat\\client.php on line 79\r\nIs '' right? yes/no > \r\nNotice: Use of undefined constant STDIN - assumed 'STDIN' in C:\\xampp\\htdocs\\wa\\examples\\chat\\client.php on line 84\r\n\r\nWarning: fgets() expects parameter 1 to be resource, string given in C:\\xampp\\htdocs\\wa\\examples\\chat\\client.php on line 84\r\nYour nickname > \r\nNotice: Use of undefined constant STDIN - assumed 'STDIN' in C:\\xampp\\htdocs\\wa\\examples\\chat\\client.php on line 88\r\n\r\nWarning: fgets() expects parameter 1 to be resource, string given in C:\\xampp\\htdocs\\wa\\examples\\chat\\client.php on line 88\r\nIs '' right? yes/no > \r\nNotice: Use of undefined constant STDIN - assumed 'STDIN' in C:\\xampp\\htdocs\\wa\\examples\\chat\\client.php on line 84\r\n\r\nWarning: fgets() expects parameter 1 to be resource, string given in C:\\xampp\\htdocs\\wa\\examples\\chat\\client.php on line 84\r\nYour nickname > \r\nNotice: Use of undefined constant STDIN - assumed 'STDIN' in C:\\xampp\\htdocs\\wa\\examples\\chat\\client.php on line 88\r\n\r\nWarning: fgets() expects parameter 1 to be resource, string given in C:\\xampp\\htdocs\\wa\\examples\\chat\\client.php on line 88\r\nIs '' right? yes/no > \r\nNotice: Use of undefined constant STDIN - assumed 'STDIN' in C:\\xampp\\htdocs\\wa\\examples\\chat\\client.php on line 84\r\n\r\nWarning: fgets() expects parameter 1 to be resource, string given in C:\\xampp\\htdocs\\wa\\examples\\chat\\client.php on line 84\r\nYour nickname > \r\nNotice: Use of undefined constant STDIN - assumed 'STDIN' in C:\\xampp\\htdocs\\wa\\examples\\chat\\client.php on line 88\r\n\r\nWarning: fgets() expects parameter 1 to be resource, string given in C:\\xampp\\htdocs\\wa\\examples\\chat\\client.php on line 88\r\n\r\nWhy so ?"}}