Legislator Search 0.1.0

Does FJL Legislator Search work with WordPress 6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

No data available.

Environment
WordPress version6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/legislator-search/
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=legislator-search%2Flegislator-search.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=legislator-search%2Flegislator-search.php&plugin_status=all&paged=1&s&_wpnonce=a451f635d8
Aspect after-activation
HTTP status 200
Load time 0.243 s
Memory usage 3.01 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
PHP86.8%4283025
JavaScript6.1%3001
CSS3.7%1801
PO File3.4%1701
Total 493 302 8

PHP Code Analysis | More results »

Lines of code 385
Total complexity 75
Median class complexity 6.0
Median method complexity 2.0
Most complex class SunlightData
Most complex function SunlightData::_process()
Classes 11
Methods 37
Functions 0

Additions

No data available.

PHP Error Log 22 lines

[21-Apr-2023 01:35:38 UTC] PHP Fatal error:  Uncaught Error: Undefined constant "PLUGIN_LOCALE" in /wp-content/plugins/legislator-search/legislator-search.php:38
Stack trace:
#0 /wp-content/plugins/legislator-search/legislator-search.php(160): LegislatorSearch->__construct()
#1 /wp-admin/includes/plugin.php(2314): include_once('...')
#2 /wp-admin/includes/plugin.php(661): plugin_sandbox_scrape()
#3 /wp-admin/plugins.php(58): activate_plugin()
#4 {main}
  thrown in /wp-content/plugins/legislator-search/legislator-search.php on line 38
[21-Apr-2023 01:35:38 UTC] PHP Fatal error:  Uncaught Error: Undefined constant "PLUGIN_LOCALE" in /wp-content/plugins/legislator-search/legislator-search.php:38
Stack trace:
#0 /wp-content/plugins/legislator-search/legislator-search.php(160): LegislatorSearch->__construct()
#1 /wp-admin/includes/plugin.php(2314): include_once('...')
#2 /wp-admin/plugins.php(192): plugin_sandbox_scrape()
#3 {main}
  thrown in /wp-content/plugins/legislator-search/legislator-search.php on line 38
[21-Apr-2023 01:35:39 UTC] PHP Fatal error:  Uncaught Error: Undefined constant "PLUGIN_LOCALE" in /wp-content/plugins/legislator-search/legislator-search.php:38
Stack trace:
#0 /wp-content/plugins/legislator-search/legislator-search.php(160): LegislatorSearch->__construct()
#1 /wp-admin/includes/plugin.php(2314): include_once('...')
#2 /wp-admin/plugins.php(192): plugin_sandbox_scrape()
#3 {main}
  thrown in /wp-content/plugins/legislator-search/legislator-search.php on line 38
See also: All tests for this plugin