RestroPress 3.1.8.3

Does RestroPress work with WordPress 6.7.1 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.43 MiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.7.1
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=399ca8fe2c
Aspect after-activation
HTTP status 200
Load time 4.020 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.971 s
Memory usage 5.25 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.421 s
Memory usage 5.39 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.340 s
Memory usage 4.85 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.381 s
Memory usage 4.92 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.425 s
Memory usage 4.85 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.653 s
Memory usage 4.85 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.445 s
Memory usage 4.92 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.401 s
Memory usage 4.92 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.345 s
Memory usage 4.92 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.376 s
Memory usage 4.92 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.421 s
Memory usage 4.92 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.366 s
Memory usage 4.92 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.372 s
Memory usage 4.92 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.310 s
Memory usage 4.85 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.726 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.370 s
Memory usage 4.85 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 1.191 s
Memory usage 5.47 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.502 s
Memory usage 4.93 MiB
JS errors None
Resource errors None

Food Items → Add New Food Item

Page screenshot: Food Items → Add New Food Item
URL /wp-admin/post-new.php?post_type=fooditem
Aspect menu-item
HTTP status 200
Load time 1.343 s
Memory usage 5.04 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.456 s
Memory usage 4.86 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.410 s
Memory usage 4.86 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.331 s
Memory usage 4.86 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.492 s
Memory usage 4.26 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.8.3:1133: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.458 s
Memory usage 4.86 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.357 s0.650 s+0.293 s3.48 MiB4.86 MiB+ 1.38 MiB
/wp-admin/edit.php0.221 s0.449 s+0.228 s3.54 MiB4.96 MiB+ 1.42 MiB
/wp-admin/post-new.php0.869 s1.170 s+0.301 s5.92 MiB7.84 MiB+ 1.92 MiB
/wp-admin/upload.php0.812 s0.390 s-0.422 s3.49 MiB4.85 MiB+ 1.36 MiB
/wp-admin/options-writing.php0.251 s0.841 s+0.590 s3.47 MiB4.85 MiB+ 1.38 MiB
/wp-admin/media-new.php0.291 s0.486 s+0.195 s3.46 MiB4.85 MiB+ 1.38 MiB
/wp-admin/edit-tags.php?taxonomy=category0.205 s0.355 s+0.150 s3.48 MiB4.87 MiB+ 1.39 MiB
/wp-admin/post-new.php?post_type=page0.691 s0.953 s+0.262 s5.92 MiB7.83 MiB+ 1.92 MiB
/wp-admin/options-discussion.php0.310 s0.642 s+0.332 s3.47 MiB4.85 MiB+ 1.37 MiB
/wp-admin/edit-comments.php0.242 s0.689 s+0.447 s3.49 MiB4.87 MiB+ 1.37 MiB
/0.336 s0.350 s+0.014 s3.41 MiB4.2 MiB+ 810.23 KiB
Average 0.417 s0.634 s+0.217 s3.92 MiB5.35 MiB+ 1.43 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.5%106,89859,698235
CSS11.6%16,62064020
JavaScript9.8%14,1111,02131
PO File3.8%5,4252,2991
SVG0.3%374330
JSON0.0%602
Total 143,434 63,661 319

PHP Code Analysis | More results »

Lines of code 51,933
Total complexity 10,777
Median class complexity 32.0
Median method complexity 2.0
Most complex class RPRESS_Payment
Most complex function RPRESS_Payment::save()
Classes 108
Methods 1,417
Functions 992

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

[27-Nov-2024 13:43:31 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
[27-Nov-2024 13:43:36 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
[27-Nov-2024 13:44:03 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 6114
[27-Nov-2024 13:44:03 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 6114
[27-Nov-2024 13:44:03 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 6114
[27-Nov-2024 13:44:03 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 6114
[27-Nov-2024 13:44:08 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 6114
[27-Nov-2024 13:44:08 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 6114
[27-Nov-2024 13:44:08 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 6114
[27-Nov-2024 13:44:08 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 6114
See also: All tests for this plugin, How to Hide RestroPress Admin Menus and More