SureCart 3.0.1

Does SureCart work with WordPress 6.7 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2Unrecognized messages in the PHP error log
2JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 3.63 MiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.7
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 70,000+
WordPress.org page https://wordpress.org/plugins/surecart/
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=surecart%2Fsurecart.php&plugin_status=all&paged=1&s&_wpnonce=4ce8e809a2
Aspect after-activation
HTTP status 200
Load time 2.131 s
Memory usage 7.23 MiB
JS errors None
Resource errors None

SureCart

Page screenshot: SureCart
URL /wp-admin/admin.php?page=sc-getting-started
Aspect menu-item
HTTP status 200
Load time 0.687 s
Memory usage 6.88 MiB
JS errors None
Resource errors None

SureCart → Settings

Page screenshot: SureCart → Settings
URL /wp-admin/admin.php?page=sc-settings
Aspect menu-item
HTTP status 200
Load time 0.743 s
Memory usage 6.84 MiB
JS errors None
Resource errors None

Tools → Scheduled Actions

Page screenshot: Tools → Scheduled Actions
URL /wp-admin/tools.php?page=action-scheduler
Aspect menu-item
HTTP status 200
Load time 0.200 s
Memory usage 6.81 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.573 s
Memory usage 6.89 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'map')\n    at Object.St.priority [as each] (/wp-includes/js/dist/script-modules/interactivity/index.min.js?ver=06b8f695ef48ab2d9277:1:35810)\n    at k.Et [as constructor] (/wp-includes/js/dist/script-modules/interactivity/index.min.js?ver=06b8f695ef48ab2d9277:1:28631)\n    at k.R [as render] (/wp-includes/js/dist/script-modules/interactivity/index.min.js?ver=06b8f695ef48ab2d9277:1:9158)\n    at W (/wp-includes/js/dist/script-modules/interactivity/index.min.js?ver=06b8f695ef48ab2d9277:1:6326)\n    at T (/wp-includes/js/dist/script-modules/interactivity/index.min.js?ver=06b8f695ef48ab2d9277:1:1895)\n    at A (/wp-includes/js/dist/script-modules/interactivity/index.min.js?ver=06b8f695ef48ab2d9277:1:8288)\n    at W (/wp-includes/js/dist/script-modules/interactivity/index.min.js?ver=06b8f695ef48ab2d9277:1:6937)\n    at T (/wp-includes/js/dist/script-modules/interactivity/index.min.js?ver=06b8f695ef48ab2d9277:1:1895)\n    at A (/wp-includes/js/dist/script-modules/interactivity/index.min.js?ver=06b8f695ef48ab2d9277:1:8288)\n    at W (/wp-includes/js/dist/script-modules/interactivity/index.min.js?ver=06b8f695ef48ab2d9277:1:6937)",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot use 'in' operator to search for 'hidden' in null\n    at /wp-includes/js/dist/script-modules/interactivity/index.min.js?ver=06b8f695ef48ab2d9277:1:34911\n    at Object.__ (/wp-includes/js/dist/script-modules/interactivity/index.min.js?ver=06b8f695ef48ab2d9277:1:22118)\n    at O (/wp-includes/js/dist/script-modules/interactivity/index.min.js?ver=06b8f695ef48ab2d9277:1:14405)\n    at Array.forEach (<anonymous>)\n    at c.__r (/wp-includes/js/dist/script-modules/interactivity/index.min.js?ver=06b8f695ef48ab2d9277:1:13512)\n    at /wp-includes/js/dist/script-modules/interactivity/index.min.js?ver=06b8f695ef48ab2d9277:1:19877\n    at W (/wp-includes/js/dist/script-modules/interactivity/index.min.js?ver=06b8f695ef48ab2d9277:1:6317)\n    at O (/wp-includes/js/dist/script-modules/interactivity/index.min.js?ver=06b8f695ef48ab2d9277:1:1551)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.299 s0.330 s+0.031 s3.48 MiB6.87 MiB+ 3.39 MiB
/wp-admin/edit.php0.192 s0.239 s+0.047 s3.54 MiB6.91 MiB+ 3.37 MiB
/wp-admin/post-new.php0.730 s2.119 s+1.389 s5.92 MiB10.95 MiB+ 5.02 MiB
/wp-admin/upload.php0.493 s0.577 s+0.084 s3.49 MiB6.75 MiB+ 3.26 MiB
/wp-admin/options-writing.php0.179 s0.401 s+0.222 s3.47 MiB6.73 MiB+ 3.26 MiB
/wp-admin/media-new.php0.237 s0.226 s-0.011 s3.46 MiB6.73 MiB+ 3.27 MiB
/wp-admin/edit-tags.php?taxonomy=category0.165 s0.208 s+0.043 s3.47 MiB6.82 MiB+ 3.34 MiB
/wp-admin/post-new.php?post_type=page0.522 s3.158 s+2.636 s5.92 MiB10.94 MiB+ 5.03 MiB
/wp-admin/options-discussion.php0.268 s0.502 s+0.234 s3.47 MiB6.73 MiB+ 3.26 MiB
/wp-admin/edit-comments.php0.191 s0.411 s+0.220 s3.49 MiB6.82 MiB+ 3.33 MiB
/0.529 s0.463 s-0.066 s3.47 MiB6.88 MiB+ 3.4 MiB
Average 0.346 s0.785 s+0.439 s3.93 MiB7.56 MiB+ 3.63 MiB

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
PO File
JSON
Language % Lines of code Comment lines Files
PHP61.3%52,15034,6641,150
PO File25.0%21,27721,80521
JSON12.0%10,1730187
CSS1.0%8917111
SVG0.2%163111
Markdown0.2%15403
JavaScript0.2%128964
HTML0.1%1222388
Total 85,058 56,724 1,555

PHP Code Analysis | More results »

Lines of code 45,541
Total complexity 7,810
Median class complexity 5.0
Median method complexity 1.0
Most complex class SureCart\Models\Model
Most complex function SureCart\Integrations\Bricks\BricksDynamicDataService::parseTag()
Classes 777
Methods 3,435
Functions 24

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.

Database Tables 3

Options wp_options 13

Custom Post Types 5

ID Name
scheduled-actionScheduled Actions
sc_formCheckout Forms
sc_cartCarts
sc_productSureCart Product
sc_upsellSureCart Upsells

Roles 4

ID Name
sc_shop_managerSureCart Shop Manager
sc_shop_accountantSureCart Accountant
sc_shop_workerSureCart Shop Worker
sc_customerSureCart Customer

Capabilities 187

PHP Error Log 2 lines

[13-Nov-2024 04:52:31 UTC] webhook
[13-Nov-2024 04:52:31 UTC] rewrite
See also: All tests for this plugin, How to Hide SureCart Admin Menus