Does Order Restriction work with WordPress 6.7.1 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: 13.89 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.7.1 |
---|---|
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=fd982f3783 |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.589 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.228 s |
Memory usage | 3.48 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 500 |
Load time | 0.052 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.304 s | 0.298 s | -0.006 s | 3.48 MiB | 3.5 MiB | + 20.15 KiB |
/wp-admin/edit.php | 0.204 s | 0.205 s | +0.001 s | 3.54 MiB | 3.56 MiB | + 20.09 KiB |
/wp-admin/post-new.php | 0.835 s | 0.645 s | -0.190 s | 5.92 MiB | 5.95 MiB | + 23.77 KiB |
/wp-admin/upload.php | 0.785 s | 0.543 s | -0.242 s | 3.49 MiB | 3.5 MiB | + 2.68 KiB |
/wp-admin/options-writing.php | 0.241 s | 0.183 s | -0.058 s | 3.47 MiB | 3.48 MiB | + 6.67 KiB |
/wp-admin/media-new.php | 0.287 s | 0.239 s | -0.048 s | 3.46 MiB | 3.48 MiB | + 14.87 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.199 s | 0.194 s | -0.005 s | 3.48 MiB | 3.5 MiB | + 25.54 KiB |
/wp-admin/post-new.php?post_type=page | 0.765 s | 0.600 s | -0.165 s | 5.92 MiB | 5.94 MiB | + 19.3 KiB |
/wp-admin/options-discussion.php | 0.495 s | 0.251 s | -0.244 s | 3.47 MiB | 3.48 MiB | + 3.17 KiB |
/wp-admin/edit-comments.php | 0.260 s | 0.423 s | +0.163 s | 3.49 MiB | 3.5 MiB | + 2.67 KiB |
Average | 0.438 s | 0.358 s | -0.079 s | 3.97 MiB | 3.99 MiB | + 13.89 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.
[01-Dec-2024 13:29:04 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
[01-Dec-2024 13:29:12 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