OneClick Chat to Order 1.0.6

Does OneClick Chat to Order work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP fatal errors
29PHP warnings
6PHP deprecation warnings
3JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 303.4 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.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 40,000+
WordPress.org page https://wordpress.org/plugins/oneclick-whatsapp-order/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 14

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=oneclick-whatsapp-order%2Fwhatsapp-order.php&plugin_status=all&paged=1&s&_wpnonce=fdfec5b84d
Aspect after-activation
HTTP status 200
Load time 0.692 s
Memory usage 3.74 MiB
JS errors None
Resource errors None

Chat to Order

Page screenshot: Chat to Order
URL /wp-admin/admin.php?page=wa-order&tab=welcome
Aspect menu-item
HTTP status 200
Load time 1.321 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

Chat to Order → Basic

Page screenshot: Chat to Order → Basic
URL /wp-admin/admin.php?page=wa-order&tab=button_config
Aspect menu-item-tab
HTTP status 200
Load time 0.394 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

Chat to Order → Floating

Page screenshot: Chat to Order → Floating
URL /wp-admin/admin.php?page=wa-order&tab=floating_button
Aspect menu-item-tab
HTTP status 200
Load time 0.240 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

Chat to Order → Display Options

Page screenshot: Chat to Order → Display Options
URL /wp-admin/admin.php?page=wa-order&tab=display_option
Aspect menu-item-tab
HTTP status 200
Load time 0.306 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

Chat to Order → Shop

Page screenshot: Chat to Order → Shop
URL /wp-admin/admin.php?page=wa-order&tab=shop_page
Aspect menu-item-tab
HTTP status 200
Load time 0.187 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

Chat to Order → Cart

Page screenshot: Chat to Order → Cart
URL /wp-admin/admin.php?page=wa-order&tab=cart_button
Aspect menu-item-tab
HTTP status 200
Load time 0.169 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

Chat to Order → Checkout

Page screenshot: Chat to Order → Checkout
URL /wp-admin/admin.php?page=wa-order&tab=thanks_page
Aspect menu-item-tab
HTTP status 200
Load time 0.176 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

Chat to Order → GDPR

Page screenshot: Chat to Order → GDPR
URL /wp-admin/admin.php?page=wa-order&tab=gdpr_notice
Aspect menu-item-tab
HTTP status 200
Load time 0.166 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

Chat to Order → Shortcode

Page screenshot: Chat to Order → Shortcode
URL /wp-admin/admin.php?page=wa-order&tab=generate_shortcode
Aspect menu-item-tab
HTTP status 200
Load time 0.177 s
Memory usage 3.71 MiB
JS errors
[
    {
        "message": "TypeError: $(...).select2 is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/oneclick-whatsapp-order/assets/js/admin-main.js?ver=6.6.2:12:30)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.6.2:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.6.2:2:27330)",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: $(...).select2 is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/oneclick-whatsapp-order/assets/js/admin-main.js?ver=6.6.2:23:26)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.6.2:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.6.2:2:27330)",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: $(...).select2 is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/oneclick-whatsapp-order/assets/js/admin-main.js?ver=6.6.2:29:26)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.6.2:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.6.2:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Chat to Order → Support

Page screenshot: Chat to Order → Support
URL /wp-admin/admin.php?page=wa-order&tab=tutorial_support
Aspect menu-item-tab
HTTP status 200
Load time 0.190 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

Chat to Order → WhatsApp Numbers

Page screenshot: Chat to Order → WhatsApp Numbers
URL /wp-admin/edit.php?post_type=wa-order-numbers
Aspect menu-item
HTTP status 200
Load time 0.223 s
Memory usage 3.77 MiB
JS errors None
Resource errors None

Chat to Order → Add New Number

Page screenshot: Chat to Order → Add New Number
URL /wp-admin/post-new.php?post_type=wa-order-numbers
Aspect menu-item
HTTP status 200
Load time 0.499 s
Memory usage 3.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.178 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.367 s0.410 s+0.043 s3.47 MiB3.73 MiB+ 261.95 KiB
/wp-admin/edit.php0.210 s0.256 s+0.046 s3.54 MiB3.79 MiB+ 260.51 KiB
/wp-admin/post-new.php0.791 s0.969 s+0.178 s5.75 MiB6.16 MiB+ 415.15 KiB
/wp-admin/upload.php0.536 s0.423 s-0.113 s3.49 MiB3.73 MiB+ 243.16 KiB
/wp-admin/options-writing.php0.211 s0.193 s-0.018 s3.41 MiB3.71 MiB+ 305.96 KiB
/wp-admin/media-new.php0.281 s0.426 s+0.145 s3.4 MiB3.71 MiB+ 319.34 KiB
/wp-admin/edit-tags.php?taxonomy=category0.195 s0.198 s+0.003 s3.47 MiB3.73 MiB+ 266.02 KiB
/wp-admin/post-new.php?post_type=page0.606 s0.615 s+0.009 s5.75 MiB6.15 MiB+ 411.16 KiB
/wp-admin/options-discussion.php0.254 s0.252 s-0.002 s3.41 MiB3.71 MiB+ 307.65 KiB
/wp-admin/edit-comments.php0.216 s0.259 s+0.043 s3.49 MiB3.73 MiB+ 243.15 KiB
/0.322 s0.136 s-0.186 s3.45 MiB
Average 0.363 s0.376 s+0.013 s3.88 MiB4.21 MiB+ 303.4 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
PO File
Language % Lines of code Comment lines Files
PHP61.1%4,44345517
PO File32.4%2,3608533
CSS6.0%44042
JavaScript0.4%3122
SVG0.0%101
Total 7,275 1,314 25

PHP Code Analysis | More results »

Lines of code 4,470
Total complexity 451
Median class complexity 5.0
Median method complexity 1.0
Most complex class WA_GDPR
Most complex function wa_order_create_admin_page()
Classes 2
Methods 8
Functions 77

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.

Custom Post Types 1

ID Name
wa-order-numbersWhatsApp Numbers

Meta Boxes

{
    "wa-order-numbers": {
        "wa_order_phonenumbers_metabox": {
            "title": "Set a Number",
            "context": "normal"
        }
    }
}

PHP Error Log 67 lines

[11-Sep-2024 02:19:34 UTC] PHP Warning:  Attempt to read property "term_id" on array in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1056
[11-Sep-2024 02:19:34 UTC] PHP Warning:  Attempt to read property "term_id" on array in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1058
[11-Sep-2024 02:19:34 UTC] PHP Warning:  Attempt to read property "name" on array in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1059
[11-Sep-2024 02:19:34 UTC] PHP Deprecated:  ucwords(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1059
[11-Sep-2024 02:19:34 UTC] PHP Warning:  Attempt to read property "count" on array in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1059
[11-Sep-2024 02:19:34 UTC] PHP Warning:  Attempt to read property "term_id" on array in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1056
[11-Sep-2024 02:19:34 UTC] PHP Warning:  Attempt to read property "term_id" on array in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1058
[11-Sep-2024 02:19:34 UTC] PHP Warning:  Attempt to read property "name" on array in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1059
[11-Sep-2024 02:19:34 UTC] PHP Deprecated:  ucwords(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1059
[11-Sep-2024 02:19:34 UTC] PHP Warning:  Attempt to read property "count" on array in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1059
[11-Sep-2024 02:19:35 UTC] PHP Warning:  Attempt to read property "term_id" on array in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1361
[11-Sep-2024 02:19:35 UTC] PHP Warning:  Attempt to read property "term_id" on array in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1362
[11-Sep-2024 02:19:35 UTC] PHP Warning:  Attempt to read property "name" on array in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1363
[11-Sep-2024 02:19:35 UTC] PHP Deprecated:  ucwords(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1363
[11-Sep-2024 02:19:35 UTC] PHP Warning:  Attempt to read property "count" on array in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1363
[11-Sep-2024 02:19:35 UTC] PHP Warning:  Attempt to read property "term_id" on array in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1361
[11-Sep-2024 02:19:35 UTC] PHP Warning:  Attempt to read property "term_id" on array in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1362
[11-Sep-2024 02:19:35 UTC] PHP Warning:  Attempt to read property "name" on array in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1363
[11-Sep-2024 02:19:35 UTC] PHP Deprecated:  ucwords(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1363
[11-Sep-2024 02:19:35 UTC] PHP Warning:  Attempt to read property "count" on array in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1363
[11-Sep-2024 02:19:35 UTC] PHP Warning:  Attempt to read property "term_id" on array in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1520
[11-Sep-2024 02:19:35 UTC] PHP Warning:  Attempt to read property "term_id" on array in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1522
[11-Sep-2024 02:19:35 UTC] PHP Warning:  Attempt to read property "name" on array in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1523
[11-Sep-2024 02:19:35 UTC] PHP Deprecated:  ucwords(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1523
[11-Sep-2024 02:19:35 UTC] PHP Warning:  Attempt to read property "count" on array in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1523
[11-Sep-2024 02:19:35 UTC] PHP Warning:  Attempt to read property "term_id" on array in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1520
[11-Sep-2024 02:19:35 UTC] PHP Warning:  Attempt to read property "term_id" on array in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1522
[11-Sep-2024 02:19:35 UTC] PHP Warning:  Attempt to read property "name" on array in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1523
[11-Sep-2024 02:19:35 UTC] PHP Deprecated:  ucwords(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1523
[11-Sep-2024 02:19:35 UTC] PHP Warning:  Attempt to read property "count" on array in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1523
[11-Sep-2024 02:19:40 UTC] PHP Warning:  Undefined variable $selected in /wp-content/plugins/oneclick-whatsapp-order/includes/wa-gdpr.php on line 88
[11-Sep-2024 02:19:40 UTC] PHP Warning:  Undefined variable $selected in /wp-content/plugins/oneclick-whatsapp-order/includes/wa-gdpr.php on line 88
[11-Sep-2024 02:19:40 UTC] PHP Warning:  Undefined variable $selected in /wp-content/plugins/oneclick-whatsapp-order/includes/wa-gdpr.php on line 88
[11-Sep-2024 02:19:40 UTC] PHP Warning:  Undefined variable $selected in /wp-content/plugins/oneclick-whatsapp-order/includes/wa-gdpr.php on line 88
[11-Sep-2024 02:19:40 UTC] PHP Warning:  Undefined variable $selected in /wp-content/plugins/oneclick-whatsapp-order/includes/wa-gdpr.php on line 88
[11-Sep-2024 02:19:44 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/oneclick-whatsapp-order/includes/buttons/wa-order-floating-button.php:164
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): wa_order_hide_floating_button_conditionally()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/general-template.php(3065): do_action()
#4 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#5 /wp-includes/template.php(810): require_once('...')
#6 /wp-includes/template.php(745): load_template()
#7 /wp-includes/general-template.php(48): locate_template()
#8 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#9 /wp-includes/template-loader.php(106): include('...')
#10 /wp-blog-header.php(19): require_once('...')
#11 /index.php(17): require('...')
#12 {main}
  thrown in /wp-content/plugins/oneclick-whatsapp-order/includes/buttons/wa-order-floating-button.php on line 164
[11-Sep-2024 02:19:54 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/oneclick-whatsapp-order/includes/buttons/wa-order-floating-button.php:164
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): wa_order_hide_floating_button_conditionally()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/general-template.php(3065): do_action()
#4 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#5 /wp-includes/template.php(810): require_once('...')
#6 /wp-includes/template.php(745): load_template()
#7 /wp-includes/general-template.php(48): locate_template()
#8 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#9 /wp-includes/template-loader.php(106): include('...')
#10 /wp-blog-header.php(19): require_once('...')
#11 /index.php(17): require('...')
#12 {main}
  thrown in /wp-content/plugins/oneclick-whatsapp-order/includes/buttons/wa-order-floating-button.php on line 164
See also: All tests for this plugin