When I post a new thread I get the following error:
Quote:
{ "errorCode": 0, "errorMessage": "", "results": { "http://www..../forum/showthread.php?t=5559": { "hash": "aQBF2F", "shortCNAMEUrl": "http://bit.ly/bsN5LF", "shortKeywordUrl": "", "shortUrl": "http://bit.ly/bsN5LF", "userHash": "bsN5LF" } }, "statusCode": "OK" }Invalid JSON-response on line 196 in /var/www/vhosts/.../httpdocs/forum/bitly.php
#0 /var/www/vhosts/.../httpdocs/forum/bitly.php(382): Bitly->doCall('shorten', Array)
#1 /var/www/vhosts/.../httpdocs/forum/newthread.php(262) : eval()'d code(12): Bitly->shorten('http://www....')
#2 /var/www/vhosts/.../httpdocs/forum/newthread.php(262): eval()
#3 /var/www/vhosts/.../httpdocs/forum/vbseo.php(1621): require('/var/www/vhosts...')
#4 {main}
Fatal error: Invalid JSON-response on line 196 in [path]/bitly.php in [path]/vb/vb.php on line 284
#0 vb_error_handler(256, Invalid JSON-response on line 196 in /var/www/vhosts/.../httpdocs/forum/bitly.php , /var/www/vhosts/.../httpdocs/forum/vb/vb.php, 284, Array ([exception] => BitlyException Object ([] => Invalid JSON-response,[] => ,[] => 0,[] => /var/www/vhosts/.../httpdocs/forum/bitly.php,[] => 196,[] => Array ([0] => Array ([file] => /var/www/vhosts/.../httpdocs/forum/bitly.php,[line] => 382,[function] => doCall,[class] => Bitly,[type] => ->,[args] => Array ([0] => shorten,[1] => Array ([longUrl] => http://www..../forum/showthread.php?t=5559,[history] => 1))),[1] => Array ([file] => /var/www/vhosts/.../httpdocs/forum/newthread.php(262) : eval()'d code,[line] => 12,[function] => shorten,[class] => Bitly,[type] => ->,[args] => Array ([0] => http://www..../forum/showthread.php?t=5559)),[2] => Array ([file] => /var/www/vhosts/.../httpdocs/forum/newthread.php,[line] => 262,[function] => eval),[3] => Array ([file] => /var/www/vhosts/.../httpdocs/forum/vbseo.php,[line] => 1621,[args] => Array ([0] => /var/www/vhosts/.../httpdocs/forum/newthread.php),[function] => require))),[code] => 256)) #1 trigger_error(Invalid JSON-response on line 196 in /var/www/vhosts/.../httpdocs/forum/bitly.php , 256) called at [/var/www/vhosts/.../httpdocs/forum/vb/vb.php:284] #2 vB::handleException(BitlyException Object ([] => Invalid JSON-response,[] => ,[] => 0,[] => /var/www/vhosts/.../httpdocs/forum/bitly.php,[] => 196,[] => Array ([0] => Array ([file] => /var/www/vhosts/.../httpdocs/forum/bitly.php,[line] => 382,[function] => doCall,[class] => Bitly,[type] => ->,[args] => Array ([0] => shorten,[1] => Array ([longUrl] => http://www..../forum/showthread.php?t=5559,[history] => 1))),[1] => Array ([file] => /var/www/vhosts/.../httpdocs/forum/newthread.php(262) : eval()'d code,[line] => 12,[function] => shorten,[class] => Bitly,[type] => ->,[args] => Array ([0] => http://www..../forum/showthread.php?t=5559)),[2] => Array ([file] => /var/www/vhosts/.../httpdocs/forum/newthread.php,[line] => 262,[function] => eval),[3] => Array ([file] => /var/www/vhosts/.../httpdocs/forum/vbseo.php,[line] => 1621,[args] => Array ([0] => /var/www/vhosts/.../httpdocs/forum/newthread.php),[function] => require))))
|
|