Klaviyo 3.3.2

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: 36.01 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=e354378ff2
Aspect after-activation
HTTP status 200
Load time 0.313 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.187 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.168 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.166 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.317 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.386 s0.321 s-0.065 s3.38 MiB3.43 MiB+ 46.41 KiB
/wp-admin/edit.php0.331 s0.384 s+0.053 s3.41 MiB3.45 MiB+ 46.1 KiB
/wp-admin/post-new.php0.853 s0.648 s-0.205 s5.46 MiB5.52 MiB+ 62.04 KiB
/wp-admin/upload.php0.774 s0.414 s-0.360 s3.32 MiB3.35 MiB+ 28.7 KiB
/wp-admin/options-writing.php0.229 s0.194 s-0.035 s3.32 MiB3.34 MiB+ 21.28 KiB
/wp-admin/media-new.php0.315 s0.244 s-0.071 s3.29 MiB3.33 MiB+ 40.88 KiB
/wp-admin/edit-tags.php?taxonomy=category0.217 s0.191 s-0.026 s3.31 MiB3.36 MiB+ 46.05 KiB
/wp-admin/post-new.php?post_type=page0.807 s0.717 s-0.090 s5.45 MiB5.51 MiB+ 61.62 KiB
/wp-admin/options-discussion.php0.299 s0.310 s+0.011 s3.3 MiB3.33 MiB+ 29.19 KiB
/wp-admin/edit-comments.php0.248 s0.227 s-0.021 s3.34 MiB3.36 MiB+ 28.73 KiB
/0.274 s0.203 s-0.071 s3.36 MiB3.34 MiB- 14.88 KiB
Average 0.430 s0.350 s-0.080 s3.72 MiB3.76 MiB+ 36.01 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,9721,31324
JavaScript9.3%219706
CSS3.6%8631
SVG2.4%5601
JSON1.4%3401
Total 2,367 1,386 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

[13-Nov-2023 18:54:43 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
[13-Nov-2023 18:54:43 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
[13-Nov-2023 18:54:43 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
[13-Nov-2023 18:54:43 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
[13-Nov-2023 18:54:43 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
[13-Nov-2023 18:54:43 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