Klaviyo 3.2.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: 61.97 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=4a4039c446
Aspect after-activation
HTTP status 200
Load time 0.531 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.179 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.153 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.232 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 0.987 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.291 s0.261 s-0.030 s3.07 MiB3.14 MiB+ 66 KiB
/wp-admin/edit.php0.185 s0.224 s+0.039 s3.1 MiB3.16 MiB+ 66.63 KiB
/wp-admin/post-new.php0.777 s0.846 s+0.069 s5.02 MiB5.1 MiB+ 81.62 KiB
/wp-admin/upload.php0.571 s0.268 s-0.303 s3.02 MiB3.06 MiB+ 42.82 KiB
/wp-admin/options-writing.php0.172 s0.147 s-0.025 s3.01 MiB3.04 MiB+ 29.58 KiB
/wp-admin/media-new.php0.345 s0.345 s+0.000 s2.99 MiB3.05 MiB+ 55.01 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.223 s+0.040 s3.01 MiB3.06 MiB+ 60.18 KiB
/wp-admin/post-new.php?post_type=page0.598 s0.642 s+0.044 s5.01 MiB5.09 MiB+ 77.2 KiB
/wp-admin/options-discussion.php0.217 s0.227 s+0.010 s3 MiB3.04 MiB+ 43.31 KiB
/wp-admin/edit-comments.php0.225 s0.223 s-0.002 s3.03 MiB3.07 MiB+ 42.85 KiB
/0.307 s0.212 s-0.095 s2.97 MiB3.08 MiB+ 116.52 KiB
Average 0.352 s0.329 s-0.023 s3.38 MiB3.44 MiB+ 61.97 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
PHP86.1%2,07583524
JavaScript6.6%160536
CSS3.6%8631
SVG2.3%5601
JSON1.4%3401
Total 2,411 891 33

PHP Code Analysis | More results »

Lines of code 2,013
Total complexity 325
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 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

[05-Jul-2023 13:20:44 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
[05-Jul-2023 13:20:44 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
[05-Jul-2023 13:20:44 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
[05-Jul-2023 13:20:44 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
[05-Jul-2023 13:20:44 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
[05-Jul-2023 13:20:44 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