Klaviyo 3.4.0

Does Klaviyo work with WordPress 6.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: 59.63 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.6.2
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=cfea63f8d9
Aspect after-activation
HTTP status 200
Load time 0.340 s
Memory usage 3.54 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.193 s
Memory usage 3.5 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.153 s
Memory usage 3.5 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.196 s
Memory usage 3.44 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.774 s
Memory usage 5.67 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.349 s0.322 s-0.027 s3.47 MiB3.52 MiB+ 47.46 KiB
/wp-admin/edit.php0.212 s0.212 s+0.000 s3.54 MiB3.58 MiB+ 46.02 KiB
/wp-admin/post-new.php0.868 s0.606 s-0.262 s5.75 MiB5.82 MiB+ 66.01 KiB
/wp-admin/upload.php0.590 s0.355 s-0.235 s3.49 MiB3.52 MiB+ 28.61 KiB
/wp-admin/options-writing.php0.215 s0.390 s+0.175 s3.41 MiB3.5 MiB+ 91.41 KiB
/wp-admin/media-new.php0.266 s0.247 s-0.019 s3.4 MiB3.5 MiB+ 104.8 KiB
/wp-admin/edit-tags.php?taxonomy=category0.244 s0.232 s-0.012 s3.47 MiB3.52 MiB+ 51.47 KiB
/wp-admin/post-new.php?post_type=page0.623 s0.612 s-0.011 s5.75 MiB5.81 MiB+ 61.17 KiB
/wp-admin/options-discussion.php0.229 s0.266 s+0.037 s3.41 MiB3.5 MiB+ 93.1 KiB
/wp-admin/edit-comments.php0.251 s0.216 s-0.035 s3.49 MiB3.52 MiB+ 28.6 KiB
/0.314 s0.218 s-0.096 s3.4 MiB3.44 MiB+ 37.23 KiB
Average 0.378 s0.334 s-0.044 s3.87 MiB3.93 MiB+ 59.63 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
PHP81.4%2,0481,33524
JavaScript8.7%219706
CSS6.0%150191
SVG2.6%6604
JSON1.4%3401
Total 2,517 1,424 36

PHP Code Analysis | More results »

Lines of code 1,957
Total complexity 331
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 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

[17-Sep-2024 17:09:55 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
[17-Sep-2024 17:09:55 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
[17-Sep-2024 17:09:55 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
[17-Sep-2024 17:09:55 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
[17-Sep-2024 17:09:55 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
[17-Sep-2024 17:09:55 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