TelegramBot\Api\InvalidJsonException Object
(
[message:protected] => Syntax error
[string:Exception:private] =>
[code:protected] => 4
[file:protected] => /var/www/vendor/telegram-bot/api/src/BotApi.php
[line:protected] => 304
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /var/www/vendor/telegram-bot/api/src/Client.php
[line] => 141
[function] => jsonValidate
[class] => TelegramBot\Api\BotApi
[type] => ::
[args] => Array
(
[0] =>
[1] => 1
)
)
[1] => Array
(
[file] => /var/www/index.php
[line] => 5595
[function] => run
[class] => TelegramBot\Api\Client
[type] => ->
[args] => Array
(
)
)
)
[previous:Exception:private] =>
)
Fatal error: Uncaught TelegramBot\Api\HttpException in /var/www/vendor/telegram-bot/api/src/BotApi.php:265
Stack trace:
#0 /var/www/vendor/telegram-bot/api/src/BotApi.php(232): TelegramBot\Api\BotApi->executeCurl(Array)
#1 /var/www/vendor/telegram-bot/api/src/BotApi.php(342): TelegramBot\Api\BotApi->call('sendMessage', Array)
#2 [internal function]: TelegramBot\Api\BotApi->sendMessage('57276350', '[\n "Syntax e...')
#3 /var/www/vendor/telegram-bot/api/src/Client.php(412): call_user_func_array(Array, Array)
#4 /var/www/index.php(5609): TelegramBot\Api\Client->__call('sendMessage', Array)
#5 {main}
thrown in /var/www/vendor/telegram-bot/api/src/BotApi.php on line 265