telegrambot icon indicating copy to clipboard operation
telegrambot copied to clipboard

Telegrambot don't send notofications to Telegtam

Open Dmitry-DU opened this issue 5 years ago • 2 comments

When I open a ticket, GLPI shows the http: error 500, and in php-error.log file appears the record:

[2019-06-17 13:03:27] glpiphplog.ERROR: Toolbox::userErrorHandlerNormal() in /var/www/glpi/inc/toolbox.class.php line 659 *** PHP Notice(8): Undefined index: telegram_username Backtrace : plugins/telegrambot/inc/user.class.php:52 plugins/telegrambot/inc/user.class.php:65 PluginTelegrambotUser::item_add_user() : PluginTelegrambotUser::item_update_user() inc/plugin.class.php:1112 call_user_func() inc/commondbtm.class.php:1361 Plugin::doHook() inc/auth.class.php:819 CommonDBTM->update() front/login.php:84 Auth->login()

Help me please to fix it.

Dmitry-DU avatar Jun 17 '19 08:06 Dmitry-DU

Hi, did you set telegram_username in user account setup?

xpedroaugustox avatar Nov 24 '19 02:11 xpedroaugustox

PHP 7.2, GLPI 9.4.5

2020-02-12 22:46:58] glpiphplog.ERROR: Toolbox::userErrorHandlerNormal() in /var/www/glpi/inc/toolbox.class.php line 658 *** PHP Notice(8): Undefined index: telegram_username Backtrace : plugins/telegrambot/inc/user.class.php:67 : PluginTelegrambotUser::item_update_user() inc/plugin.class.php:1112 call_user_func() inc/commondbtm.class.php:1355 Plugin::doHook() inc/auth.class.php:819 CommonDBTM->update() front/login.php:84 Auth->login() {"user":"@glpi"}

netruner avatar Feb 12 '20 21:02 netruner