Closed
Description
i had a bot working, suddenly from yesterday i got this error when executing examples/getUpdatesCLI.php
∙ php examples/getUpdatesCLI.php 13:06 leandro@montana
exception 'Longman\TelegramBot\Exception\TelegramException' with message 'duration is empty!' in /home/leandro/Descargas/php-telegram-bot-master/src/Entities/Voice.php:33
Stack trace:
#0 /home/leandro/Descargas/php-telegram-bot-master/src/Entities/Message.php(145): Longman\TelegramBot\Entities\Voice->__construct(Array)
#1 /home/leandro/Descargas/php-telegram-bot-master/src/Entities/Update.php(34): Longman\TelegramBot\Entities\Message->__construct(Array, 'botijo-firefoxi...')
#2 /home/leandro/Descargas/php-telegram-bot-master/src/Entities/ServerResponse.php(33): Longman\TelegramBot\Entities\Update->__construct(Array, 'botijo-firefoxi...')
#3 /home/leandro/Descargas/php-telegram-bot-master/src/Request.php(249): Longman\TelegramBot\Entities\ServerResponse->__construct(Array, 'botijo-firefoxi...')
#4 /home/leandro/Descargas/php-telegram-bot-master/src/Request.php(398): Longman\TelegramBot\Request::send('getUpdates', Array)
#5 /home/leandro/Descargas/php-telegram-bot-master/src/Telegram.php(363): Longman\TelegramBot\Request::getUpdates(Array)
#6 /home/leandro/Descargas/php-telegram-bot-master/examples/getUpdatesCLI.php(42): Longman\TelegramBot\Telegram->handleGetUpdates()
#7 {main}%
maybe the cause some library update on my machine?
Metadata
Metadata
Assignees
Labels
No labels