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

Telegrambot don't send notofications to Telegtam #34

@Dmitry-DU

Description

@Dmitry-DU

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions