Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Telegrambot don't send notofications to Telegtam #34

Open
Dmitry-DU opened this issue Jun 17, 2019 · 2 comments
Open

Telegrambot don't send notofications to Telegtam #34

Dmitry-DU opened this issue Jun 17, 2019 · 2 comments

Comments

@Dmitry-DU
Copy link

Dmitry-DU commented Jun 17, 2019

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.

@xpedroaugustox
Copy link

Hi, did you set telegram_username in user account setup?

@netruner
Copy link

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"}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants