Warning: Use of undefined constant BOT_TOKEN - assumed 'BOT_TOKEN' (this will throw an Error in a future version of PHP) in /var/www/html/tgh/api_bot/creator/get-webhookinfo.php on line 14
object(unreal4u\TelegramAPI\Exceptions\ClientException)#218 (8) {
["errorRequest":protected]=>
object(unreal4u\TelegramAPI\Telegram\Types\Custom\UnsuccessfulRequest)#76 (5) {
["ok"]=>
bool(false)
["error_code"]=>
int(404)
["description"]=>
string(9) "Not Found"
["parameters"]=>
NULL
["logger":protected]=>
object(unreal4u\Dummy\Logger)#65 (0) {
}
}
["message":protected]=>
string(9) "Not Found"
["string":"Exception":private]=>
string(0) ""
["code":protected]=>
int(404)
["file":protected]=>
string(101) "/var/www/html/tgh/api_bot/vendor/unreal4u/telegram-api/src/InternalFunctionality/TelegramResponse.php"
["line":protected]=>
int(50)
["trace":"Exception":private]=>
array(11) {
[0]=>
array(6) {
["file"]=>
string(101) "/var/www/html/tgh/api_bot/vendor/unreal4u/telegram-api/src/InternalFunctionality/TelegramResponse.php"
["line"]=>
int(33)
["function"]=>
string(11) "fillRawData"
["class"]=>
string(59) "unreal4u\TelegramAPI\InternalFunctionality\TelegramResponse"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
string(55) "{"ok":false,"error_code":404,"description":"Not Found"}"
}
}
[1]=>
array(6) {
["file"]=>
string(87) "/var/www/html/tgh/api_bot/vendor/unreal4u/telegram-api/src/HttpClientRequestHandler.php"
["line"]=>
int(74)
["function"]=>
string(11) "__construct"
["class"]=>
string(59) "unreal4u\TelegramAPI\InternalFunctionality\TelegramResponse"
["type"]=>
string(2) "->"
["args"]=>
array(2) {
[0]=>
string(55) "{"ok":false,"error_code":404,"description":"Not Found"}"
[1]=>
array(8) {
["Server"]=>
string(12) "nginx/1.18.0"
["Date"]=>
string(29) "Fri, 14 Mar 2025 18:51:31 GMT"
["Content-Type"]=>
string(16) "application/json"
["Content-Length"]=>
string(2) "55"
["Connection"]=>
string(5) "close"
["Strict-Transport-Security"]=>
string(44) "max-age=31536000; includeSubDomains; preload"
["Access-Control-Allow-Origin"]=>
string(1) "*"
["Access-Control-Expose-Headers"]=>
string(50) "Content-Length,Content-Type,Date,Server,Connection"
}
}
}
[2]=>
array(6) {
["file"]=>
string(88) "/var/www/html/tgh/api_bot/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php"
["line"]=>
int(123)
["function"]=>
string(30) "unreal4u\TelegramAPI\{closure}"
["class"]=>
string(45) "unreal4u\TelegramAPI\HttpClientRequestHandler"
["type"]=>
string(2) "::"
["args"]=>
array(0) {
}
}
[3]=>
array(6) {
["file"]=>
string(67) "/var/www/html/tgh/api_bot/vendor/react/http-client/src/Response.php"
["line"]=>
int(107)
["function"]=>
string(4) "emit"
["class"]=>
string(22) "Evenement\EventEmitter"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
string(3) "end"
}
}
[4]=>
array(6) {
["file"]=>
string(88) "/var/www/html/tgh/api_bot/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php"
["line"]=>
int(123)
["function"]=>
string(9) "handleEnd"
["class"]=>
string(25) "React\HttpClient\Response"
["type"]=>
string(2) "->"
["args"]=>
array(0) {
}
}
[5]=>
array(6) {
["file"]=>
string(58) "/var/www/html/tgh/api_bot/vendor/react/stream/src/Util.php"
["line"]=>
int(71)
["function"]=>
string(4) "emit"
["class"]=>
string(22) "Evenement\EventEmitter"
["type"]=>
string(2) "->"
["args"]=>
array(2) {
[0]=>
string(3) "end"
[1]=>
array(0) {
}
}
}
[6]=>
array(6) {
["file"]=>
string(88) "/var/www/html/tgh/api_bot/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php"
["line"]=>
int(123)
["function"]=>
string(22) "React\Stream\{closure}"
["class"]=>
string(17) "React\Stream\Util"
["type"]=>
string(2) "::"
["args"]=>
array(0) {
}
}
[7]=>
array(6) {
["file"]=>
string(74) "/var/www/html/tgh/api_bot/vendor/react/stream/src/DuplexResourceStream.php"
["line"]=>
int(196)
["function"]=>
string(4) "emit"
["class"]=>
string(22) "Evenement\EventEmitter"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
string(3) "end"
}
}
[8]=>
array(6) {
["file"]=>
string(74) "/var/www/html/tgh/api_bot/vendor/react/event-loop/src/StreamSelectLoop.php"
["line"]=>
int(245)
["function"]=>
string(10) "handleData"
["class"]=>
string(33) "React\Stream\DuplexResourceStream"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
resource(8) of type (stream)
}
}
[9]=>
array(6) {
["file"]=>
string(74) "/var/www/html/tgh/api_bot/vendor/react/event-loop/src/StreamSelectLoop.php"
["line"]=>
int(212)
["function"]=>
string(21) "waitForStreamActivity"
["class"]=>
string(32) "React\EventLoop\StreamSelectLoop"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
NULL
}
}
[10]=>
array(6) {
["file"]=>
string(53) "/var/www/html/tgh/api_bot/creator/get-webhookinfo.php"
["line"]=>
int(29)
["function"]=>
string(3) "run"
["class"]=>
string(32) "React\EventLoop\StreamSelectLoop"
["type"]=>
string(2) "->"
["args"]=>
array(0) {
}
}
}
["previous":"Exception":private]=>
NULL
}