RestroPress 3.1.7

Does RestroPress work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
8PHP notices
2PHP deprecation warnings
1JavaScript exceptions
All test pages loaded successfully
1Resource error (CSS, JS, images, fonts and so on.)
  • 1 net::ERR_NAME_NOT_RESOLVED
Performance

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

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

Environment
WordPress version6.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/restropress/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 25

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=restropress%2Frestro-press.php&plugin_status=all&paged=1&s&_wpnonce=cd50be5eec
Aspect after-activation
HTTP status 200
Load time 3.113 s
Memory usage 4.95 MiB
JS errors None
Resource errors None

RestroPress

Page screenshot: RestroPress
URL /wp-admin/admin.php?page=rpress-dashboard
Aspect menu-item
HTTP status 200
Load time 0.950 s
Memory usage 5.24 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "http://restropress-admin-sales.local/wp-content/uploads/2024/01/calender-ico.png",
        "errorString": "net::ERR_NAME_NOT_RESOLVED"
    }
]

RestroPress → Orders

Page screenshot: RestroPress → Orders
URL /wp-admin/admin.php?page=rpress-payment-history
Aspect menu-item
HTTP status 200
Load time 0.420 s
Memory usage 5.38 MiB
JS errors None
Resource errors None

RestroPress → Customers

Page screenshot: RestroPress → Customers
URL /wp-admin/admin.php?page=rpress-customers
Aspect menu-item
HTTP status 200
Load time 0.348 s
Memory usage 4.84 MiB
JS errors None
Resource errors None

RestroPress → Discount Codes

Page screenshot: RestroPress → Discount Codes
URL /wp-admin/admin.php?page=rpress-discounts
Aspect menu-item
HTTP status 200
Load time 0.462 s
Memory usage 4.91 MiB
JS errors None
Resource errors None

RestroPress → Reports

Page screenshot: RestroPress → Reports
URL /wp-admin/admin.php?page=rpress-reports
Aspect menu-item
HTTP status 200
Load time 0.405 s
Memory usage 4.84 MiB
JS errors None
Resource errors None

RestroPress → Reports → Export

Page screenshot: RestroPress → Reports → Export
URL /wp-admin/admin.php?page=rpress-reports&tab=export
Aspect menu-item-tab
HTTP status 200
Load time 0.528 s
Memory usage 4.84 MiB
JS errors None
Resource errors None

RestroPress → Settings

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

RestroPress → Settings → Payment Gateways

Page screenshot: RestroPress → Settings → Payment Gateways
URL /wp-admin/admin.php?page=rpress-settings&tab=gateways
Aspect menu-item-tab
HTTP status 200
Load time 0.432 s
Memory usage 4.91 MiB
JS errors None
Resource errors None

RestroPress → Settings → Emails

Page screenshot: RestroPress → Settings → Emails
URL /wp-admin/admin.php?page=rpress-settings&tab=emails
Aspect menu-item-tab
HTTP status 200
Load time 0.356 s
Memory usage 4.91 MiB
JS errors None
Resource errors None

RestroPress → Settings → Styles

Page screenshot: RestroPress → Settings → Styles
URL /wp-admin/admin.php?page=rpress-settings&tab=styles
Aspect menu-item-tab
HTTP status 200
Load time 0.314 s
Memory usage 4.91 MiB
JS errors None
Resource errors None

RestroPress → Settings → Taxes

Page screenshot: RestroPress → Settings → Taxes
URL /wp-admin/admin.php?page=rpress-settings&tab=taxes
Aspect menu-item-tab
HTTP status 200
Load time 0.414 s
Memory usage 4.91 MiB
JS errors None
Resource errors None

RestroPress → Settings → Privacy

Page screenshot: RestroPress → Settings → Privacy
URL /wp-admin/admin.php?page=rpress-settings&tab=privacy
Aspect menu-item-tab
HTTP status 200
Load time 0.360 s
Memory usage 4.91 MiB
JS errors None
Resource errors None

RestroPress → Settings → Misc

Page screenshot: RestroPress → Settings → Misc
URL /wp-admin/admin.php?page=rpress-settings&tab=misc
Aspect menu-item-tab
HTTP status 200
Load time 0.328 s
Memory usage 4.91 MiB
JS errors None
Resource errors None

RestroPress → Tools

Page screenshot: RestroPress → Tools
URL /wp-admin/admin.php?page=rpress-tools
Aspect menu-item
HTTP status 200
Load time 0.313 s
Memory usage 4.84 MiB
JS errors None
Resource errors None

RestroPress → Tools → System Info

Page screenshot: RestroPress → Tools → System Info
URL /wp-admin/admin.php?page=rpress-tools&tab=system_info
Aspect menu-item-tab
HTTP status 200
Load time 0.556 s
Memory usage 5.16 MiB
JS errors None
Resource errors None

RestroPress → Tools → Import/Export

Page screenshot: RestroPress → Tools → Import/Export
URL /wp-admin/admin.php?page=rpress-tools&tab=import_export
Aspect menu-item-tab
HTTP status 200
Load time 0.610 s
Memory usage 4.84 MiB
JS errors None
Resource errors None

RestroPress → Extensions

Page screenshot: RestroPress → Extensions
URL /wp-admin/admin.php?page=rpress-extensions
Aspect menu-item
HTTP status 200
Load time 0.884 s
Memory usage 5.45 MiB
JS errors None
Resource errors None

Food Items

Page screenshot: Food Items
URL /wp-admin/edit.php?post_type=fooditem
Aspect menu-item
HTTP status 200
Load time 0.609 s
Memory usage 4.92 MiB
JS errors None
Resource errors None

Food Items → Add New

Page screenshot: Food Items → Add New
URL /wp-admin/post-new.php?post_type=fooditem
Aspect menu-item
HTTP status 200
Load time 1.423 s
Memory usage 5.03 MiB
JS errors None
Resource errors None

Food Items → Categories

Page screenshot: Food Items → Categories
URL /wp-admin/edit-tags.php?taxonomy=food-category&post_type=fooditem
Aspect menu-item
HTTP status 200
Load time 0.452 s
Memory usage 4.85 MiB
JS errors None
Resource errors None

Food Items → Addons

Page screenshot: Food Items → Addons
URL /wp-admin/edit-tags.php?taxonomy=addon_category&post_type=fooditem
Aspect menu-item
HTTP status 200
Load time 0.389 s
Memory usage 4.85 MiB
JS errors None
Resource errors None

Food Items → Tags

Page screenshot: Food Items → Tags
URL /wp-admin/edit-tags.php?taxonomy=fooditem_tag&post_type=fooditem
Aspect menu-item
HTTP status 200
Load time 0.424 s
Memory usage 4.85 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.405 s
Memory usage 4.25 MiB
JS errors
[
    {
        "message": "TypeError: $(...).fancybox is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/restropress/assets/js/frontend/rp-frontend.js?ver=3.1.7:1126:6)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27028)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.595 s
Memory usage 4.85 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.367 s0.796 s+0.429 s3.47 MiB4.85 MiB+ 1.38 MiB
/wp-admin/edit.php0.233 s0.471 s+0.238 s3.54 MiB4.95 MiB+ 1.41 MiB
/wp-admin/post-new.php0.886 s1.137 s+0.251 s5.75 MiB7.78 MiB+ 2.03 MiB
/wp-admin/upload.php0.560 s0.741 s+0.181 s3.49 MiB4.85 MiB+ 1.36 MiB
/wp-admin/options-writing.php0.209 s0.616 s+0.407 s3.41 MiB4.84 MiB+ 1.43 MiB
/wp-admin/media-new.php0.234 s0.826 s+0.592 s3.4 MiB4.84 MiB+ 1.44 MiB
/wp-admin/edit-tags.php?taxonomy=category0.237 s0.413 s+0.176 s3.47 MiB4.86 MiB+ 1.39 MiB
/wp-admin/post-new.php?post_type=page0.891 s0.898 s+0.007 s5.75 MiB7.77 MiB+ 2.02 MiB
/wp-admin/options-discussion.php0.223 s0.448 s+0.225 s3.41 MiB4.84 MiB+ 1.43 MiB
/wp-admin/edit-comments.php0.239 s0.485 s+0.246 s3.49 MiB4.86 MiB+ 1.37 MiB
/0.320 s0.316 s-0.004 s3.45 MiB4.19 MiB+ 755.41 KiB
Average 0.400 s0.650 s+0.250 s3.88 MiB5.33 MiB+ 1.45 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
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP74.4%106,24459,562234
CSS11.6%16,59264020
JavaScript9.9%14,1001,02131
PO File3.8%5,4252,2991
SVG0.3%374330
JSON0.0%602
Total 142,741 63,525 318

PHP Code Analysis | More results »

Lines of code 51,331
Total complexity 10,697
Median class complexity 32.0
Median method complexity 2.0
Most complex class RPRESS_Payment
Most complex function RPRESS_Payment::save()
Classes 107
Methods 1,409
Functions 988

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 2

Options wp_options 7

Custom Post Types 4

ID Name
rpress_logLogs
fooditemFood Items
rpress_paymentOrders
rpress_discountDiscounts

Meta Boxes

{
    "dashboard": {
        "rpress_dashboard_sales": {
            "title": "RestroPress Sales Summary",
            "context": "normal"
        }
    },
    "fooditem": {
        "rpress-fooditem-data": {
            "title": "Food Item Data",
            "context": "normal"
        }
    }
}

Roles 4

ID Name
shop_managerShop Manager
shop_accountantShop Accountant
shop_workerShop Worker
shop_vendorShop Vendor

Capabilities 62

PHP Error Log 10 lines

[12-Sep-2024 18:16:59 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/restropress/includes/payments/class-payment-stats.php on line 122
[12-Sep-2024 18:17:04 UTC] PHP Deprecated:  preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/kses.php on line 1805
[12-Sep-2024 18:17:31 UTC] PHP Notice:  Function WP_REST_Posts_Controller::get_item_schema was called <strong>incorrectly</strong>. Please use register_rest_field to add new schema properties. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.4.0.) in /wp-includes/functions.php on line 6085
[12-Sep-2024 18:17:31 UTC] PHP Notice:  Function WP_REST_Posts_Controller::get_item_schema was called <strong>incorrectly</strong>. Please use register_rest_field to add new schema properties. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.4.0.) in /wp-includes/functions.php on line 6085
[12-Sep-2024 18:17:31 UTC] PHP Notice:  Function WP_REST_Posts_Controller::get_item_schema was called <strong>incorrectly</strong>. Please use register_rest_field to add new schema properties. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.4.0.) in /wp-includes/functions.php on line 6085
[12-Sep-2024 18:17:31 UTC] PHP Notice:  Function WP_REST_Posts_Controller::get_item_schema was called <strong>incorrectly</strong>. Please use register_rest_field to add new schema properties. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.4.0.) in /wp-includes/functions.php on line 6085
[12-Sep-2024 18:17:37 UTC] PHP Notice:  Function WP_REST_Posts_Controller::get_item_schema was called <strong>incorrectly</strong>. Please use register_rest_field to add new schema properties. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.4.0.) in /wp-includes/functions.php on line 6085
[12-Sep-2024 18:17:37 UTC] PHP Notice:  Function WP_REST_Posts_Controller::get_item_schema was called <strong>incorrectly</strong>. Please use register_rest_field to add new schema properties. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.4.0.) in /wp-includes/functions.php on line 6085
[12-Sep-2024 18:17:37 UTC] PHP Notice:  Function WP_REST_Posts_Controller::get_item_schema was called <strong>incorrectly</strong>. Please use register_rest_field to add new schema properties. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.4.0.) in /wp-includes/functions.php on line 6085
[12-Sep-2024 18:17:37 UTC] PHP Notice:  Function WP_REST_Posts_Controller::get_item_schema was called <strong>incorrectly</strong>. Please use register_rest_field to add new schema properties. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.4.0.) in /wp-includes/functions.php on line 6085
See also: All tests for this plugin, How to Hide RestroPress Admin Menus and More