Does Order Restriction work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .
2 | PHP fatal errors |
No JavaScript exceptions | |
1 | Page failed to load
|
No resource errors |
Memory usage: 32.75 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.
WordPress version | 6.6.2 |
---|---|
PHP version | 8.1.12 |
MySQL version | 10.6.10 |
PHP memory limit | 512M |
Last updated | |
---|---|
Active installs | <10 |
WordPress.org page | https://wordpress.org/plugins/order-restriction/ |
Badges |
Get badge code |
URL | /wp-admin/admin.php?page=order-restriction |
---|---|
Requested URL | /wp-admin/plugins.php?action=activate&plugin=order-restriction%2Forder-restriction.php&plugin_status=all&paged=1&s&_wpnonce=7e29cbee7b |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.696 s |
Memory usage | 3.48 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=order-restriction |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.237 s |
Memory usage | 3.48 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 500 |
Load time | 0.047 s |
Memory usage | N/A |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.360 s | 0.310 s | -0.050 s | 3.47 MiB | 3.49 MiB | + 20.34 KiB |
/wp-admin/edit.php | 0.218 s | 0.241 s | +0.023 s | 3.54 MiB | 3.56 MiB | + 20.27 KiB |
/wp-admin/post-new.php | 0.832 s | 0.616 s | -0.216 s | 5.75 MiB | 5.78 MiB | + 23.91 KiB |
/wp-admin/upload.php | 0.592 s | 0.423 s | -0.169 s | 3.49 MiB | 3.49 MiB | + 2.87 KiB |
/wp-admin/options-writing.php | 0.218 s | 0.185 s | -0.033 s | 3.41 MiB | 3.47 MiB | + 65.67 KiB |
/wp-admin/media-new.php | 0.292 s | 0.446 s | +0.154 s | 3.4 MiB | 3.47 MiB | + 79.05 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.193 s | 0.193 s | +0.000 s | 3.47 MiB | 3.5 MiB | + 25.73 KiB |
/wp-admin/post-new.php?post_type=page | 0.600 s | 0.598 s | -0.002 s | 5.75 MiB | 5.77 MiB | + 19.49 KiB |
/wp-admin/options-discussion.php | 0.234 s | 0.266 s | +0.032 s | 3.41 MiB | 3.47 MiB | + 67.36 KiB |
/wp-admin/edit-comments.php | 0.230 s | 0.213 s | -0.017 s | 3.49 MiB | 3.49 MiB | + 2.86 KiB |
Average | 0.377 s | 0.349 s | -0.028 s | 3.92 MiB | 3.95 MiB | + 32.75 KiB |
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.
Language | % | Lines of code | Comment lines | Files | |
---|---|---|---|---|---|
CSS | 65.0% | 16,688 | 33 | 4 | |
JavaScript | 33.9% | 8,711 | 1,245 | 3 | |
PHP | 1.1% | 279 | 64 | 4 | |
Total | 25,678 | 1,342 | 11 |
Lines of code | 294 |
---|---|
Total complexity | 25 |
Median class complexity | 0.0 |
Median method complexity | 0.0 |
Most complex class | — |
Most complex function | ortn_admin_page() |
Classes | 0 |
---|---|
Methods | 0 |
Functions | 13 |
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.
No new entries found.
[20-Sep-2024 23:38:37 UTC] PHP Fatal error: Uncaught Error: Call to undefined function WC() in /wp-content/plugins/order-restriction/includes/vat/ortn-vat-restriction.php:10
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): ortn_disable_checkout_under_minimum()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/template-loader.php(13): do_action()
#4 /wp-blog-header.php(19): require_once('...')
#5 /index.php(17): require('...')
#6 {main}
thrown in /wp-content/plugins/order-restriction/includes/vat/ortn-vat-restriction.php on line 10
[20-Sep-2024 23:38:46 UTC] PHP Fatal error: Uncaught Error: Call to undefined function WC() in /wp-content/plugins/order-restriction/includes/vat/ortn-vat-restriction.php:10
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): ortn_disable_checkout_under_minimum()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/template-loader.php(13): do_action()
#4 /wp-blog-header.php(19): require_once('...')
#5 /index.php(17): require('...')
#6 {main}
thrown in /wp-content/plugins/order-restriction/includes/vat/ortn-vat-restriction.php on line 10