JSON REST API Subscriptions 1.0

Does JSON REST API Subscriptions work with WordPress 6.8.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 28.18 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.8.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20+
WordPress.org page https://wordpress.org/plugins/json-rest-api-subscriptions/
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=json-rest-api-subscriptions%2Fplugin.php&plugin_status=all&paged=1&s&_wpnonce=efe1de01e1
Aspect after-activation
HTTP status 200
Load time 0.375 s
Memory usage 3.56 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.227 s
Memory usage 3.46 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.383 s0.610 s+0.227 s3.51 MiB3.53 MiB+ 26.66 KiB
/wp-admin/edit.php0.209 s0.242 s+0.033 s3.57 MiB3.6 MiB+ 26.66 KiB
/wp-admin/post-new.php0.841 s0.743 s-0.098 s6.06 MiB6.23 MiB+ 173.38 KiB
/wp-admin/upload.php0.770 s0.782 s+0.012 s3.52 MiB3.53 MiB+ 9.3 KiB
/wp-admin/options-writing.php0.235 s0.211 s-0.024 s3.5 MiB3.51 MiB+ 13.3 KiB
/wp-admin/media-new.php0.276 s0.209 s-0.067 s3.49 MiB3.51 MiB+ 21.49 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.215 s+0.016 s3.5 MiB3.54 MiB+ 32.16 KiB
/wp-admin/options-discussion.php0.564 s0.220 s-0.344 s3.5 MiB3.51 MiB+ 9.89 KiB
/wp-admin/edit-comments.php0.291 s0.233 s-0.058 s3.52 MiB3.53 MiB+ 9.39 KiB
/0.401 s0.232 s-0.169 s3.5 MiB3.46 MiB- 40.41 KiB
Average 0.417 s0.370 s-0.047 s3.77 MiB3.8 MiB+ 28.18 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
Markdown
Language % Lines of code Comment lines Files
PHP85.6%6712785
Markdown14.4%11301
Total 784 278 6

PHP Code Analysis | More results »

Lines of code 671
Total complexity 125
Median class complexity 25.0
Median method complexity 1.5
Most complex class JRAS_Subscriptions_Controller
Most complex function JRAS_Subscriptions_Controller::update_subscription()
Classes 4
Methods 28
Functions 2

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.

Options wp_options 1

Custom Post Types 1

ID Name
jras_subscriptionJSON REST API Subscription

PHP Error Log 12 lines

[30-Jul-2025 17:26:05 UTC] PHP Warning:  Undefined variable $created_posts in /wp-content/plugins/json-rest-api-subscriptions/lib/class-jras-listener.php on line 115
[30-Jul-2025 17:26:09 UTC] PHP Fatal error:  Uncaught Error: Object of class WP_Post could not be converted to string in /wp-content/plugins/json-rest-api-subscriptions/lib/class-jras-listener.php:113
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): JRAS_Listener->update_post()
#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/post.php(5740): do_action()
#4 /wp-includes/post.php(5000): wp_transition_post_status()
#5 /wp-admin/includes/post.php(772): wp_insert_post()
#6 /wp-admin/post-new.php(66): get_default_post_to_edit()
#7 {main}
  thrown in /wp-content/plugins/json-rest-api-subscriptions/lib/class-jras-listener.php on line 113
See also: All tests for this plugin