OneClick Chat to Order 1.0.4.1

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

Summary

Errors
2PHP fatal errors
29PHP notices
3JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: 117.25 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.1.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=4ca86a50b9
Aspect after-activation
HTTP status 200
Load time 0.396 s
Memory usage 3.61 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.607 s
Memory usage 3.49 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.361 s
Memory usage 3.5 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.201 s
Memory usage 3.58 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.320 s
Memory usage 3.5 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.164 s
Memory usage 3.49 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.143 s
Memory usage 3.49 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.155 s
Memory usage 3.5 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.147 s
Memory usage 3.5 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.172 s
Memory usage 3.49 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.1.1:12:30)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2:30340)",
        "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.1.1:23:26)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2:30340)",
        "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.1.1:29:26)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2:30340)",
        "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.167 s
Memory usage 3.49 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.300 s
Memory usage 3.63 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.289 s
Memory usage 3.73 MiB
JS errors None
Resource errors None

WordPress › Error

Page screenshot: WordPress › Error
URL /
Aspect front-page
HTTP status 500
Load time 0.050 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.324 s0.341 s+0.017 s3.54 MiB3.66 MiB+ 119.28 KiB
/wp-admin/edit.php0.187 s0.181 s-0.006 s3.57 MiB3.69 MiB+ 119.59 KiB
/wp-admin/post-new.php0.928 s1.121 s+0.193 s5.46 MiB5.58 MiB+ 119.25 KiB
/wp-admin/upload.php0.484 s0.259 s-0.225 s3.41 MiB3.52 MiB+ 118.48 KiB
/wp-admin/options-writing.php0.142 s0.148 s+0.006 s3.4 MiB3.5 MiB+ 100.95 KiB
/wp-admin/media-new.php0.208 s0.198 s-0.010 s3.39 MiB3.5 MiB+ 118.66 KiB
/wp-admin/edit-tags.php?taxonomy=category0.275 s0.179 s-0.096 s3.48 MiB3.59 MiB+ 119.56 KiB
/wp-admin/post-new.php?post_type=page0.830 s0.955 s+0.125 s5.46 MiB5.57 MiB+ 119.22 KiB
/wp-admin/options-discussion.php0.197 s0.325 s+0.128 s3.38 MiB3.5 MiB+ 118.97 KiB
/wp-admin/edit-comments.php0.176 s0.214 s+0.038 s3.48 MiB3.6 MiB+ 118.51 KiB
Average 0.375 s0.392 s+0.017 s3.86 MiB3.97 MiB+ 117.25 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
PHP63.5%4,92645317
PO File30.4%2,3608533
CSS5.7%44042
JavaScript0.4%3122
SVG0.0%101
Total 7,758 1,312 25

PHP Code Analysis | More results »

Lines of code 4,985
Total complexity 622
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 70

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.

User Metadata wp_usermeta 1

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

[16-Nov-2022 14:09:18 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1034
[16-Nov-2022 14:09:18 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1035
[16-Nov-2022 14:09:18 UTC] PHP Notice:  Trying to get property 'name' of non-object in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1036
[16-Nov-2022 14:09:18 UTC] PHP Notice:  Trying to get property 'count' of non-object in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1036
[16-Nov-2022 14:09:18 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1034
[16-Nov-2022 14:09:18 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1035
[16-Nov-2022 14:09:18 UTC] PHP Notice:  Trying to get property 'name' of non-object in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1036
[16-Nov-2022 14:09:18 UTC] PHP Notice:  Trying to get property 'count' of non-object in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1036
[16-Nov-2022 14:09:19 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1340
[16-Nov-2022 14:09:19 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1341
[16-Nov-2022 14:09:19 UTC] PHP Notice:  Trying to get property 'name' of non-object in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1342
[16-Nov-2022 14:09:19 UTC] PHP Notice:  Trying to get property 'count' of non-object in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1342
[16-Nov-2022 14:09:19 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1340
[16-Nov-2022 14:09:19 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1341
[16-Nov-2022 14:09:19 UTC] PHP Notice:  Trying to get property 'name' of non-object in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1342
[16-Nov-2022 14:09:19 UTC] PHP Notice:  Trying to get property 'count' of non-object in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1342
[16-Nov-2022 14:09:19 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1501
[16-Nov-2022 14:09:19 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1502
[16-Nov-2022 14:09:19 UTC] PHP Notice:  Trying to get property 'name' of non-object in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1503
[16-Nov-2022 14:09:19 UTC] PHP Notice:  Trying to get property 'count' of non-object in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1503
[16-Nov-2022 14:09:19 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1501
[16-Nov-2022 14:09:19 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1502
[16-Nov-2022 14:09:19 UTC] PHP Notice:  Trying to get property 'name' of non-object in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1503
[16-Nov-2022 14:09:19 UTC] PHP Notice:  Trying to get property 'count' of non-object in /wp-content/plugins/oneclick-whatsapp-order/admin/wa-admin-page.php on line 1503
[16-Nov-2022 14:09:23 UTC] PHP Notice:  Undefined variable: selected in /wp-content/plugins/oneclick-whatsapp-order/includes/wa-gdpr.php on line 88
[16-Nov-2022 14:09:23 UTC] PHP Notice:  Undefined variable: selected in /wp-content/plugins/oneclick-whatsapp-order/includes/wa-gdpr.php on line 88
[16-Nov-2022 14:09:23 UTC] PHP Notice:  Undefined variable: selected in /wp-content/plugins/oneclick-whatsapp-order/includes/wa-gdpr.php on line 88
[16-Nov-2022 14:09:23 UTC] PHP Notice:  Undefined variable: selected in /wp-content/plugins/oneclick-whatsapp-order/includes/wa-gdpr.php on line 88
[16-Nov-2022 14:09:23 UTC] PHP Notice:  Undefined variable: selected in /wp-content/plugins/oneclick-whatsapp-order/includes/wa-gdpr.php on line 88
[16-Nov-2022 14:09:28 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/oneclick-whatsapp-order/includes/buttons/wa-order-single-product.php:539
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): wa_order_force_show_atc_button()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/general-template.php(3043): do_action()
#4 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#5 /wp-includes/template.php(783): require_once('/opt/bitnami/ap...')
#6 /wp-includes/template.php(718): load_template()
#7 /wp-includes/general-template.php(48): locate_template()
#8 /wp-content/themes/twen in /wp-content/plugins/oneclick-whatsapp-order/includes/buttons/wa-order-single-product.php on line 539
[16-Nov-2022 14:09:35 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/oneclick-whatsapp-order/includes/buttons/wa-order-single-product.php:539
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): wa_order_force_show_atc_button()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/general-template.php(3043): do_action()
#4 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#5 /wp-includes/template.php(783): require_once('/opt/bitnami/ap...')
#6 /wp-includes/template.php(718): load_template()
#7 /wp-includes/general-template.php(48): locate_template()
#8 /wp-content/themes/twen in /wp-content/plugins/oneclick-whatsapp-order/includes/buttons/wa-order-single-product.php on line 539
See also: All tests for this plugin