Klaviyo 3.0.11

Does Klaviyo work with WordPress 6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

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

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=klaviyo%2Fklaviyo.php&plugin_status=all&paged=1&s&_wpnonce=796f2dbcf6
Aspect after-activation
HTTP status 200
Load time 0.430 s
Memory usage 3.07 MiB
JS errors None
Resource errors None

Klaviyo

Page screenshot: Klaviyo
URL /wp-admin/admin.php?page=klaviyo_settings
Aspect menu-item
HTTP status 200
Load time 0.177 s
Memory usage 3.05 MiB
JS errors None
Resource errors None

Klaviyo → Help

Page screenshot: Klaviyo → Help
URL /wp-admin/admin.php?page=klaviyo_help
Aspect menu-item
HTTP status 200
Load time 0.173 s
Memory usage 3.03 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.201 s
Memory usage 3.02 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.191 s
Memory usage 5.06 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.293 s0.274 s-0.019 s3.07 MiB3.13 MiB+ 64.15 KiB
/wp-admin/edit.php0.196 s0.193 s-0.003 s3.1 MiB3.16 MiB+ 64.77 KiB
/wp-admin/post-new.php0.866 s0.603 s-0.263 s5.02 MiB5.1 MiB+ 79.77 KiB
/wp-admin/upload.php0.808 s0.439 s-0.369 s3.02 MiB3.06 MiB+ 40.97 KiB
/wp-admin/options-writing.php0.160 s0.171 s+0.011 s3.01 MiB3.04 MiB+ 27.73 KiB
/wp-admin/media-new.php0.267 s0.244 s-0.023 s2.99 MiB3.04 MiB+ 53.16 KiB
/wp-admin/edit-tags.php?taxonomy=category0.186 s0.189 s+0.003 s3.01 MiB3.06 MiB+ 58.33 KiB
/wp-admin/post-new.php?post_type=page0.645 s0.621 s-0.024 s5.01 MiB5.09 MiB+ 75.35 KiB
/wp-admin/options-discussion.php0.226 s0.240 s+0.014 s3 MiB3.04 MiB+ 41.46 KiB
/wp-admin/edit-comments.php0.248 s0.211 s-0.037 s3.03 MiB3.07 MiB+ 41 KiB
/0.334 s0.225 s-0.109 s2.97 MiB3.08 MiB+ 114.66 KiB
Average 0.384 s0.310 s-0.074 s3.38 MiB3.44 MiB+ 60.12 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
Language % Lines of code Comment lines Files
PHP85.8%1,80062318
JavaScript7.5%157533
CSS4.1%8631
SVG2.7%5601
Total 2,099 679 23

PHP Code Analysis | More results »

Lines of code 1,770
Total complexity 287
Median class complexity 10.5
Median method complexity 2.0
Most complex class WPKlaviyoAdmin
Most complex function wck_build_cart_data()
Classes 12
Methods 76
Functions 35

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 3

Sidebar Widgets 2

ID Name
klaviyo_emailsignup_widgetKlaviyo: Legacy Email Sign Up
klaviyo_embedemailsignup_widgetKlaviyo: Email Sign Up

Capabilities 17

PHP Error Log 6 lines

[30-Mar-2023 13:46:23 UTC] PHP Deprecated:  htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/klaviyo/includes/class-wck-options.php on line 54
[30-Mar-2023 13:46:23 UTC] PHP Deprecated:  htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/klaviyo/includes/class-wck-options.php on line 54
[30-Mar-2023 13:46:23 UTC] PHP Deprecated:  htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/klaviyo/includes/class-wck-options.php on line 54
[30-Mar-2023 13:46:23 UTC] PHP Deprecated:  htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/klaviyo/includes/class-wck-options.php on line 54
[30-Mar-2023 13:46:23 UTC] PHP Deprecated:  htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/klaviyo/includes/class-wck-options.php on line 54
[30-Mar-2023 13:46:23 UTC] PHP Deprecated:  htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/klaviyo/includes/class-wck-options.php on line 54
See also: All tests for this plugin, How to Hide Klaviyo Admin Menus