Telegram Bot & Channel 3.4.7

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

Summary

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

Memory usage: 94.72 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.8
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=cb4d76d200
Aspect after-activation
HTTP status 200
Load time 0.346 s
Memory usage 3.16 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 3.13 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.168 s
Memory usage 3.18 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.172 s
Memory usage 3.18 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.129 s
Memory usage 3.15 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.219 s
Memory usage 3.18 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.214 s
Memory usage 3.2 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.134 s
Memory usage 3.1 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.207 s
Memory usage 2.98 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 1.819 s
Memory usage 4.56 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.336 s0.372 s+0.036 s3.08 MiB3.19 MiB+ 106.24 KiB
/wp-admin/edit.php0.178 s0.183 s+0.005 s3.11 MiB3.25 MiB+ 135.39 KiB
/wp-admin/post-new.php0.941 s1.193 s+0.252 s5.27 MiB5.32 MiB+ 57.08 KiB
/wp-admin/upload.php0.592 s0.553 s-0.039 s3.03 MiB3.13 MiB+ 104.44 KiB
/wp-admin/options-writing.php0.257 s0.147 s-0.110 s3.02 MiB3.11 MiB+ 88.41 KiB
/wp-admin/media-new.php0.274 s0.180 s-0.094 s3.01 MiB3.11 MiB+ 104.61 KiB
/wp-admin/edit-tags.php?taxonomy=category0.200 s0.185 s-0.015 s3.04 MiB3.14 MiB+ 104.69 KiB
/wp-admin/post-new.php?post_type=page1.367 s1.159 s-0.208 s5.26 MiB5.31 MiB+ 56.71 KiB
/wp-admin/options-discussion.php0.332 s0.320 s-0.012 s3 MiB3.11 MiB+ 104.92 KiB
/wp-admin/edit-comments.php0.223 s0.238 s+0.015 s3.04 MiB3.15 MiB+ 104.4 KiB
/0.272 s0.232 s-0.040 s2.91 MiB2.98 MiB+ 75.05 KiB
Average 0.452 s0.433 s-0.019 s3.43 MiB3.53 MiB+ 94.72 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.5%1,4582311
JavaScript11.4%18811
Markdown0.1%201
Total 1,648 24 13

PHP Code Analysis | More results »

Lines of code 936
Total complexity 133
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 18 lines

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