Undefined index msg on line 91
Opened this issue · 4 comments
Undefined index: msg in PushBots.class.php on line 91
please address this issue?
encounter same issue, when error (http!=200) the specific message is not shown now which makes finding the error very hard
Same problem here...
Same problem, if inspected the
$response = curl_getinfo($ci)
Array
(
[url] => https://api.pushbots.com/push/one
[content_type] =>
[http_code] => 0
[header_size] => 0
[request_size] => 540
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 120.070309
[namelookup_time] => 0.004208
[connect_time] => 0.005626
[pretransfer_time] => 0.069851
[size_upload] => 328
[size_download] => 0
[speed_download] => 0
[speed_upload] => 2
[download_content_length] => -1
[upload_content_length] => 328
[starttransfer_time] => 120.070297
[redirect_time] => 0
[certinfo] => Array
(
)
[primary_ip] => 104.130.169.73
[primary_port] => 443
[local_ip] => 172.31.34.151
[local_port] => 37821
[redirect_url] =>
[request_header] => POST /push/one HTTP/1.1
Host: api.pushbots.com
Accept: /
X-PUSHBOTS-APPID:xxxxxxxxxxxxxxxxxxxxxxxx
X-PUSHBOTS-SECRET:xxxxxxxxxxxxxxxxxxxxxxx
Content-Type: application/json
Content-Length: 328
)
So is the request timing out?
I'm getting the same error, but in line 97
$res['data'] = $response['msg'];
Did you solve it?