WP Dark Mode 3.0.5

Does WP Dark Mode work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

No data available.

Environment
WordPress version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20,000+
WordPress.org page https://wordpress.org/plugins/wp-dark-mode/
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=wp-dark-mode%2Fplugin.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=wp-dark-mode%2Fplugin.php&plugin_status=all&paged=1&s&_wpnonce=3e6cda3bbf
Aspect after-activation
HTTP status 200
Load time 0.253 s
Memory usage 2.99 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
Language % Lines of code Comment lines Files
PHP67.6%11,7442,82969
CSS23.8%4,1253818
SVG5.5%961046
Markdown1.5%25501
JavaScript1.5%253710
JSON0.1%2501
Total 17,363 2,874 145

PHP Code Analysis | More results »

Lines of code 10,147
Total complexity 1,989
Median class complexity 31.0
Median method complexity 2.0
Most complex class scssc
Most complex function scss_parser::parseChunk()
Classes 29
Methods 505
Functions 16

Additions

No data available.

PHP Error Log 37 lines

[28-Dec-2022 07:09:17 UTC] PHP Warning:  include_once(/wp-content/plugins/wp-dark-mode/includes/wppool/src/Plugin.php): Failed to open stream: No such file or directory in /wp-content/plugins/wp-dark-mode/includes/base.php on line 191
[28-Dec-2022 07:09:17 UTC] PHP Warning:  include_once(): Failed opening '/wp-content/plugins/wp-dark-mode/includes/wppool/src/Plugin.php' for inclusion (include_path='.:/opt/bitnami/php/lib/php') in /wp-content/plugins/wp-dark-mode/includes/base.php on line 191
[28-Dec-2022 07:09:17 UTC] PHP Fatal error:  Uncaught Error: Class "WPPOOL\Plugin" not found in /wp-content/plugins/wp-dark-mode/includes/base.php:71
Stack trace:
#0 /wp-content/plugins/wp-dark-mode/includes/base.php(342): WP_Dark_Mode->__construct()
#1 /wp-content/plugins/wp-dark-mode/includes/base.php(371): WP_Dark_Mode::instance()
#2 /wp-content/plugins/wp-dark-mode/includes/base.php(376): wp_dark_mode()
#3 /wp-content/plugins/wp-dark-mode/plugin.php(29): include_once('...')
#4 /wp-admin/includes/plugin.php(2314): include_once('...')
#5 /wp-admin/includes/plugin.php(661): plugin_sandbox_scrape()
#6 /wp-admin/plugins.php(58): activate_plugin()
#7 {main}
  thrown in /wp-content/plugins/wp-dark-mode/includes/base.php on line 71
[28-Dec-2022 07:09:17 UTC] PHP Warning:  include_once(/wp-content/plugins/wp-dark-mode/includes/wppool/src/Plugin.php): Failed to open stream: No such file or directory in /wp-content/plugins/wp-dark-mode/includes/base.php on line 191
[28-Dec-2022 07:09:17 UTC] PHP Warning:  include_once(): Failed opening '/wp-content/plugins/wp-dark-mode/includes/wppool/src/Plugin.php' for inclusion (include_path='.:/opt/bitnami/php/lib/php') in /wp-content/plugins/wp-dark-mode/includes/base.php on line 191
[28-Dec-2022 07:09:17 UTC] PHP Fatal error:  Uncaught Error: Class "WPPOOL\Plugin" not found in /wp-content/plugins/wp-dark-mode/includes/base.php:71
Stack trace:
#0 /wp-content/plugins/wp-dark-mode/includes/base.php(342): WP_Dark_Mode->__construct()
#1 /wp-content/plugins/wp-dark-mode/includes/base.php(371): WP_Dark_Mode::instance()
#2 /wp-content/plugins/wp-dark-mode/includes/base.php(376): wp_dark_mode()
#3 /wp-content/plugins/wp-dark-mode/plugin.php(29): include_once('...')
#4 /wp-admin/includes/plugin.php(2314): include_once('...')
#5 /wp-admin/plugins.php(192): plugin_sandbox_scrape()
#6 {main}
  thrown in /wp-content/plugins/wp-dark-mode/includes/base.php on line 71
[28-Dec-2022 07:09:17 UTC] PHP Warning:  include_once(/wp-content/plugins/wp-dark-mode/includes/wppool/src/Plugin.php): Failed to open stream: No such file or directory in /wp-content/plugins/wp-dark-mode/includes/base.php on line 191
[28-Dec-2022 07:09:17 UTC] PHP Warning:  include_once(): Failed opening '/wp-content/plugins/wp-dark-mode/includes/wppool/src/Plugin.php' for inclusion (include_path='.:/opt/bitnami/php/lib/php') in /wp-content/plugins/wp-dark-mode/includes/base.php on line 191
[28-Dec-2022 07:09:17 UTC] PHP Fatal error:  Uncaught Error: Class "WPPOOL\Plugin" not found in /wp-content/plugins/wp-dark-mode/includes/base.php:71
Stack trace:
#0 /wp-content/plugins/wp-dark-mode/includes/base.php(342): WP_Dark_Mode->__construct()
#1 /wp-content/plugins/wp-dark-mode/includes/base.php(371): WP_Dark_Mode::instance()
#2 /wp-content/plugins/wp-dark-mode/includes/base.php(376): wp_dark_mode()
#3 /wp-content/plugins/wp-dark-mode/plugin.php(29): include_once('...')
#4 /wp-admin/includes/plugin.php(2314): include_once('...')
#5 /wp-admin/plugins.php(192): plugin_sandbox_scrape()
#6 {main}
  thrown in /wp-content/plugins/wp-dark-mode/includes/base.php on line 71
See also: All tests for this plugin, How to Hide WP Dark Mode Admin Menus and Widgets