Klaviyo 2.5.0

Does Klaviyo work with WordPress 5.8 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
3PHP notices
3JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 49.21 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 version5.8
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=599b0824f8
Aspect after-activation
HTTP status 200
Load time 0.872 s
Memory usage 3.09 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.191 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.181 s
Memory usage 3.04 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.285 s
Memory usage 2.95 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.933 s
Memory usage 4.51 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read property 'top' of undefined\n    at belowEntryMetaClass (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:124:33)\n    at HTMLDocument.<anonymous> (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:211:3)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30340)",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read property 'top' of undefined\n    at belowEntryMetaClass (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:124:33)\n    at HTMLDocument.<anonymous> (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:211:3)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30340)",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read property 'top' of undefined\n    at belowEntryMetaClass (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:124:33)\n    at HTMLDocument.<anonymous> (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:211:3)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30340)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.399 s0.391 s-0.008 s3.08 MiB3.13 MiB+ 47.86 KiB
/wp-admin/edit.php0.246 s0.232 s-0.014 s3.11 MiB3.22 MiB+ 111.89 KiB
/wp-admin/post-new.php1.404 s1.020 s-0.384 s5.27 MiB5.32 MiB+ 60.74 KiB
/wp-admin/upload.php0.594 s0.467 s-0.127 s3.03 MiB3.07 MiB+ 46.76 KiB
/wp-admin/options-writing.php0.171 s0.175 s+0.004 s3.02 MiB3.05 MiB+ 30.73 KiB
/wp-admin/media-new.php0.293 s0.246 s-0.047 s3.01 MiB3.05 MiB+ 46.93 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.256 s+0.059 s3.04 MiB3.08 MiB+ 47.84 KiB
/wp-admin/post-new.php?post_type=page1.120 s1.272 s+0.152 s5.26 MiB5.31 MiB+ 60.33 KiB
/wp-admin/options-discussion.php0.339 s0.274 s-0.065 s3 MiB3.05 MiB+ 47.24 KiB
/wp-admin/edit-comments.php0.421 s0.266 s-0.155 s3.04 MiB3.09 MiB+ 46.75 KiB
/0.314 s0.324 s+0.010 s2.96 MiB2.95 MiB- 5.73 KiB
Average 0.500 s0.448 s-0.052 s3.44 MiB3.49 MiB+ 49.21 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
PHP90.3%1,34437815
JavaScript9.7%145533
Total 1,489 431 18

PHP Code Analysis | More results »

Lines of code 1,348
Total complexity 219
Median class complexity 11.0
Median method complexity 2.0
Most complex class WPKlaviyoAdmin
Most complex function wck_build_cart_data()
Classes 10
Methods 54
Functions 28

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 2

Sidebar Widgets 1

ID Name
klaviyo_emailsignup_widgetKlaviyo: Legacy Email Sign Up

Capabilities 17

PHP Error Log 3 lines

[21-Jul-2021 09:44:33 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/klaviyo/includes/class-wpklaviyo.php on line 26
[21-Jul-2021 09:44:33 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/klaviyo/includes/class-wpklaviyo.php on line 52
[21-Jul-2021 09:44:34 UTC] PHP Notice:  Undefined index: klaviyo_subscribe_checkbox in /wp-content/plugins/klaviyo/inc/kla-admin.php on line 105
See also: All tests for this plugin, How to Hide Klaviyo Admin Menus