ShareYourCart 1.11.7

Does ShareYourCart work with WordPress 6.8.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
54PHP deprecation warnings
3Unrecognized messages in the PHP error log
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 59.52 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.8.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 100+
WordPress.org page https://wordpress.org/plugins/shareyourcart/
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=shareyourcart%2Fshareyourcart.php&plugin_status=all&paged=1&s&_wpnonce=04cfcddb32
Aspect after-activation
HTTP status 200
Load time 0.406 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

ShareYourCart

Page screenshot: ShareYourCart
URL /wp-admin/admin.php?page=class.shareyourcart-wp.php
Aspect menu-item
HTTP status 200
Load time 1.199 s
Memory usage 3.56 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'addEventListener')\n    at window.onload (/wp-admin/admin.php?page=class.shareyourcart-wp.php:62:36)",
        "trace": null,
        "code": null
    }
]
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.266 s
Memory usage 3.48 MiB
JS errors None
Resource errors None

Add Post ‹ Test site — WordPress

Page screenshot: Add Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.581 s
Memory usage 6.13 MiB
JS errors None
Resource errors None

Add Page ‹ Test site — WordPress

Page screenshot: Add Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 0.549 s
Memory usage 6.11 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.316 s0.268 s-0.048 s3.51 MiB3.57 MiB+ 68.59 KiB
/wp-admin/edit.php0.179 s0.180 s+0.001 s3.57 MiB3.64 MiB+ 66.63 KiB
/wp-admin/post-new.php0.714 s0.605 s-0.109 s6.06 MiB6.13 MiB+ 68.66 KiB
/wp-admin/upload.php0.548 s0.381 s-0.167 s3.52 MiB3.57 MiB+ 49.23 KiB
/wp-admin/options-writing.php0.192 s0.185 s-0.007 s3.5 MiB3.55 MiB+ 53.22 KiB
/wp-admin/media-new.php0.247 s0.430 s+0.183 s3.49 MiB3.55 MiB+ 61.41 KiB
/wp-admin/edit-tags.php?taxonomy=category0.175 s0.211 s+0.036 s3.5 MiB3.57 MiB+ 72.09 KiB
/wp-admin/post-new.php?post_type=page0.580 s0.608 s+0.028 s6.05 MiB6.11 MiB+ 63.88 KiB
/wp-admin/options-discussion.php0.307 s0.271 s-0.036 s3.5 MiB3.55 MiB+ 49.72 KiB
/wp-admin/edit-comments.php0.179 s0.195 s+0.016 s3.52 MiB3.57 MiB+ 49.22 KiB
/0.266 s0.205 s-0.061 s3.43 MiB3.48 MiB+ 52.04 KiB
Average 0.337 s0.322 s-0.015 s3.97 MiB4.03 MiB+ 59.52 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
CSS
Language % Lines of code Comment lines Files
PHP87.8%2,8181,44723
CSS12.1%38793
Markdown0.1%301
Total 3,208 1,456 27

PHP Code Analysis | More results »

Lines of code 2,263
Total complexity 556
Median class complexity 40.0
Median method complexity 2.0
Most complex class ShareYourCartBase
Most complex function ShareYourCartBase::getAdminPage()
Classes 11
Methods 200
Functions 0

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 4

Meta Boxes

{
    "post": {
        "shareyourcart_metabox": {
            "title": "ShareYourCart",
            "context": "normal"
        }
    },
    "page": {
        "shareyourcart_metabox": {
            "title": "ShareYourCart",
            "context": "normal"
        }
    }
}

PHP Error Log 58 lines

[28-Jul-2025 06:10:02 UTC] 
[28-Jul-2025 06:10:03 UTC] <html><head><title>Not Found</title></head><body>404; Not Found</body></html>
[28-Jul-2025 06:10:03 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:03 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:03 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:03 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:03 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:03 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:04 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:04 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:04 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:05 UTC] <html><head><title>Not Found</title></head><body>404; Not Found</body></html>
[28-Jul-2025 06:10:05 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:06 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:06 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:07 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:07 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:07 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:07 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:07 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:07 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:07 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:09 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:09 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:09 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:09 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:09 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:09 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:10 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:10 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:10 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:10 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:10 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:10 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:10 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:10 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:11 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:12 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:12 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:12 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:13 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:13 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:13 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:13 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:13 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:13 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:13 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:13 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:13 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:16 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:16 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:16 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:19 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:19 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:19 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:19 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:19 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:10:19 UTC] <html><head><title>Not Found</title></head><body>404; Not Found</body></html>
See also: All tests for this plugin, How to Hide ShareYourCart Admin Menus and Meta Boxes