Clerk 4.1.1

Does Clerk work with WordPress 6.2.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
15PHP fatal errors
14PHP deprecation warnings
11JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 116.89 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.2.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/clerkio/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=clerkio%2Fclass-clerk.php&plugin_status=all&paged=1&s&_wpnonce=44e55c2307
Aspect after-activation
HTTP status 200
Load time 0.434 s
Memory usage 3.14 MiB
JS errors None
Resource errors None

Clerk

Page screenshot: Clerk
URL /wp-admin/admin.php?page=clerk
Aspect menu-item
HTTP status 200
Load time 0.301 s
Memory usage 3.12 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.250 s
Memory usage N/A
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.529 s
Memory usage 5.13 MiB
JS errors
[
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.334 s0.274 s-0.060 s3.07 MiB3.2 MiB+ 127.08 KiB
/wp-admin/edit.php0.221 s0.222 s+0.001 s3.1 MiB3.22 MiB+ 127.76 KiB
/wp-admin/upload.php0.914 s0.377 s-0.537 s3.02 MiB3.12 MiB+ 110.4 KiB
/wp-admin/options-writing.php0.203 s0.165 s-0.038 s3.01 MiB3.11 MiB+ 99.38 KiB
/wp-admin/media-new.php0.318 s0.246 s-0.072 s2.99 MiB3.11 MiB+ 122.16 KiB
/wp-admin/edit-tags.php?taxonomy=category0.225 s0.216 s-0.009 s3.01 MiB3.13 MiB+ 127.39 KiB
/wp-admin/options-discussion.php0.253 s0.236 s-0.017 s3 MiB3.11 MiB+ 113.11 KiB
/wp-admin/edit-comments.php0.252 s0.222 s-0.030 s3.03 MiB3.13 MiB+ 107.83 KiB
/0.365 s0.178 s-0.187 s2.97 MiB
Average 0.343 s0.237 s-0.105 s3.02 MiB3.14 MiB+ 116.89 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
PHP86.8%5,7281,26421
PO File9.7%6433925
JavaScript2.7%178503
JSON0.4%2401
CSS0.2%1201
XML0.2%1201
Markdown0.0%201
Total 6,599 1,706 33

PHP Code Analysis | More results »

Lines of code 5,469
Total complexity 895
Median class complexity 30.0
Median method complexity 3.0
Most complex class Clerk_Rest_Api
Most complex function Clerk_Rest_Api::product_endpoint_callback()
Classes 15
Methods 122
Functions 8

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 14

Sidebar Widgets 2

ID Name
clerk_searchClerk Search
clerk_contentClerk Content

PHP Error Log 308 lines

[07-Aug-2023 11:59:51 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/clerkio/includes/class-clerk-admin-settings.php on line 2533
[07-Aug-2023 11:59:53 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 130
[07-Aug-2023 11:59:53 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function get_woocommerce_currency_symbol() in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php:180
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Clerk_Visitor_Tracking->add_tracking()
#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(3065): do_action()
#4 /wp-content/themes/twentyseventeen/footer.php(48): wp_footer()
#5 /wp-includes/template.php(783): require_once('...')
#6 /wp-includes/template.php(718): load_template()
#7 /wp-includes/general-template.php(92): locate_template()
#8 /wp-content/themes/twentyseventeen/index.php(75): get_footer()
#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/clerkio/includes/class-clerk-visitor-tracking.php on line 180
[07-Aug-2023 11:59:55 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_product() in /wp-content/plugins/clerkio/includes/class-clerk-product-sync.php:104
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Clerk_Product_Sync->pre_save_post()
#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/post.php(4715): do_action()
#4 /wp-admin/includes/post.php(720): wp_insert_post()
#5 /wp-admin/post-new.php(66): get_default_post_to_edit()
#6 {main}
  thrown in /wp-content/plugins/clerkio/includes/class-clerk-product-sync.php on line 104
[07-Aug-2023 11:59:56 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_product() in /wp-content/plugins/clerkio/includes/class-clerk-product-sync.php:104
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Clerk_Product_Sync->pre_save_post()
#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/post.php(4715): do_action()
#4 /wp-admin/includes/post.php(720): wp_insert_post()
#5 /wp-admin/post-new.php(66): get_default_post_to_edit()
#6 {main}
  thrown in /wp-content/plugins/clerkio/includes/class-clerk-product-sync.php on line 104
[07-Aug-2023 11:59:57 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 130
[07-Aug-2023 11:59:57 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function get_woocommerce_currency_symbol() in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php:180
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Clerk_Visitor_Tracking->add_tracking()
#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(3065): do_action()
#4 /wp-content/themes/twentyseventeen/footer.php(48): wp_footer()
#5 /wp-includes/template.php(783): require_once('...')
#6 /wp-includes/template.php(718): load_template()
#7 /wp-includes/general-template.php(92): locate_template()
#8 /wp-content/themes/twentyseventeen/index.php(75): get_footer()
#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/clerkio/includes/class-clerk-visitor-tracking.php on line 180
[07-Aug-2023 12:00:01 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 130
[07-Aug-2023 12:00:01 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function get_woocommerce_currency_symbol() in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php:180
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Clerk_Visitor_Tracking->add_tracking()
#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(3065): do_action()
#4 /wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php(652): wp_footer()
#5 /wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php(600): WP_REST_Widget_Types_Controller->render_legacy_widget_preview_iframe()
#6 /wp-includes/rest-api/class-wp-rest-server.php(1181): WP_REST_Widget_Types_Controller->render()
#7 /wp-includes/rest-api/class-wp-rest-server.php(1028): WP_REST_Server->respond_to_request()
#8 /wp-includes/rest-api/class-wp-rest-server.php(442): WP_REST_Server->dispatch()
#9 /wp-includes/rest-api.php(410): WP_REST_Server->serve_request()
#10 /wp-includes/class-wp-hook.php(308): rest_api_loaded()
#11 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#12 /wp-includes/plugin.php(565): WP_Hook->do_action()
#13 /wp-includes/class-wp.php(399): do_action_ref_array()
#14 /wp-includes/class-wp.php(780): WP->parse_request()
#15 /wp-includes/functions.php(1334): WP->main()
#16 /wp-blog-header.php(16): wp()
#17 /index.php(17): require('...')
#18 {main}
  thrown in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 180
[07-Aug-2023 12:00:01 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 130
[07-Aug-2023 12:00:01 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 130
[07-Aug-2023 12:00:01 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function get_woocommerce_currency_symbol() in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php:180
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Clerk_Visitor_Tracking->add_tracking()
#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(3065): do_action()
#4 /wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php(652): wp_footer()
#5 /wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php(600): WP_REST_Widget_Types_Controller->render_legacy_widget_preview_iframe()
#6 /wp-includes/rest-api/class-wp-rest-server.php(1181): WP_REST_Widget_Types_Controller->render()
#7 /wp-includes/rest-api/class-wp-rest-server.php(1028): WP_REST_Server->respond_to_request()
#8 /wp-includes/rest-api/class-wp-rest-server.php(442): WP_REST_Server->dispatch()
#9 /wp-includes/rest-api.php(410): WP_REST_Server->serve_request()
#10 /wp-includes/class-wp-hook.php(308): rest_api_loaded()
#11 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#12 /wp-includes/plugin.php(565): WP_Hook->do_action()
#13 /wp-includes/class-wp.php(399): do_action_ref_array()
#14 /wp-includes/class-wp.php(780): WP->parse_request()
#15 /wp-includes/functions.php(1334): WP->main()
#16 /wp-blog-header.php(16): wp()
#17 /index.php(17): require('...')

(+208 more lines)
See also: All tests for this plugin