Post Lockdown 4.1.0

Does Post Lockdown work with WordPress 7.0 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
The plugin could not be activated
1PHP fatal errors
1PHP warnings
No JavaScript exceptions
No resource errors
Performance

No data available.

Environment
WordPress version7.0
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/post-lockdown/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 1

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin=post-lockdown%2Fpost-lockdown.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=post-lockdown%2Fpost-lockdown.php&plugin_status=all&paged=1&s&_wpnonce=28be54c658
Aspect after-activation
HTTP status 200
Load time 0.623 s
Memory usage 3.88 MiB
JS errors None
Resource errors None

Benchmark

No benchmark data available.

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
PHP95.6%6994019
JSON4.0%2901
JavaScript0.3%202
CSS0.1%111
Total 731 402 13

PHP Code Analysis | More results »

Lines of code 619
Total complexity 132
Median class complexity 19.5
Median method complexity 2.0
Most complex class PostLockdown\PostLockdown
Most complex function PostLockdown\PostLockdown::_filter_cap()
Classes 6
Methods 53
Functions 0

Additions

No data available.

PHP Error Log 8 lines

[30-Jun-2026 13:20:40 UTC] PHP Warning:  require_once(/wp-content/plugins/post-lockdown/src/PostLockdown/BlockEditorNotice.php): Failed to open stream: No such file or directory in /wp-content/plugins/post-lockdown/post-lockdown.php on line 18
[30-Jun-2026 13:20:40 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '/wp-content/plugins/post-lockdown/src/PostLockdown/BlockEditorNotice.php' (include_path='.:/opt/bitnami/php/lib/php') in /wp-content/plugins/post-lockdown/post-lockdown.php:18
Stack trace:
#0 /wp-admin/includes/plugin.php(2381): include_once()
#1 /wp-admin/includes/plugin.php(673): plugin_sandbox_scrape()
#2 /wp-admin/plugins.php(60): activate_plugin()
#3 {main}
  thrown in /wp-content/plugins/post-lockdown/post-lockdown.php on line 18
See also: All tests for this plugin, How to Hide the "Post Lockdown" Admin Menu