Klaviyo 3.2.2

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=d8a75a296a
Aspect after-activation
HTTP status 200
Load time 0.439 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.178 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.154 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.196 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.702 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.355 s0.334 s-0.021 s2.82 MiB2.87 MiB+ 42.43 KiB
/wp-admin/edit.php0.203 s0.189 s-0.014 s2.85 MiB2.89 MiB+ 42.12 KiB
/wp-admin/post-new.php0.826 s0.690 s-0.136 s5.21 MiB5.27 MiB+ 58.05 KiB
/wp-admin/upload.php0.851 s0.496 s-0.355 s2.77 MiB2.79 MiB+ 24.7 KiB
/wp-admin/options-writing.php0.251 s0.223 s-0.028 s2.76 MiB2.78 MiB+ 16.67 KiB
/wp-admin/media-new.php0.306 s0.282 s-0.024 s2.74 MiB2.78 MiB+ 36.9 KiB
/wp-admin/edit-tags.php?taxonomy=category0.214 s0.203 s-0.011 s2.76 MiB2.8 MiB+ 42.07 KiB
/wp-admin/post-new.php?post_type=page0.711 s0.631 s-0.080 s5.21 MiB5.26 MiB+ 53.63 KiB
/wp-admin/options-discussion.php0.290 s0.289 s-0.001 s2.75 MiB2.77 MiB+ 25.2 KiB
/wp-admin/edit-comments.php0.431 s0.447 s+0.016 s2.78 MiB2.8 MiB+ 24.74 KiB
/0.281 s0.291 s+0.010 s3.13 MiB3.16 MiB+ 29.91 KiB
Average 0.429 s0.370 s-0.059 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
Language % Lines of code Comment lines Files
PHP85.2%1,9321,31324
JavaScript7.1%160536
CSS3.8%8631
SVG2.5%5601
JSON1.5%3401
Total 2,268 1,369 33

PHP Code Analysis | More results »

Lines of code 1,870
Total complexity 316
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 37

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

[30-Aug-2023 12:17:52 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
[30-Aug-2023 12:17:52 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
[30-Aug-2023 12:17:52 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
[30-Aug-2023 12:17:52 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
[30-Aug-2023 12:17:52 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
[30-Aug-2023 12:17:52 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