Nocturne Dark Mode 1.2.3

Does Nocturne Dark Mode work with WordPress 6.6.2 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

No data available.

Environment
WordPress version6.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 200+
WordPress.org page https://wordpress.org/plugins/nocturne-dark-mode/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 1

WordPress › Error

Page screenshot: WordPress › Error
URL /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s=
Requested URL /wp-admin/plugins.php?action=activate&plugin=nocturne-dark-mode%2Fnocturne-dark-mode.php&plugin_status=all&paged=1&s&_wpnonce=c184b9a535
Aspect after-activation
HTTP status 500
Load time 0.291 s
Memory usage N/A
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
PHP98.6%43,65218,100129
Markdown0.5%21601
CSS0.5%2141118
JavaScript0.4%165337
JSON0.0%602
Total 44,253 18,144 157

PHP Code Analysis | More results »

Lines of code 34,015
Total complexity 6,280
Median class complexity 18.0
Median method complexity 2.0
Most complex class Freemius
Most complex function Nocturne_Elementor_Pro::add_dark_mode_section_controls()
Classes 59
Methods 1,340
Functions 106

Additions

No data available.

PHP Error Log 12 lines

[25-Sep-2024 02:46:31 UTC] PHP Fatal error:  Uncaught Error: Undefined constant "ELEMENTOR_VERSION" in /wp-content/plugins/nocturne-dark-mode/nocturne-dark-mode.php:185
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): Nocturne->init()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-settings.php(555): do_action()
#4 /wp-config.php(191): require_once('...')
#5 /wp-load.php(50): require_once('...')
#6 /wp-admin/admin.php(34): require_once('...')
#7 /wp-admin/plugins.php(10): require_once('...')
#8 {main}
  thrown in /wp-content/plugins/nocturne-dark-mode/nocturne-dark-mode.php on line 185
See also: All tests for this plugin