MB Rest API 1.5.0

Does MB Rest API work with WordPress 6.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP fatal errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: -7.2 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.

Environment
WordPress version6.3
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/mb-rest-api/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

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=mb-rest-api%2Fmb-rest-api.php&plugin_status=all&paged=1&s&_wpnonce=c27fbdd242
Aspect after-activation
HTTP status 200
Load time 0.230 s
Memory usage 2.76 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.166 s
Memory usage 3.07 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.305 s0.241 s-0.064 s2.82 MiB2.83 MiB+ 1.8 KiB
/wp-admin/edit.php0.174 s0.165 s-0.009 s2.85 MiB2.85 MiB+ 1.8 KiB
/wp-admin/upload.php0.704 s0.198 s-0.506 s2.77 MiB2.75 MiB- 15.39 KiB
/wp-admin/options-writing.php0.220 s0.171 s-0.049 s2.76 MiB2.74 MiB- 23.43 KiB
/wp-admin/media-new.php0.267 s0.222 s-0.045 s2.74 MiB2.74 MiB- 3.2 KiB
/wp-admin/edit-tags.php?taxonomy=category0.180 s0.153 s-0.027 s2.76 MiB2.76 MiB+ 1.97 KiB
/wp-admin/options-discussion.php0.184 s0.310 s+0.126 s2.75 MiB2.73 MiB- 14.9 KiB
/wp-admin/edit-comments.php0.394 s0.200 s-0.194 s2.78 MiB2.76 MiB- 15.4 KiB
/0.247 s0.198 s-0.049 s3.13 MiB3.13 MiB+ 1.97 KiB
Average 0.297 s0.206 s-0.091 s2.82 MiB2.81 MiB- 7.2 KiB

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
Language % Lines of code Comment lines Files
PHP100.0%1941212
Total 194 121 2

PHP Code Analysis | More results »

Lines of code 194
Total complexity 41
Median class complexity 40.0
Median method complexity 3.0
Most complex class MB_Rest_API
Most complex function MB_Rest_API::normalize_group_value()
Classes 1
Methods 15
Functions 1

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.

No new entries found.

PHP Error Log 30 lines

[12-Aug-2023 23:35:18 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function rwmb_get_registry() in /wp-content/plugins/mb-rest-api/class-mb-rest-api.php:61
Stack trace:
#0 /wp-includes/rest-api/endpoints/class-wp-rest-controller.php(439): MB_Rest_API->get_post_meta()
#1 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1976): WP_REST_Controller->add_additional_fields_to_object()
#2 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(569): WP_REST_Posts_Controller->prepare_item_for_response()
#3 /wp-includes/rest-api/class-wp-rest-server.php(1188): WP_REST_Posts_Controller->get_item()
#4 /wp-includes/rest-api/class-wp-rest-server.php(1035): WP_REST_Server->respond_to_request()
#5 /wp-includes/rest-api.php(545): WP_REST_Server->dispatch()
#6 /wp-includes/rest-api.php(2911): rest_do_request()
#7 [internal function]: rest_preload_api_request()
#8 /wp-includes/block-editor.php(743): array_reduce()
#9 /wp-admin/edit-form-blocks.php(77): block_editor_rest_api_preload()
#10 /wp-admin/post-new.php(72): require('...')
#11 {main}
  thrown in /wp-content/plugins/mb-rest-api/class-mb-rest-api.php on line 61
[12-Aug-2023 23:35:19 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function rwmb_get_registry() in /wp-content/plugins/mb-rest-api/class-mb-rest-api.php:61
Stack trace:
#0 /wp-includes/rest-api/endpoints/class-wp-rest-controller.php(439): MB_Rest_API->get_post_meta()
#1 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1976): WP_REST_Controller->add_additional_fields_to_object()
#2 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(569): WP_REST_Posts_Controller->prepare_item_for_response()
#3 /wp-includes/rest-api/class-wp-rest-server.php(1188): WP_REST_Posts_Controller->get_item()
#4 /wp-includes/rest-api/class-wp-rest-server.php(1035): WP_REST_Server->respond_to_request()
#5 /wp-includes/rest-api.php(545): WP_REST_Server->dispatch()
#6 /wp-includes/rest-api.php(2911): rest_do_request()
#7 [internal function]: rest_preload_api_request()
#8 /wp-includes/block-editor.php(743): array_reduce()
#9 /wp-admin/edit-form-blocks.php(77): block_editor_rest_api_preload()
#10 /wp-admin/post-new.php(72): require('...')
#11 {main}
  thrown in /wp-content/plugins/mb-rest-api/class-mb-rest-api.php on line 61
See also: All tests for this plugin