Password policy 1.0.4

Does Password policy work with WordPress 6.3 and PHP 8.1.12? A smoke test was performed on .

Summary

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

No data available.

Environment
WordPress version6.3
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/password-policy/
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=password-policy%2Fpassword-policy.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=password-policy%2Fpassword-policy.php&plugin_status=all&paged=1&s&_wpnonce=b11c4e065a
Aspect after-activation
HTTP status 200
Load time 0.315 s
Memory usage 2.76 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
Sass
CSS
Language % Lines of code Comment lines Files
PHP65.2%387737
Sass17.7%10501
CSS15.8%9411
JavaScript1.3%811
Total 594 75 10

PHP Code Analysis | More results »

Lines of code 285
Total complexity 63
Median class complexity 4.0
Median method complexity 1.0
Most complex class PSSP_Db
Most complex function pssp_display_page_user()
Classes 2
Methods 8
Functions 12

Additions

No data available.

PHP Error Log 34 lines

[18-Aug-2023 14:24:19 UTC] PHP Warning:  Undefined array key 0 in /wp-content/plugins/password-policy/src/class.db.php on line 24
[18-Aug-2023 14:24:19 UTC] PHP Warning:  Attempt to read property "option_value" on null in /wp-content/plugins/password-policy/src/class.db.php on line 24
[18-Aug-2023 14:24:19 UTC] PHP Deprecated:  json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /wp-content/plugins/password-policy/src/class.db.php on line 24
[18-Aug-2023 14:24:19 UTC] PHP Fatal error:  Uncaught TypeError: get_object_vars(): Argument #1 ($object) must be of type object, null given in /wp-content/plugins/password-policy/src/class.db.php:24
Stack trace:
#0 /wp-content/plugins/password-policy/src/class.db.php(24): get_object_vars()
#1 /wp-content/plugins/password-policy/password-policy.php(32): PSSP_Db->get_config()
#2 /wp-admin/includes/plugin.php(2318): include_once('...')
#3 /wp-admin/includes/plugin.php(663): plugin_sandbox_scrape()
#4 /wp-admin/plugins.php(58): activate_plugin()
#5 {main}
  thrown in /wp-content/plugins/password-policy/src/class.db.php on line 24
[18-Aug-2023 14:24:19 UTC] PHP Warning:  Undefined array key 0 in /wp-content/plugins/password-policy/src/class.db.php on line 24
[18-Aug-2023 14:24:19 UTC] PHP Warning:  Attempt to read property "option_value" on null in /wp-content/plugins/password-policy/src/class.db.php on line 24
[18-Aug-2023 14:24:19 UTC] PHP Deprecated:  json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /wp-content/plugins/password-policy/src/class.db.php on line 24
[18-Aug-2023 14:24:19 UTC] PHP Fatal error:  Uncaught TypeError: get_object_vars(): Argument #1 ($object) must be of type object, null given in /wp-content/plugins/password-policy/src/class.db.php:24
Stack trace:
#0 /wp-content/plugins/password-policy/src/class.db.php(24): get_object_vars()
#1 /wp-content/plugins/password-policy/password-policy.php(32): PSSP_Db->get_config()
#2 /wp-admin/includes/plugin.php(2318): include_once('...')
#3 /wp-admin/plugins.php(192): plugin_sandbox_scrape()
#4 {main}
  thrown in /wp-content/plugins/password-policy/src/class.db.php on line 24
[18-Aug-2023 14:24:19 UTC] PHP Warning:  Undefined array key 0 in /wp-content/plugins/password-policy/src/class.db.php on line 24
[18-Aug-2023 14:24:19 UTC] PHP Warning:  Attempt to read property "option_value" on null in /wp-content/plugins/password-policy/src/class.db.php on line 24
[18-Aug-2023 14:24:19 UTC] PHP Deprecated:  json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /wp-content/plugins/password-policy/src/class.db.php on line 24
[18-Aug-2023 14:24:19 UTC] PHP Fatal error:  Uncaught TypeError: get_object_vars(): Argument #1 ($object) must be of type object, null given in /wp-content/plugins/password-policy/src/class.db.php:24
Stack trace:
#0 /wp-content/plugins/password-policy/src/class.db.php(24): get_object_vars()
#1 /wp-content/plugins/password-policy/password-policy.php(32): PSSP_Db->get_config()
#2 /wp-admin/includes/plugin.php(2318): include_once('...')
#3 /wp-admin/plugins.php(192): plugin_sandbox_scrape()
#4 {main}
  thrown in /wp-content/plugins/password-policy/src/class.db.php on line 24
See also: All tests for this plugin