DN Cookie Notice 1.2.1

Does DN Cookie Notice work with WordPress 6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
6PHP warnings
16PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 2.9 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.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 30+
WordPress.org page https://wordpress.org/plugins/dn-cookie-notice/
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=dn-cookie-notice%2Fdn-cookie-notice.php&plugin_status=all&paged=1&s&_wpnonce=9a78eb0d64
Aspect after-activation
HTTP status 200
Load time 0.392 s
Memory usage 3.02 MiB
JS errors None
Resource errors None

Settings → DN Cookie Notice

Page screenshot: Settings → DN Cookie Notice
URL /wp-admin/options-general.php?page=dn_cookie_notice_menage
Aspect menu-item
HTTP status 200
Load time 0.160 s
Memory usage 3.02 MiB
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.231 s
Memory usage 2.97 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.287 s0.246 s-0.041 s3.07 MiB3.08 MiB+ 10.59 KiB
/wp-admin/edit.php0.191 s0.191 s+0.000 s3.1 MiB3.11 MiB+ 10.59 KiB
/wp-admin/post-new.php0.756 s0.947 s+0.191 s5.02 MiB5.03 MiB+ 14.95 KiB
/wp-admin/upload.php0.523 s0.302 s-0.221 s3.02 MiB3.01 MiB- 6.08 KiB
/wp-admin/options-writing.php0.148 s0.143 s-0.005 s3.01 MiB2.99 MiB- 19.32 KiB
/wp-admin/media-new.php0.268 s0.190 s-0.078 s2.99 MiB3 MiB+ 6.11 KiB
/wp-admin/edit-tags.php?taxonomy=category0.212 s0.300 s+0.088 s3.01 MiB3.02 MiB+ 11.28 KiB
/wp-admin/post-new.php?post_type=page0.593 s0.628 s+0.035 s5.01 MiB5.02 MiB+ 10.54 KiB
/wp-admin/options-discussion.php0.202 s0.220 s+0.018 s3 MiB2.99 MiB- 5.59 KiB
/wp-admin/edit-comments.php0.188 s0.225 s+0.037 s3.03 MiB3.02 MiB- 6.83 KiB
/0.295 s0.222 s-0.073 s2.97 MiB2.98 MiB+ 5.71 KiB
Average 0.333 s0.329 s-0.004 s3.38 MiB3.39 MiB+ 2.9 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
PO File
Language % Lines of code Comment lines Files
PHP67.6%150201
PO File32.4%721521
Total 222 172 2

PHP Code Analysis | More results »

Lines of code 160
Total complexity 44
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function dn_cookie_notice_banner()
Classes 0
Methods 0
Functions 11

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.

No new entries found.

PHP Error Log 22 lines

[10-Apr-2023 13:12:27 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5865
[10-Apr-2023 13:12:28 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5865
[10-Apr-2023 13:12:28 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5865
[10-Apr-2023 13:12:28 UTC] PHP Warning:  Undefined variable $options_for_cookies_policy in /wp-content/plugins/dn-cookie-notice/dn-cookie-notice.php on line 28
[10-Apr-2023 13:12:28 UTC] PHP Warning:  Undefined variable $options_for_cookies_banner in /wp-content/plugins/dn-cookie-notice/dn-cookie-notice.php on line 29
[10-Apr-2023 13:12:28 UTC] PHP Warning:  Undefined array key "status" in /wp-content/plugins/dn-cookie-notice/dn-cookie-notice.php on line 40
[10-Apr-2023 13:12:28 UTC] PHP Warning:  Undefined array key "position" in /wp-content/plugins/dn-cookie-notice/dn-cookie-notice.php on line 50
[10-Apr-2023 13:12:29 UTC] PHP Warning:  Undefined array key "status" in /wp-content/plugins/dn-cookie-notice/dn-cookie-notice.php on line 115
[10-Apr-2023 13:12:30 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5865
[10-Apr-2023 13:12:30 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5865
[10-Apr-2023 13:12:31 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5865
[10-Apr-2023 13:12:33 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5865
[10-Apr-2023 13:12:33 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5865
[10-Apr-2023 13:12:33 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5865
[10-Apr-2023 13:12:34 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5865
[10-Apr-2023 13:12:34 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5865
[10-Apr-2023 13:12:36 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5865
[10-Apr-2023 13:12:36 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5865
[10-Apr-2023 13:12:37 UTC] PHP Warning:  Undefined array key "status" in /wp-content/plugins/dn-cookie-notice/dn-cookie-notice.php on line 115
[10-Apr-2023 13:12:37 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5865
[10-Apr-2023 13:12:37 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5865
[10-Apr-2023 13:12:37 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5865
See also: All tests for this plugin, How to Hide the "Simple Cookie Notice" Admin Menu