Protect WordPress Uploads 1.2.2.8

Does Protect WordPress Uploads work with WordPress 6.5.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

No data available.

Environment
WordPress version6.5.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 400+
WordPress.org page https://wordpress.org/plugins/protect-wp-files/
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=protect-wp-files%2Fpwpf.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=protect-wp-files%2Fpwpf.php&plugin_status=all&paged=1&s&_wpnonce=d9201dc9ac
Aspect after-activation
HTTP status 200
Load time 0.294 s
Memory usage 3.37 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
CSS
PO File
JavaScript
Language % Lines of code Comment lines Files
PHP62.2%1,15046112
CSS12.7%23531
PO File10.9%201791
JavaScript9.4%17312
Markdown4.1%7501
SVG0.8%1412
Total 1,848 545 19

PHP Code Analysis | More results »

Lines of code 860
Total complexity 195
Median class complexity 5.0
Median method complexity 1.5
Most complex class PWPF_Hooks
Most complex function PWPF_Hooks::PWPF_unprotect_file()
Classes 7
Methods 60
Functions 3

Additions

No data available.

PHP Error Log 9 lines

[14-Apr-2024 04:12:56 UTC] PHP Fatal error:  Uncaught Error: Non-static method PWPF_Activator::activate() cannot be called statically in /wp-content/plugins/protect-wp-files/pwpf.php:58
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): PWPF_activate()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/includes/plugin.php(705): do_action()
#4 /wp-admin/plugins.php(60): activate_plugin()
#5 {main}
  thrown in /wp-content/plugins/protect-wp-files/pwpf.php on line 58
See also: All tests for this plugin