Klaviyo 3.1.0

Does Klaviyo work with WordPress 6.2.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: 56.37 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.097 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.2.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=c5f7418379
Aspect after-activation
HTTP status 200
Load time 0.411 s
Memory usage 3.07 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.271 s
Memory usage 3.05 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.239 s
Memory usage 3.03 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.373 s
Memory usage 3.03 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 1.631 s
Memory usage 5.06 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.275 s0.414 s+0.139 s3.07 MiB3.14 MiB+ 66 KiB
/wp-admin/edit.php0.184 s0.281 s+0.097 s3.1 MiB3.16 MiB+ 66.63 KiB
/wp-admin/post-new.php0.755 s0.787 s+0.032 s5.02 MiB5.1 MiB+ 81.62 KiB
/wp-admin/upload.php0.605 s0.736 s+0.131 s3.02 MiB3.06 MiB+ 42.81 KiB
/wp-admin/options-writing.php0.178 s0.268 s+0.090 s3.01 MiB3.04 MiB+ 29.58 KiB
/wp-admin/media-new.php0.337 s0.396 s+0.059 s2.99 MiB3.05 MiB+ 55.01 KiB
/wp-admin/edit-tags.php?taxonomy=category0.203 s0.293 s+0.090 s3.01 MiB3.06 MiB+ 60.18 KiB
/wp-admin/post-new.php?post_type=page0.644 s0.935 s+0.291 s5.01 MiB5.09 MiB+ 77.2 KiB
/wp-admin/options-discussion.php0.259 s0.367 s+0.108 s3 MiB3.04 MiB+ 43.31 KiB
/wp-admin/edit-comments.php0.261 s0.351 s+0.090 s3.03 MiB3.07 MiB+ 42.85 KiB
/0.401 s0.345 s-0.056 s3.03 MiB3.08 MiB+ 54.83 KiB
Average 0.373 s0.470 s+0.097 s3.39 MiB3.44 MiB+ 56.37 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.9%1,82671418
JavaScript7.4%157533
CSS4.0%8631
SVG2.6%5601
Total 2,125 770 23

PHP Code Analysis | More results »

Lines of code 1,796
Total complexity 291
Median class complexity 10.5
Median method complexity 2.0
Most complex class WPKlaviyoAdmin
Most complex function wck_build_cart_data()
Classes 12
Methods 76
Functions 36

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

Capabilities 17

PHP Error Log 6 lines

[21-Jun-2023 17:15:24 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 54
[21-Jun-2023 17:15:24 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 54
[21-Jun-2023 17:15:24 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 54
[21-Jun-2023 17:15:24 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 54
[21-Jun-2023 17:15:24 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 54
[21-Jun-2023 17:15:24 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 54
See also: All tests for this plugin, How to Hide Klaviyo Admin Menus