Klaviyo 3.3.1

Does Klaviyo work with WordPress 6.4.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: 40.75 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.4.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 50,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=b12576013e
Aspect after-activation
HTTP status 200
Load time 0.473 s
Memory usage 3.37 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.197 s
Memory usage 3.32 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.32 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.212 s
Memory usage 3.34 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.746 s
Memory usage 5.48 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.379 s0.357 s-0.022 s3.38 MiB3.42 MiB+ 46.41 KiB
/wp-admin/edit.php0.219 s0.222 s+0.003 s3.41 MiB3.45 MiB+ 46.1 KiB
/wp-admin/post-new.php0.909 s0.641 s-0.268 s5.46 MiB5.52 MiB+ 62.03 KiB
/wp-admin/upload.php0.576 s0.511 s-0.065 s3.32 MiB3.35 MiB+ 28.7 KiB
/wp-admin/options-writing.php0.254 s0.214 s-0.040 s3.32 MiB3.34 MiB+ 21.28 KiB
/wp-admin/media-new.php0.330 s0.269 s-0.061 s3.29 MiB3.33 MiB+ 40.88 KiB
/wp-admin/edit-tags.php?taxonomy=category0.224 s0.221 s-0.003 s3.31 MiB3.36 MiB+ 46.05 KiB
/wp-admin/post-new.php?post_type=page0.578 s0.673 s+0.095 s5.45 MiB5.51 MiB+ 61.62 KiB
/wp-admin/options-discussion.php0.341 s0.308 s-0.033 s3.3 MiB3.33 MiB+ 29.19 KiB
/wp-admin/edit-comments.php0.271 s0.219 s-0.052 s3.33 MiB3.36 MiB+ 28.73 KiB
/0.346 s0.231 s-0.115 s3.31 MiB3.34 MiB+ 37.24 KiB
Average 0.402 s0.351 s-0.051 s3.72 MiB3.76 MiB+ 40.75 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
PHP82.1%1,9721,31324
JavaScript10.5%253616
CSS3.6%8631
SVG2.3%5601
JSON1.4%3401
Total 2,401 1,377 33

PHP Code Analysis | More results »

Lines of code 1,910
Total complexity 320
Median class complexity 11.0
Median method complexity 1.0
Most complex class WPKlaviyoAdmin
Most complex function wck_build_cart_data()
Classes 14
Methods 90
Functions 38

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

[09-Nov-2023 12:07:56 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
[09-Nov-2023 12:07:56 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
[09-Nov-2023 12:07:56 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
[09-Nov-2023 12:07:56 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
[09-Nov-2023 12:07:56 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
[09-Nov-2023 12:07:56 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