Telegram Bot & Channel 3.4.5

Does Telegram Bot & Channel work with WordPress 5.7 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
19PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 90.82 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version5.7
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 700+
WordPress.org page https://wordpress.org/plugins/telegram-bot/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 10

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=telegram-bot%2Ftelegram-bot.php&plugin_status=all&paged=1&s&_wpnonce=6e8eed1b8c
Aspect after-activation
HTTP status 200
Load time 0.519 s
Memory usage 2.89 MiB
JS errors None
Resource errors None

Telegram

Page screenshot: Telegram
URL /wp-admin/admin.php?page=telegram_main
Aspect menu-item
HTTP status 200
Load time 0.157 s
Memory usage 2.81 MiB
JS errors None
Resource errors None

Telegram → Users

Page screenshot: Telegram → Users
URL /wp-admin/edit.php?post_type=telegram_subscribers
Aspect menu-item
HTTP status 200
Load time 0.161 s
Memory usage 2.91 MiB
JS errors None
Resource errors None

Telegram → Groups

Page screenshot: Telegram → Groups
URL /wp-admin/edit.php?post_type=telegram_groups
Aspect menu-item
HTTP status 200
Load time 0.161 s
Memory usage 2.91 MiB
JS errors None
Resource errors None

Telegram → Send a message

Page screenshot: Telegram → Send a message
URL /wp-admin/admin.php?page=telegram_send
Aspect menu-item
HTTP status 200
Load time 0.133 s
Memory usage 2.83 MiB
JS errors None
Resource errors None

Telegram → Responders

Page screenshot: Telegram → Responders
URL /wp-admin/edit.php?post_type=telegram_commands
Aspect menu-item
HTTP status 200
Load time 0.156 s
Memory usage 2.91 MiB
JS errors None
Resource errors None

Telegram → Settings

Page screenshot: Telegram → Settings
URL /wp-admin/admin.php?page=telegram_settings
Aspect menu-item
HTTP status 200
Load time 0.172 s
Memory usage 2.88 MiB
JS errors None
Resource errors None

Telegram → Log

Page screenshot: Telegram → Log
URL /wp-admin/admin.php?page=telegram_log
Aspect menu-item
HTTP status 200
Load time 0.151 s
Memory usage 2.77 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.193 s
Memory usage 2.73 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 0.798 s
Memory usage 2.88 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.264 s0.319 s+0.055 s2.82 MiB2.92 MiB+ 102.24 KiB
/wp-admin/edit.php0.178 s0.307 s+0.129 s2.86 MiB2.96 MiB+ 101.48 KiB
/wp-admin/post-new.php0.915 s1.043 s+0.128 s5.02 MiB5.1 MiB+ 74.56 KiB
/wp-admin/upload.php0.527 s0.563 s+0.036 s2.7 MiB2.79 MiB+ 100.44 KiB
/wp-admin/options-writing.php0.220 s0.160 s-0.060 s2.71 MiB2.78 MiB+ 68.41 KiB
/wp-admin/media-new.php0.203 s0.187 s-0.016 s2.67 MiB2.77 MiB+ 100.61 KiB
/wp-admin/edit-tags.php?taxonomy=category0.176 s0.186 s+0.010 s2.77 MiB2.87 MiB+ 100.69 KiB
/wp-admin/post-new.php?post_type=page1.151 s0.915 s-0.236 s5.01 MiB5.08 MiB+ 74.2 KiB
/wp-admin/options-discussion.php0.313 s0.291 s-0.022 s2.68 MiB2.77 MiB+ 100.92 KiB
/wp-admin/edit-comments.php0.235 s0.209 s-0.026 s2.78 MiB2.87 MiB+ 100.4 KiB
/0.249 s0.230 s-0.019 s2.65 MiB2.73 MiB+ 75.05 KiB
Average 0.403 s0.401 s-0.002 s3.15 MiB3.24 MiB+ 90.82 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
JavaScript
Language % Lines of code Comment lines Files
PHP88.4%1,4462311
JavaScript11.5%18811
Markdown0.1%201
Total 1,636 24 13

PHP Code Analysis | More results »

Lines of code 924
Total complexity 129
Median class complexity 10.0
Median method complexity 2.0
Most complex class telegram_widget
Most complex function telegram_send_post_notification()
Classes 1
Methods 4
Functions 33

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 5

Custom Post Types 3

ID Name
telegram_subscribersUsers subscribed
telegram_groupsGroups subscribed
telegram_commandsCommands and autoresponders

Sidebar Widgets 1

ID Name
telegram_widgetTelegram

Meta Boxes

{
    "telegram_commands": {
        "telegram_command_extra": {
            "title": "Keyboard",
            "context": "side"
        }
    }
}

PHP Error Log 19 lines

[11-Mar-2021 20:18:13 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/telegram-bot/defaults.php on line 26
[11-Mar-2021 20:18:13 UTC] PHP Notice:  Undefined index: mode in /wp-content/plugins/telegram-bot/defaults.php on line 26
[11-Mar-2021 20:18:13 UTC] PHP Notice:  Undefined index: zapier in /wp-content/plugins/telegram-bot/defaults.php on line 26
[11-Mar-2021 20:18:13 UTC] PHP Notice:  Undefined index: wmgroup in /wp-content/plugins/telegram-bot/defaults.php on line 26
[11-Mar-2021 20:18:13 UTC] PHP Notice:  Undefined index: wmuser in /wp-content/plugins/telegram-bot/defaults.php on line 26
[11-Mar-2021 20:18:13 UTC] PHP Notice:  Undefined index: posttemplate in /wp-content/plugins/telegram-bot/defaults.php on line 26
[11-Mar-2021 20:18:13 UTC] PHP Notice:  Undefined index: bmuser in /wp-content/plugins/telegram-bot/defaults.php on line 26
[11-Mar-2021 20:18:13 UTC] PHP Notice:  Undefined index: keyboard in /wp-content/plugins/telegram-bot/defaults.php on line 26
[11-Mar-2021 20:18:15 UTC] PHP Notice:  Undefined index: username in /wp-content/plugins/telegram-bot/panel/settings.php on line 98
[11-Mar-2021 20:18:15 UTC] PHP Notice:  Undefined index: channelusername in /wp-content/plugins/telegram-bot/panel/settings.php on line 110
[11-Mar-2021 20:18:15 UTC] PHP Notice:  Undefined index: target in /wp-content/plugins/telegram-bot/panel/settings.php on line 190
[11-Mar-2021 20:18:15 UTC] PHP Notice:  Undefined index: target in /wp-content/plugins/telegram-bot/panel/settings.php on line 191
[11-Mar-2021 20:18:15 UTC] PHP Notice:  Undefined index: target in /wp-content/plugins/telegram-bot/panel/settings.php on line 192
[11-Mar-2021 20:18:15 UTC] PHP Notice:  Undefined index: target in /wp-content/plugins/telegram-bot/panel/settings.php on line 193
[11-Mar-2021 20:18:15 UTC] PHP Notice:  Undefined index: target in /wp-content/plugins/telegram-bot/panel/settings.php on line 194
[11-Mar-2021 20:18:15 UTC] PHP Notice:  Undefined index: emuser in /wp-content/plugins/telegram-bot/panel/settings.php on line 265
[11-Mar-2021 20:18:23 UTC] PHP Notice:  Trying to get property 'post_type' of non-object in /wp-content/plugins/telegram-bot/telegram-bot.php on line 382
[11-Mar-2021 20:18:24 UTC] PHP Notice:  Undefined variable: title in /wp-content/plugins/telegram-bot/widget.php on line 29
[11-Mar-2021 20:18:24 UTC] PHP Notice:  Trying to get property 'post_type' of non-object in /wp-content/plugins/telegram-bot/telegram-bot.php on line 382
See also: All tests for this plugin, How to Hide Telegram Bot & Channel Admin Menus and Meta Boxes