yageorgiy / botman-vk-community-callback-driver

A VK community callback API driver for botman.io framework
MIT License
12 stars 4 forks source link

Crash when pressing "Start" button, provided by vk bots functionality #5

Closed zakulqi closed 4 years ago

zakulqi commented 4 years ago

Request string

{"type":"message_new","object":{"message":{"date":1600265466,"from_id":11111111,"id":65,"out":0,"peer_id":11111111,"text":"Начать","conversation_message_id":1,"fwd_messages":[],"important":false,"random_id":0,"attachments":[],"payload":"{\"command\":\"start\"}","is_hidden":false},"client_info":{"button_actions":["text","vkpay","open_app","location","open_link"],"keyboard":true,"inline_keyboard":true,"carousel":false,"lang_id":0}},"group_id":11111,"event_id":"82d32482992f91243a","secret":"asdyhauihsdiyasd"}

Error str


[stacktrace]

#0 vendor\\yageorgiy\\botman-vk-community-callback-driver\\src\\VkCommunityCallbackDriver.php(242): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(8, 'Undefined index...', 'C:\\\\Data\\\\Dev\\\\lnu...', 242, Array)

#1 vendor\\botman\\botman\\src\\BotMan.php(192): BotMan\\Drivers\\VK\\VkCommunityCallbackDriver->getMessages()

#2 vendor\\botman\\botman\\src\\Traits\\HandlesConversations.php(170): BotMan\\BotMan\\BotMan->getMessages()

#3 vendor\\botman\\botman\\src\\BotMan.php(422): BotMan\\BotMan\\BotMan->loadActiveConversation()

#4 app\\Http\\Controllers\\BotManController.php(18): BotMan\\BotMan\\BotMan->listen()```
yageorgiy commented 4 years ago

Fixed in v.1.6.2.

zakulqi commented 4 years ago

Fixed in v.1.6.2.