Plugin Detective - Troubleshooting 1.2.23

Does "Plugin Detective - Troubleshooting" work with WordPress 6.7 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: 4.59 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.7
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 5,000+
WordPress.org page https://wordpress.org/plugins/plugin-detective/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=plugin-detective%2Fplugin-detective.php&plugin_status=all&paged=1&s&_wpnonce=ff3ef74398
Aspect after-activation
HTTP status 200
Load time 0.262 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

Tools → Plugin Detective

Page screenshot: Tools → Plugin Detective
URL /wp-content/plugins/plugin-detective/troubleshoot/?session=1&nonce=e5993702c7
Requested URL /wp-admin/tools.php?page=plugin-detective
Aspect menu-item
HTTP status 500
Load time 0.069 s
Memory usage N/A
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.153 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.298 s0.225 s-0.073 s3.48 MiB3.5 MiB+ 17.83 KiB
/wp-admin/edit.php0.164 s0.172 s+0.008 s3.54 MiB3.56 MiB+ 16.06 KiB
/wp-admin/post-new.php0.671 s0.537 s-0.134 s5.92 MiB5.95 MiB+ 22.88 KiB
/wp-admin/upload.php0.473 s0.529 s+0.056 s3.49 MiB3.49 MiB- 1.35 KiB
/wp-admin/options-writing.php0.196 s0.172 s-0.024 s3.47 MiB3.47 MiB+ 2.64 KiB
/wp-admin/media-new.php0.239 s0.164 s-0.075 s3.46 MiB3.47 MiB+ 10.83 KiB
/wp-admin/edit-tags.php?taxonomy=category0.182 s0.174 s-0.008 s3.47 MiB3.5 MiB+ 21.51 KiB
/wp-admin/post-new.php?post_type=page0.501 s0.520 s+0.019 s5.92 MiB5.94 MiB+ 18.44 KiB
/wp-admin/options-discussion.php0.238 s0.234 s-0.004 s3.47 MiB3.47 MiB- 880 bytes
/wp-admin/edit-comments.php0.390 s0.197 s-0.193 s3.49 MiB3.49 MiB- 1.36 KiB
/0.255 s0.178 s-0.077 s3.48 MiB3.42 MiB- 56.07 KiB
Average 0.328 s0.282 s-0.046 s3.93 MiB3.93 MiB+ 4.59 KiB

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
Vuejs Component
JavaScript
Language % Lines of code Comment lines Files
PHP37.9%2,5851,53121
Vuejs Component31.9%2,1761828
JavaScript19.9%1,3595724
Sass7.2%493014
JSON2.1%14503
HTML0.5%3222
SVG0.3%1918
CSS0.1%401
Total 6,813 1,609 101

PHP Code Analysis | More results »

Lines of code 2,478
Total complexity 529
Median class complexity 21.0
Median method complexity 2.0
Most complex class PDT_String
Most complex function PDT_Constants::define_constants()
Classes 18
Methods 172
Functions 5

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 4

PHP Error Log 16 lines

[14-Nov-2024 03:01:15 UTC] PHP Fatal error:  Uncaught Error: Class "WP_Block_Metadata_Registry" not found in /wp-includes/blocks.php:391
Stack trace:
#0 /wp-includes/blocks/index.php(174): wp_register_block_metadata_collection()
#1 /wp-includes/class-wp-hook.php(324): wp_register_core_block_metadata_collection()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-content/plugins/plugin-detective/troubleshoot/includes/class-settings.php(717): do_action()
#5 /wp-content/plugins/plugin-detective/troubleshoot/troubleshoot.php(399): include_once('...')
#6 /wp-content/plugins/plugin-detective/troubleshoot/troubleshoot.php(19): PD_Troubleshoot::include_file()
#7 /wp-content/plugins/plugin-detective/troubleshoot/includes/class-bootstrap.php(35): pd_troubleshoot_autoload_classes()
#8 /wp-content/plugins/plugin-detective/troubleshoot/troubleshoot.php(115): PDT_Bootstrap->__construct()
#9 /wp-content/plugins/plugin-detective/troubleshoot/troubleshoot.php(102): PD_Troubleshoot->__construct()
#10 /wp-content/plugins/plugin-detective/troubleshoot/troubleshoot.php(462): PD_Troubleshoot::get_instance()
#11 /wp-content/plugins/plugin-detective/troubleshoot/index.php(5): pd_troubleshoot()
#12 {main}
  thrown in /wp-includes/blocks.php on line 391
See also: All tests for this plugin, How to Hide the "Plugin Detective" Admin Menu