Klaviyo 3.0.13

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: 60.12 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.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=f0ab361406
Aspect after-activation
HTTP status 200
Load time 0.440 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.162 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.147 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.227 s
Memory usage 3.02 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 0.968 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.283 s0.248 s-0.035 s3.07 MiB3.13 MiB+ 64.15 KiB
/wp-admin/edit.php0.191 s0.194 s+0.003 s3.1 MiB3.16 MiB+ 64.77 KiB
/wp-admin/post-new.php0.744 s0.861 s+0.117 s5.02 MiB5.1 MiB+ 79.77 KiB
/wp-admin/upload.php0.548 s0.305 s-0.243 s3.02 MiB3.06 MiB+ 40.97 KiB
/wp-admin/options-writing.php0.171 s0.140 s-0.031 s3.01 MiB3.04 MiB+ 27.73 KiB
/wp-admin/media-new.php0.303 s0.364 s+0.061 s2.99 MiB3.04 MiB+ 53.16 KiB
/wp-admin/edit-tags.php?taxonomy=category0.208 s0.167 s-0.041 s3.01 MiB3.06 MiB+ 58.33 KiB
/wp-admin/post-new.php?post_type=page0.579 s0.571 s-0.008 s5.01 MiB5.09 MiB+ 75.35 KiB
/wp-admin/options-discussion.php0.201 s0.221 s+0.020 s3 MiB3.04 MiB+ 41.46 KiB
/wp-admin/edit-comments.php0.208 s0.216 s+0.008 s3.03 MiB3.07 MiB+ 41 KiB
/0.298 s0.205 s-0.093 s2.97 MiB3.08 MiB+ 114.66 KiB
Average 0.339 s0.317 s-0.022 s3.38 MiB3.44 MiB+ 60.12 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.8%1,80670018
JavaScript7.5%157533
CSS4.1%8631
SVG2.7%5601
Total 2,105 756 23

PHP Code Analysis | More results »

Lines of code 1,776
Total complexity 287
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 35

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

[20-May-2023 16:13:39 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
[20-May-2023 16:13:39 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
[20-May-2023 16:13:39 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
[20-May-2023 16:13:39 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
[20-May-2023 16:13:39 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
[20-May-2023 16:13:39 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