( ! ) Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/bitrix/ext_www/bot.institut-medicina.ru/vendor/longman/telegram-bot/src/Entities/Message.php on line 319 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0075 | 366392 | {main}( ) | .../test.php:0 |
2 | 0.1446 | 1330384 | Longman\TelegramBot\Request::sendMessage( $data = ['chat_id' => 199631726, 'text' => 'Your utf8 text Ÿ˜œ ...'] ) | .../test.php:26 |
3 | 0.1446 | 1330384 | Longman\TelegramBot\Request::send( $action = 'sendMessage', $data = ['chat_id' => 199631726, 'text' => 'Your utf8 text Ÿ˜œ ...'] ) | .../Request.php:339 |
4 | 0.5440 | 1827984 | Longman\TelegramBot\Entities\ServerResponse->__construct( $data = ['ok' => TRUE, 'result' => ['message_id' => 376, 'from' => [...], 'chat' => [...], 'date' => 1741952138, 'text' => 'Your utf8 text Ÿ˜œ ...']], $bot_name = 'rdm88_bot' ) | .../Request.php:302 |
5 | 0.5510 | 1897992 | Longman\TelegramBot\Entities\Message->__construct( $data = ['message_id' => 376, 'from' => ['id' => 6584685531, 'is_bot' => TRUE, 'first_name' => 'rdm_bot', 'username' => 'rdm88_bot'], 'chat' => ['id' => 199631726, 'first_name' => 'Radmir', 'username' => 'radmir72', 'type' => 'private'], 'date' => 1741952138, 'text' => 'Your utf8 text Ÿ˜œ ...'], $bot_name = 'rdm88_bot' ) | .../ServerResponse.php:59 |
6 | 0.5513 | 1898056 | Longman\TelegramBot\Entities\Message->init( $data = ['message_id' => 376, 'from' => ['id' => 6584685531, 'is_bot' => TRUE, 'first_name' => 'rdm_bot', 'username' => 'rdm88_bot'], 'chat' => ['id' => 199631726, 'first_name' => 'Radmir', 'username' => 'radmir72', 'type' => 'private'], 'date' => 1741952138, 'text' => 'Your utf8 text Ÿ˜œ ...'], $bot_name = 'rdm88_bot' ) | .../Message.php:99 |
7 | 0.5526 | 1916616 | Longman\TelegramBot\Entities\Message->getCommand( ) | .../Message.php:145 |
8 | 0.5526 | 1916616 | substr( $string = NULL, $offset = 0, $length = 1 ) | .../Message.php:319 |