Clerk 4.1.8

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

Summary

Errors
2PHP fatal errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 144.85 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.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=0ad2a2e616
Aspect after-activation
HTTP status 200
Load time 0.337 s
Memory usage 3.63 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.212 s
Memory usage 3.59 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.207 s
Memory usage 3.46 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 2.581 s
Memory usage 5.78 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.315 s0.332 s+0.017 s3.47 MiB3.61 MiB+ 139.82 KiB
/wp-admin/edit.php0.194 s0.215 s+0.021 s3.54 MiB3.67 MiB+ 140.8 KiB
/wp-admin/upload.php0.544 s0.304 s-0.240 s3.49 MiB3.61 MiB+ 122.88 KiB
/wp-admin/options-writing.php0.178 s0.186 s+0.008 s3.41 MiB3.59 MiB+ 185.37 KiB
/wp-admin/media-new.php0.215 s0.249 s+0.034 s3.4 MiB3.59 MiB+ 198.75 KiB
/wp-admin/edit-tags.php?taxonomy=category0.169 s0.184 s+0.015 s3.47 MiB3.61 MiB+ 145.73 KiB
/wp-admin/options-discussion.php0.192 s0.239 s+0.047 s3.41 MiB3.59 MiB+ 187.68 KiB
/wp-admin/edit-comments.php0.199 s0.210 s+0.011 s3.49 MiB3.61 MiB+ 122.55 KiB
/0.268 s0.164 s-0.104 s3.4 MiB3.46 MiB+ 60.08 KiB
Average 0.253 s0.231 s-0.021 s3.45 MiB3.59 MiB+ 144.85 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
PHP82.7%6,2071,46622
PO File8.6%6433925
JavaScript4.9%367593
CSS2.8%20702
XML1.1%7901
Markdown0.0%201
Total 7,505 1,917 34

PHP Code Analysis | More results »

Lines of code 5,870
Total complexity 1,043
Median class complexity 32.0
Median method complexity 4.0
Most complex class Clerk_Rest_Api
Most complex function Clerk_Rest_Api::product_endpoint_callback()
Classes 15
Methods 141
Functions 20

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 2

Sidebar Widgets 2

ID Name
clerk_searchClerk Search
clerk_contentClerk Content

PHP Error Log 20 lines

[28-Jul-2024 00:57:02 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_product() in /wp-content/plugins/clerkio/includes/class-clerk-realtime-updates.php:119
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): Clerk_Realtime_Updates->pre_save_post()
#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/post.php(4891): do_action()
#4 /wp-admin/includes/post.php(766): 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-realtime-updates.php on line 119
[28-Jul-2024 00:57:03 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_product() in /wp-content/plugins/clerkio/includes/class-clerk-realtime-updates.php:119
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): Clerk_Realtime_Updates->pre_save_post()
#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/post.php(4891): do_action()
#4 /wp-admin/includes/post.php(766): 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-realtime-updates.php on line 119
See also: All tests for this plugin, How to Hide the "Clerk" Admin Menu