Klaviyo 3.5.0

Does Klaviyo work with WordPress 6.8.1 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: 52.45 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.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 70,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=192f039b73
Aspect after-activation
HTTP status 200
Load time 0.297 s
Memory usage 3.57 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.181 s
Memory usage 3.53 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.155 s
Memory usage 3.53 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.184 s
Memory usage 3.47 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.590 s
Memory usage 5.88 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.306 s0.294 s-0.012 s3.51 MiB3.55 MiB+ 48.25 KiB
/wp-admin/edit.php0.204 s0.185 s-0.019 s3.57 MiB3.62 MiB+ 45.89 KiB
/wp-admin/post-new.php0.823 s0.640 s-0.183 s6.06 MiB6.18 MiB+ 119.8 KiB
/wp-admin/upload.php0.796 s0.370 s-0.426 s3.52 MiB3.55 MiB+ 28.48 KiB
/wp-admin/options-writing.php0.208 s0.200 s-0.008 s3.5 MiB3.53 MiB+ 32.48 KiB
/wp-admin/media-new.php0.265 s0.250 s-0.015 s3.49 MiB3.53 MiB+ 40.67 KiB
/wp-admin/edit-tags.php?taxonomy=category0.174 s0.285 s+0.111 s3.5 MiB3.55 MiB+ 51.34 KiB
/wp-admin/post-new.php?post_type=page0.623 s0.630 s+0.007 s6.05 MiB6.16 MiB+ 115.33 KiB
/wp-admin/options-discussion.php0.274 s0.290 s+0.016 s3.5 MiB3.53 MiB+ 28.98 KiB
/wp-admin/edit-comments.php0.197 s0.213 s+0.016 s3.52 MiB3.55 MiB+ 28.48 KiB
/0.306 s0.199 s-0.107 s3.43 MiB3.47 MiB+ 37.24 KiB
Average 0.380 s0.323 s-0.056 s3.97 MiB4.02 MiB+ 52.45 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
JavaScript
Language % Lines of code Comment lines Files
PHP83.0%2,0481,33624
JavaScript9.1%225776
CSS6.1%150191
JSON1.4%3401
SVG0.4%1104
Total 2,468 1,432 36

PHP Code Analysis | More results »

Lines of code 1,962
Total complexity 332
Median class complexity 11.0
Median method complexity 1.0
Most complex class WPKlaviyoAdmin
Most complex function wck_build_cart_data()
Classes 14
Methods 94
Functions 39

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

PHP Error Log 6 lines

[30-Apr-2025 22:37:42 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 79
[30-Apr-2025 22:37:42 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 79
[30-Apr-2025 22:37:42 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 79
[30-Apr-2025 22:37:42 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 79
[30-Apr-2025 22:37:42 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 79
[30-Apr-2025 22:37:42 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 79
See also: All tests for this plugin, How to Hide Klaviyo Admin Menus