Home
Protect WordPress Uploads
1.2.2.8 (latest)
Does Protect WordPress Uploads work with WordPress 6.5.2 and PHP 8.1.12? A smoke test was performed on 2024-04-14 04:12:36 UTC .
Summary
Errors
The plugin could not be activated
1 PHP fatal errors
No JavaScript exceptions
No resource errors
Environment
WordPress version 6.5.2 PHP version 8.1.12 MySQL version 10.6.10 PHP memory limit 512M
Pages 1 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.
Language
%
Lines of code
Comment lines
Files
PHP 62.2% 1,150 461 12 CSS 12.7% 235 3 1 PO File 10.9% 201 79 1 JavaScript 9.4% 173 1 2 Markdown 4.1% 75 0 1 SVG 0.8% 14 1 2
Total
1,848
545
19
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