MxChat 1.6.0

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

Summary

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

Memory usage: 242.43 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.1
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 7

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=9f0e7221e2
Aspect after-activation
HTTP status 200
Load time 0.394 s
Memory usage 3.74 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.271 s
Memory usage 3.71 MiB
JS errors
[
    {
        "message": "ReferenceError: _ is not defined\n    at HTMLDocument.<anonymous> (/wp-content/plugins/mxchat-basic/js/my-color-picker.js?ver=1736691000:5:13)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.7.1:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.7.1:2:27330)",
        "trace": null,
        "code": null
    },
    {
        "message": "ReferenceError: _ is not defined\n    at HTMLDocument.<anonymous> (/wp-content/plugins/mxchat-basic/js/mxchat-admin.js?ver=1.6.0:96:16)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.7.1:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.7.1:2:27330)",
        "trace": null,
        "code": null
    }
]
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.181 s
Memory usage 3.71 MiB
JS errors
[
    {
        "message": "ReferenceError: _ is not defined\n    at HTMLDocument.<anonymous> (/wp-content/plugins/mxchat-basic/js/my-color-picker.js?ver=1736691000:5:13)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.7.1:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.7.1:2:27330)",
        "trace": null,
        "code": null
    }
]
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.322 s
Memory usage 3.71 MiB
JS errors
[
    {
        "message": "ReferenceError: _ is not defined\n    at HTMLDocument.<anonymous> (/wp-content/plugins/mxchat-basic/js/my-color-picker.js?ver=1736691000:5:13)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.7.1:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.7.1:2:27330)",
        "trace": null,
        "code": null
    }
]
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.150 s
Memory usage 3.71 MiB
JS errors
[
    {
        "message": "ReferenceError: _ is not defined\n    at HTMLDocument.<anonymous> (/wp-content/plugins/mxchat-basic/js/my-color-picker.js?ver=1736691000:5:13)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.7.1:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.7.1:2:27330)",
        "trace": null,
        "code": null
    }
]
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.172 s
Memory usage 3.71 MiB
JS errors
[
    {
        "message": "ReferenceError: _ is not defined\n    at HTMLDocument.<anonymous> (/wp-content/plugins/mxchat-basic/js/my-color-picker.js?ver=1736691000:5:13)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.7.1:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.7.1:2:27330)",
        "trace": null,
        "code": null
    }
]
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.217 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=1.6.0:993: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.260 s0.289 s+0.029 s3.48 MiB3.73 MiB+ 259.75 KiB
/wp-admin/edit.php0.171 s0.198 s+0.027 s3.54 MiB3.79 MiB+ 256.86 KiB
/wp-admin/post-new.php0.726 s0.654 s-0.072 s5.92 MiB6.21 MiB+ 291.67 KiB
/wp-admin/upload.php0.481 s0.331 s-0.150 s3.49 MiB3.73 MiB+ 239.45 KiB
/wp-admin/options-writing.php0.172 s0.188 s+0.016 s3.47 MiB3.71 MiB+ 243.45 KiB
/wp-admin/media-new.php0.223 s0.406 s+0.183 s3.46 MiB3.71 MiB+ 251.64 KiB
/wp-admin/edit-tags.php?taxonomy=category0.146 s0.188 s+0.042 s3.47 MiB3.73 MiB+ 262.31 KiB
/wp-admin/post-new.php?post_type=page0.498 s0.592 s+0.094 s5.92 MiB6.2 MiB+ 287.2 KiB
/wp-admin/options-discussion.php0.235 s0.248 s+0.013 s3.47 MiB3.71 MiB+ 240.57 KiB
/wp-admin/edit-comments.php0.179 s0.221 s+0.042 s3.49 MiB3.73 MiB+ 239.45 KiB
/0.285 s0.201 s-0.084 s3.41 MiB3.5 MiB+ 94.39 KiB
Average 0.307 s0.320 s+0.013 s3.92 MiB4.16 MiB+ 242.43 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
PHP75.0%12,8163,83053
CSS16.1%2,750902
JavaScript8.9%1,5292357
SVG0.0%404
Total 17,099 4,155 66

PHP Code Analysis | More results »

Lines of code 12,879
Total complexity 2,279
Median class complexity 5.0
Median method complexity 3.0
Most complex class MxChat_Admin
Most complex function MxChat_Admin::mxchat_sanitize()
Classes 51
Methods 412
Functions 4

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 19 lines

[12-Jan-2025 14:13:50 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
[12-Jan-2025 14:13:51 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
[12-Jan-2025 14:13:51 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
[12-Jan-2025 14:13:52 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
[12-Jan-2025 14:13:53 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
[12-Jan-2025 14:13:54 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
[12-Jan-2025 14:13:55 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
[12-Jan-2025 14:13:57 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
[12-Jan-2025 14:13:57 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
[12-Jan-2025 14:13:58 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
[12-Jan-2025 14:14:00 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
[12-Jan-2025 14:14:00 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
[12-Jan-2025 14:14:00 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
[12-Jan-2025 14:14:01 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
[12-Jan-2025 14:14:01 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
[12-Jan-2025 14:14:03 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
[12-Jan-2025 14:14:03 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
[12-Jan-2025 14:14:04 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
[12-Jan-2025 14:14:04 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