Klaviyo 3.3.0

Does Klaviyo work with WordPress 6.3.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.04 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.3.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=918e7760eb
Aspect after-activation
HTTP status 200
Load time 0.369 s
Memory usage 2.8 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.176 s
Memory usage 2.76 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.158 s
Memory usage 2.76 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.179 s
Memory usage 3.16 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.740 s
Memory usage 5.23 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.351 s0.302 s-0.049 s2.82 MiB2.87 MiB+ 42.43 KiB
/wp-admin/edit.php0.219 s0.197 s-0.022 s2.85 MiB2.89 MiB+ 42.12 KiB
/wp-admin/post-new.php0.794 s0.780 s-0.014 s5.21 MiB5.27 MiB+ 58.05 KiB
/wp-admin/upload.php0.657 s0.430 s-0.227 s2.77 MiB2.79 MiB+ 24.7 KiB
/wp-admin/options-writing.php0.219 s0.191 s-0.028 s2.76 MiB2.78 MiB+ 16.67 KiB
/wp-admin/media-new.php0.287 s0.247 s-0.040 s2.74 MiB2.78 MiB+ 36.9 KiB
/wp-admin/edit-tags.php?taxonomy=category0.206 s0.172 s-0.034 s2.76 MiB2.8 MiB+ 42.07 KiB
/wp-admin/post-new.php?post_type=page0.914 s0.618 s-0.296 s5.21 MiB5.26 MiB+ 53.63 KiB
/wp-admin/options-discussion.php0.216 s0.195 s-0.021 s2.75 MiB2.77 MiB+ 25.2 KiB
/wp-admin/edit-comments.php0.424 s0.188 s-0.236 s2.78 MiB2.8 MiB+ 24.74 KiB
/0.294 s0.166 s-0.128 s3.13 MiB3.16 MiB+ 29.91 KiB
Average 0.416 s0.317 s-0.100 s3.25 MiB3.29 MiB+ 36.04 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.2%1,9721,31324
JavaScript10.5%252616
CSS3.6%8631
SVG2.3%5601
JSON1.4%3401
Total 2,400 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

[27-Sep-2023 17:56:53 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
[27-Sep-2023 17:56:53 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
[27-Sep-2023 17:56:53 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
[27-Sep-2023 17:56:53 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
[27-Sep-2023 17:56:53 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
[27-Sep-2023 17:56:53 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