Klaviyo 3.3.4

Does Klaviyo work with WordPress 6.4.3 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: 35.64 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.3
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=7658cfe62d
Aspect after-activation
HTTP status 200
Load time 0.341 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.206 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.188 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.186 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.543 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.437 s0.353 s-0.084 s3.38 MiB3.43 MiB+ 46.08 KiB
/wp-admin/edit.php0.242 s0.223 s-0.019 s3.41 MiB3.45 MiB+ 45.77 KiB
/wp-admin/post-new.php0.971 s0.776 s-0.195 s5.46 MiB5.52 MiB+ 61.7 KiB
/wp-admin/upload.php0.611 s0.524 s-0.087 s3.32 MiB3.35 MiB+ 28.36 KiB
/wp-admin/options-writing.php0.263 s0.220 s-0.043 s3.32 MiB3.34 MiB+ 20.95 KiB
/wp-admin/media-new.php0.371 s0.298 s-0.073 s3.3 MiB3.34 MiB+ 40.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.265 s0.219 s-0.046 s3.31 MiB3.36 MiB+ 45.72 KiB
/wp-admin/post-new.php?post_type=page0.641 s0.616 s-0.025 s5.45 MiB5.51 MiB+ 61.28 KiB
/wp-admin/options-discussion.php0.536 s0.328 s-0.208 s3.3 MiB3.33 MiB+ 28.85 KiB
/wp-admin/edit-comments.php0.325 s0.247 s-0.078 s3.34 MiB3.36 MiB+ 28.39 KiB
/0.341 s0.229 s-0.112 s3.36 MiB3.34 MiB- 15.57 KiB
Average 0.455 s0.367 s-0.088 s3.72 MiB3.76 MiB+ 35.64 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.3%1,9761,32424
JavaScript9.2%219706
CSS3.6%8631
SVG2.4%5601
JSON1.4%3401
Total 2,371 1,397 33

PHP Code Analysis | More results »

Lines of code 1,914
Total complexity 322
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

[06-Feb-2024 14:45:06 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
[06-Feb-2024 14:45:06 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
[06-Feb-2024 14:45:06 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
[06-Feb-2024 14:45:06 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
[06-Feb-2024 14:45:06 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
[06-Feb-2024 14:45:06 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