Does MB Rest API work with WordPress 6.5.2 and PHP 8.1.12? A smoke test was performed on .
2 | PHP fatal errors |
No JavaScript exceptions | |
All test pages loaded successfully | |
No resource errors |
Memory usage: -7.41 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.5.2 |
---|---|
PHP version | 8.1.12 |
MySQL version | 10.6.10 |
PHP memory limit | 512M |
Last updated | |
---|---|
Active installs | 1,000+ |
WordPress.org page | https://wordpress.org/plugins/mb-rest-api/ |
Badges |
Get badge code |
URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
---|---|
Requested URL | /wp-admin/plugins.php?action=activate&plugin=mb-rest-api%2Fmb-rest-api.php&plugin_status=all&paged=1&s&_wpnonce=b83e4015c1 |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.293 s |
Memory usage | 3.38 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.229 s |
Memory usage | 3.37 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.405 s | 0.368 s | -0.037 s | 3.44 MiB | 3.44 MiB | + 7.43 KiB |
/wp-admin/edit.php | 0.238 s | 0.278 s | +0.040 s | 3.46 MiB | 3.47 MiB | + 7.43 KiB |
/wp-admin/upload.php | 0.657 s | 0.430 s | -0.227 s | 3.38 MiB | 3.37 MiB | - 9.76 KiB |
/wp-admin/options-writing.php | 0.240 s | 0.248 s | +0.008 s | 3.37 MiB | 3.36 MiB | - 17.8 KiB |
/wp-admin/media-new.php | 0.332 s | 0.314 s | -0.018 s | 3.35 MiB | 3.35 MiB | + 2.43 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.213 s | 0.228 s | +0.015 s | 3.37 MiB | 3.38 MiB | + 7.6 KiB |
/wp-admin/options-discussion.php | 0.285 s | 0.247 s | -0.038 s | 3.36 MiB | 3.35 MiB | - 9.27 KiB |
/wp-admin/edit-comments.php | 0.525 s | 0.425 s | -0.100 s | 3.39 MiB | 3.38 MiB | - 9.77 KiB |
/ | 0.388 s | 0.329 s | -0.059 s | 3.42 MiB | 3.37 MiB | - 44.99 KiB |
Average | 0.365 s | 0.319 s | -0.046 s | 3.39 MiB | 3.39 MiB | - 7.41 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 | |
---|---|---|---|---|---|
PHP | 100.0% | 236 | 25 | 7 | |
Total | 236 | 25 | 7 |
Lines of code | 236 |
---|---|
Total complexity | 49 |
Median class complexity | 4.5 |
Median method complexity | 1.0 |
Most complex class | MetaBox\RestApi\Base |
Most complex function | MetaBox\RestApi\Base::normalize_group_value() |
Classes | 6 |
---|---|
Methods | 24 |
Functions | 1 |
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.
[12-Apr-2024 10:57:10 UTC] PHP Fatal error: Uncaught Error: Call to undefined function MetaBox\RestApi\rwmb_get_object_fields() in /wp-content/plugins/mb-rest-api/src/Base.php:74
Stack trace:
#0 /wp-content/plugins/mb-rest-api/src/Base.php(59): MetaBox\RestApi\Base->get_fields()
#1 /wp-content/plugins/mb-rest-api/src/Base.php(49): MetaBox\RestApi\Base->get_values()
#2 /wp-includes/rest-api/endpoints/class-wp-rest-controller.php(439): MetaBox\RestApi\Base->get()
#3 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1977): WP_REST_Controller->add_additional_fields_to_object()
#4 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(569): WP_REST_Posts_Controller->prepare_item_for_response()
#5 /wp-includes/rest-api/class-wp-rest-server.php(1230): WP_REST_Posts_Controller->get_item()
#6 /wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request()
#7 /wp-includes/rest-api.php(555): WP_REST_Server->dispatch()
#8 /wp-includes/rest-api.php(2922): rest_do_request()
#9 [internal function]: rest_preload_api_request()
#10 /wp-includes/block-editor.php(753): array_reduce()
#11 /wp-admin/edit-form-blocks.php(77): block_editor_rest_api_preload()
#12 /wp-admin/post-new.php(72): require('...')
#13 {main}
thrown in /wp-content/plugins/mb-rest-api/src/Base.php on line 74
[12-Apr-2024 10:57:12 UTC] PHP Fatal error: Uncaught Error: Call to undefined function MetaBox\RestApi\rwmb_get_object_fields() in /wp-content/plugins/mb-rest-api/src/Base.php:74
Stack trace:
#0 /wp-content/plugins/mb-rest-api/src/Base.php(59): MetaBox\RestApi\Base->get_fields()
#1 /wp-content/plugins/mb-rest-api/src/Base.php(49): MetaBox\RestApi\Base->get_values()
#2 /wp-includes/rest-api/endpoints/class-wp-rest-controller.php(439): MetaBox\RestApi\Base->get()
#3 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1977): WP_REST_Controller->add_additional_fields_to_object()
#4 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(569): WP_REST_Posts_Controller->prepare_item_for_response()
#5 /wp-includes/rest-api/class-wp-rest-server.php(1230): WP_REST_Posts_Controller->get_item()
#6 /wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request()
#7 /wp-includes/rest-api.php(555): WP_REST_Server->dispatch()
#8 /wp-includes/rest-api.php(2922): rest_do_request()
#9 [internal function]: rest_preload_api_request()
#10 /wp-includes/block-editor.php(753): array_reduce()
#11 /wp-admin/edit-form-blocks.php(77): block_editor_rest_api_preload()
#12 /wp-admin/post-new.php(72): require('...')
#13 {main}
thrown in /wp-content/plugins/mb-rest-api/src/Base.php on line 74