MxChat 2.0.4

Does MxChat work with WordPress 6.7.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 221.33 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 version6.7.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 300+
WordPress.org page https://wordpress.org/plugins/mxchat-basic/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 8

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=mxchat-basic%2Fmxchat-basic.php&plugin_status=all&paged=1&s&_wpnonce=14b06b46bb
Aspect after-activation
HTTP status 200
Load time 0.512 s
Memory usage 3.73 MiB
JS errors None
Resource errors None

MxChat

Page screenshot: MxChat
URL /wp-admin/admin.php?page=mxchat-max
Aspect menu-item
HTTP status 200
Load time 0.311 s
Memory usage 3.69 MiB
JS errors None
Resource errors None

MxChat → Knowledge

Page screenshot: MxChat → Knowledge
URL /wp-admin/admin.php?page=mxchat-prompts
Aspect menu-item
HTTP status 200
Load time 0.224 s
Memory usage 3.69 MiB
JS errors None
Resource errors None

MxChat → Transcripts

Page screenshot: MxChat → Transcripts
URL /wp-admin/admin.php?page=mxchat-transcripts
Aspect menu-item
HTTP status 200
Load time 0.399 s
Memory usage 3.69 MiB
JS errors None
Resource errors None

MxChat → Intents

Page screenshot: MxChat → Intents
URL /wp-admin/admin.php?page=mxchat-intents
Aspect menu-item
HTTP status 200
Load time 0.223 s
Memory usage 3.69 MiB
JS errors None
Resource errors None

MxChat → Add Ons

Page screenshot: MxChat → Add Ons
URL /wp-admin/admin.php?page=mxchat-addons
Aspect menu-item
HTTP status 200
Load time 0.216 s
Memory usage 3.69 MiB
JS errors None
Resource errors None

MxChat → Pro Upgrade

Page screenshot: MxChat → Pro Upgrade
URL /wp-admin/admin.php?page=mxchat-activation
Aspect menu-item
HTTP status 200
Load time 0.247 s
Memory usage 3.69 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.252 s
Memory usage 3.5 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'addEventListener')\n    at HTMLDocument.<anonymous> (/wp-content/plugins/mxchat-basic/js/chat-script.js?ver=2.0.4:1096:38)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27028)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.337 s0.369 s+0.032 s3.48 MiB3.72 MiB+ 243.2 KiB
/wp-admin/edit.php0.205 s0.226 s+0.021 s3.54 MiB3.78 MiB+ 240.68 KiB
/wp-admin/post-new.php0.806 s0.768 s-0.038 s5.93 MiB6.19 MiB+ 274.39 KiB
/wp-admin/upload.php0.567 s0.517 s-0.050 s3.5 MiB3.71 MiB+ 223.59 KiB
/wp-admin/options-writing.php0.212 s0.220 s+0.008 s3.47 MiB3.7 MiB+ 227.27 KiB
/wp-admin/media-new.php0.368 s0.277 s-0.091 s3.46 MiB3.69 MiB+ 235.46 KiB
/wp-admin/edit-tags.php?taxonomy=category0.172 s0.223 s+0.051 s3.48 MiB3.72 MiB+ 246.13 KiB
/wp-admin/post-new.php?post_type=page0.627 s0.705 s+0.078 s5.92 MiB6.18 MiB+ 269.92 KiB
/wp-admin/options-discussion.php0.283 s0.300 s+0.017 s3.48 MiB3.69 MiB+ 224.39 KiB
/wp-admin/edit-comments.php0.197 s0.224 s+0.027 s3.5 MiB3.71 MiB+ 223.27 KiB
/0.317 s0.209 s-0.108 s3.48 MiB3.5 MiB+ 26.38 KiB
Average 0.372 s0.367 s-0.005 s3.93 MiB4.15 MiB+ 221.33 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
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP69.2%13,2833,88754
CSS21.8%4,1891495
JavaScript8.9%1,7122436
SVG0.0%404
Total 19,188 4,279 69

PHP Code Analysis | More results »

Lines of code 13,331
Total complexity 2,379
Median class complexity 5.0
Median method complexity 3.0
Most complex class MxChat_Admin
Most complex function MxChat_Admin::mxchat_sanitize()
Classes 52
Methods 415
Functions 6

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.

Database Tables 3

Options wp_options 2

PHP Error Log 20 lines

[17-Feb-2025 17:16:09 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6114
[17-Feb-2025 17:16:10 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6114
[17-Feb-2025 17:16:11 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6114
[17-Feb-2025 17:16:12 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6114
[17-Feb-2025 17:16:13 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6114
[17-Feb-2025 17:16:14 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6114
[17-Feb-2025 17:16:15 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6114
[17-Feb-2025 17:16:16 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6114
[17-Feb-2025 17:16:19 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6114
[17-Feb-2025 17:16:19 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6114
[17-Feb-2025 17:16:20 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6114
[17-Feb-2025 17:16:22 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6114
[17-Feb-2025 17:16:22 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6114
[17-Feb-2025 17:16:23 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6114
[17-Feb-2025 17:16:23 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6114
[17-Feb-2025 17:16:24 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6114
[17-Feb-2025 17:16:26 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6114
[17-Feb-2025 17:16:26 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6114
[17-Feb-2025 17:16:26 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6114
[17-Feb-2025 17:16:27 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6114
See also: All tests for this plugin, How to Hide MxChat Admin Menus