Content Control 1.0.1

Does Content Control work with WordPress 4.8 and PHP 7.0.16? A smoke test was performed on .

Summary

Errors
3PHP fatal errors
2PHP warnings
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: 120.9 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 version4.8
PHP version7.0.16
MySQL version5.7.17
PHP memory limit256M
Plugin Info
Last updated
Active installs 40,000+
WordPress.org page https://wordpress.org/plugins/content-control/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s=
Requested URL /wp-admin/plugins.php
Aspect after-activation
HTTP status 200 OK
Load time 0.270 s
Memory usage 3 MiB
JS errors None
Resource errors None

Settings → Content Control

Page screenshot: Settings → Content Control
URL /wp-admin/options-general.php?page=jp-cc-settings
Aspect menu-item
HTTP status 200 OK
Load time 0.022 s
Memory usage N/A
JS errors None
Resource errors None

Content Control ‹ Test site — WordPress

Screenshot not available
URL /
Aspect front-page
HTTP status 500 Internal Server Error
Load time 0.013 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.097 s0.091 s-0.006 s2.9 MiB3.04 MiB+ 145.63 KiB
/wp-admin/edit.php0.098 s0.087 s-0.011 s2.91 MiB3.05 MiB+ 143.77 KiB
/wp-admin/post-new.php0.175 s0.156 s-0.019 s2.99 MiB3.13 MiB+ 152.37 KiB
/wp-admin/upload.php0.077 s0.102 s+0.025 s2.82 MiB2.9 MiB+ 84.12 KiB
/wp-admin/options-writing.php0.068 s0.075 s+0.007 s2.81 MiB2.89 MiB+ 83.76 KiB
/wp-admin/media-new.php0.076 s0.072 s-0.004 s2.8 MiB2.88 MiB+ 84.12 KiB
/wp-admin/edit-tags.php?taxonomy=category0.079 s0.114 s+0.035 s2.84 MiB2.97 MiB+ 137.95 KiB
/wp-admin/post-new.php?post_type=page0.147 s0.155 s+0.008 s2.97 MiB3.11 MiB+ 145.09 KiB
/wp-admin/options-discussion.php0.071 s0.081 s+0.010 s2.8 MiB2.89 MiB+ 84.38 KiB
/wp-admin/edit-comments.php0.072 s0.085 s+0.013 s2.84 MiB2.99 MiB+ 147.8 KiB
Average 0.096 s0.102 s+0.006 s2.87 MiB2.99 MiB+ 120.9 KiB

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

PHP Error Log 34 lines

[28-Jun-2017 08:29:06 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, class '\JP\CC\Activation' not found in /wp-includes/class-wp-hook.php on line 298
[28-Jun-2017 08:29:07 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function JP\CC\Admin\Settings\jpf_get_option() in /wp-content/plugins/content-control/classes/Admin/Settings/Restrictions.php:22
Stack trace:
#0 /wp-includes/class-wp-hook.php(298): JP\CC\Admin\Settings\Restrictions::restrictions_editor('')
#1 /wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array)
#2 /wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#3 /wp-content/plugins/content-control/classes/Admin/Settings.php(57): do_action('jp_cc_restricti...')
#4 /wp-includes/class-wp-hook.php(298): JP\CC\Admin\Settings::page('')
#5 /wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array)
#6 /wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#7  in /wp-content/plugins/content-control/classes/Admin/Settings/Restrictions.php on line 22
[28-Jun-2017 08:29:07 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function JP\CC\Site\jpf_get_option() in /wp-content/plugins/content-control/classes/Site/Restrictions.php:50
Stack trace:
#0 /wp-content/plugins/content-control/classes/Site/Restrictions.php(30): JP\CC\Site\Restrictions::restricted_content()
#1 /wp-includes/class-wp-hook.php(298): JP\CC\Site\Restrictions::template_redirect('')
#2 /wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
#3 /wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#4 /wp-includes/template-loader.php(12): do_action('template_redire...')
#5 /wp-blog-header.php(19): require_once('/opt/bitnami/ap...')
#6 /index.php(17): require('/opt/bitnami/ap...')
#7 {main}
  thrown in /wp-content/plugins/content-control/classes/Site/Restrictions.php on line 50
[28-Jun-2017 08:29:09 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function JP\CC\Site\jpf_get_option() in /wp-content/plugins/content-control/classes/Site/Restrictions.php:50
Stack trace:
#0 /wp-content/plugins/content-control/classes/Site/Restrictions.php(30): JP\CC\Site\Restrictions::restricted_content()
#1 /wp-includes/class-wp-hook.php(298): JP\CC\Site\Restrictions::template_redirect('')
#2 /wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
#3 /wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#4 /wp-includes/template-loader.php(12): do_action('template_redire...')
#5 /wp-blog-header.php(19): require_once('/opt/bitnami/ap...')
#6 /index.php(17): require('/opt/bitnami/ap...')
#7 {main}
  thrown in /wp-content/plugins/content-control/classes/Site/Restrictions.php on line 50
[28-Jun-2017 08:29:09 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, class '\JP\CC\Activation' not found in /wp-includes/class-wp-hook.php on line 298
See also: All tests for this plugin, How to Hide the "Content Control" Admin Menu