Clerk 4.0.4

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

Summary

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

Memory usage: 119.21 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.033 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.1.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/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=1f04427655
Aspect after-activation
HTTP status 200
Load time 0.429 s
Memory usage 3.11 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.309 s
Memory usage N/A
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'addEventListener')\n    at HTMLDocument.<anonymous> (/wp-admin/admin.php?page=clerk:149:62)",
        "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.975 s
Memory usage 3 MiB
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.300 s
Memory usage 5.08 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.305 s0.285 s-0.020 s3.05 MiB3.17 MiB+ 125.92 KiB
/wp-admin/edit.php0.205 s0.211 s+0.006 s3.07 MiB3.2 MiB+ 126.6 KiB
/wp-admin/post-new.php0.814 s1.077 s+0.263 s4.97 MiB5.11 MiB+ 147.76 KiB
/wp-admin/upload.php0.588 s0.364 s-0.224 s2.99 MiB3.1 MiB+ 109.02 KiB
/wp-admin/options-writing.php0.187 s0.161 s-0.026 s2.99 MiB3.08 MiB+ 98 KiB
/wp-admin/media-new.php0.356 s0.263 s-0.093 s2.97 MiB3.09 MiB+ 120.79 KiB
/wp-admin/edit-tags.php?taxonomy=category0.205 s0.223 s+0.018 s2.98 MiB3.12 MiB+ 146.64 KiB
/wp-admin/post-new.php?post_type=page0.665 s0.783 s+0.118 s4.96 MiB5.1 MiB+ 142.41 KiB
/wp-admin/options-discussion.php0.212 s0.332 s+0.120 s2.97 MiB3.08 MiB+ 111.84 KiB
/wp-admin/edit-comments.php0.231 s0.236 s+0.005 s3 MiB3.13 MiB+ 128.44 KiB
/0.299 s0.499 s+0.200 s2.94 MiB3 MiB+ 53.88 KiB
Average 0.370 s0.403 s+0.033 s3.35 MiB3.47 MiB+ 119.21 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.2%5,4301,23021
PO File10.2%6433925
JavaScript2.8%178503
JSON0.4%2401
CSS0.2%1201
XML0.2%1201
Markdown0.0%201
Total 6,301 1,672 33

PHP Code Analysis | More results »

Lines of code 5,171
Total complexity 828
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 117
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 51 lines

[06-Mar-2023 12:54:03 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/clerkio/includes/class-clerk-admin-settings.php on line 2508
[06-Mar-2023 12:54:03 UTC] PHP Fatal error:  Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, bool given in /wp-content/plugins/clerkio/includes/class-clerk-admin-settings.php:2362
Stack trace:
#0 /wp-admin/includes/template.php(1785): Clerk_Admin_Settings->add_page_dropdown()
#1 /wp-admin/includes/template.php(1739): do_settings_fields()
#2 /wp-content/plugins/clerkio/includes/class-clerk-admin-settings.php(2553): do_settings_sections()
#3 /wp-includes/class-wp-hook.php(308): Clerk_Admin_Settings->clerk_options_page_html()
#4 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#5 /wp-includes/plugin.php(517): WP_Hook->do_action()
#6 /wp-admin/admin.php(259): do_action()
#7 {main}
  thrown in /wp-content/plugins/clerkio/includes/class-clerk-admin-settings.php on line 2362
[06-Mar-2023 12:54:05 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
[06-Mar-2023 12:54:05 UTC] PHP Warning:  Undefined array key "public_key" in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 179
[06-Mar-2023 12:54:05 UTC] PHP Warning:  Undefined variable $lang in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 181
[06-Mar-2023 12:54:14 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
[06-Mar-2023 12:54:14 UTC] PHP Warning:  Undefined array key "public_key" in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 179
[06-Mar-2023 12:54:14 UTC] PHP Warning:  Undefined variable $lang in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 181
[06-Mar-2023 12:54:18 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
[06-Mar-2023 12:54:18 UTC] PHP Warning:  Undefined array key "public_key" in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 179
[06-Mar-2023 12:54:18 UTC] PHP Warning:  Undefined variable $lang in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 181
[06-Mar-2023 12:54:18 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
[06-Mar-2023 12:54:18 UTC] PHP Warning:  Undefined array key "public_key" in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 179
[06-Mar-2023 12:54:18 UTC] PHP Warning:  Undefined variable $lang in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 181
[06-Mar-2023 12:54:18 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
[06-Mar-2023 12:54:18 UTC] PHP Warning:  Undefined array key "public_key" in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 179
[06-Mar-2023 12:54:18 UTC] PHP Warning:  Undefined variable $lang in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 181
[06-Mar-2023 12:54:18 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
[06-Mar-2023 12:54:18 UTC] PHP Warning:  Undefined array key "public_key" in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 179
[06-Mar-2023 12:54:18 UTC] PHP Warning:  Undefined variable $lang in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 181
[06-Mar-2023 12:54:18 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
[06-Mar-2023 12:54:18 UTC] PHP Warning:  Undefined array key "public_key" in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 179
[06-Mar-2023 12:54:18 UTC] PHP Warning:  Undefined variable $lang in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 181
[06-Mar-2023 12:54:18 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
[06-Mar-2023 12:54:18 UTC] PHP Warning:  Undefined array key "public_key" in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 179
[06-Mar-2023 12:54:18 UTC] PHP Warning:  Undefined variable $lang in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 181
[06-Mar-2023 12:54:18 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
[06-Mar-2023 12:54:18 UTC] PHP Warning:  Undefined array key "public_key" in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 179
[06-Mar-2023 12:54:18 UTC] PHP Warning:  Undefined variable $lang in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 181
[06-Mar-2023 12:54:18 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
[06-Mar-2023 12:54:18 UTC] PHP Warning:  Undefined array key "public_key" in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 179
[06-Mar-2023 12:54:18 UTC] PHP Warning:  Undefined variable $lang in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 181
[06-Mar-2023 12:54:18 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
[06-Mar-2023 12:54:18 UTC] PHP Warning:  Undefined array key "public_key" in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 179
[06-Mar-2023 12:54:18 UTC] PHP Warning:  Undefined variable $lang in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 181
[06-Mar-2023 12:54:18 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
[06-Mar-2023 12:54:18 UTC] PHP Warning:  Undefined array key "public_key" in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 179
[06-Mar-2023 12:54:18 UTC] PHP Warning:  Undefined variable $lang in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 181
[06-Mar-2023 12:54:18 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
[06-Mar-2023 12:54:18 UTC] PHP Warning:  Undefined array key "public_key" in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 179
[06-Mar-2023 12:54:18 UTC] PHP Warning:  Undefined variable $lang in /wp-content/plugins/clerkio/includes/class-clerk-visitor-tracking.php on line 181
See also: All tests for this plugin