DN Cookie Notice 0.9.4

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

Summary

Errors
22PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 1.05 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 version5.8.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=3760dd2ff7
Aspect after-activation
HTTP status 200
Load time 0.382 s
Memory usage 3.05 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.139 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.190 s
Memory usage 2.92 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.311 s0.275 s-0.036 s3.08 MiB3.09 MiB+ 6.72 KiB
/wp-admin/edit.php0.174 s0.181 s+0.007 s3.11 MiB3.12 MiB+ 6.72 KiB
/wp-admin/post-new.php0.901 s1.064 s+0.163 s5.27 MiB5.28 MiB+ 11.08 KiB
/wp-admin/upload.php0.512 s0.316 s-0.196 s3.03 MiB3.04 MiB+ 6.19 KiB
/wp-admin/options-writing.php0.145 s0.129 s-0.016 s3.02 MiB3.01 MiB- 9.84 KiB
/wp-admin/media-new.php0.439 s0.195 s-0.244 s3.01 MiB3.01 MiB+ 6.36 KiB
/wp-admin/edit-tags.php?taxonomy=category0.182 s0.179 s-0.003 s3.04 MiB3.05 MiB+ 7.27 KiB
/wp-admin/post-new.php?post_type=page0.842 s0.996 s+0.154 s5.26 MiB5.26 MiB+ 6.66 KiB
/wp-admin/options-discussion.php0.275 s0.250 s-0.025 s3 MiB3.01 MiB+ 6.67 KiB
/wp-admin/edit-comments.php0.212 s0.200 s-0.012 s3.04 MiB3.05 MiB+ 5.57 KiB
/0.248 s0.192 s-0.056 s2.96 MiB2.92 MiB- 41.8 KiB
Average 0.386 s0.362 s-0.024 s3.44 MiB3.44 MiB+ 1.05 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

[16-Nov-2021 03:57:54 UTC] PHP Notice:  add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be an integer representing menu position. Please see <a href="https://wordpress.org/support/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 5663
[16-Nov-2021 03:57:54 UTC] PHP Notice:  add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be an integer representing menu position. Please see <a href="https://wordpress.org/support/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 5663
[16-Nov-2021 03:57:55 UTC] PHP Notice:  add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be an integer representing menu position. Please see <a href="https://wordpress.org/support/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 5663
[16-Nov-2021 03:57:55 UTC] PHP Notice:  Undefined variable: options_for_cookies_policy in /wp-content/plugins/dn-cookie-notice/dn-cookie-notice.php on line 28
[16-Nov-2021 03:57:55 UTC] PHP Notice:  Undefined variable: options_for_cookies_banner in /wp-content/plugins/dn-cookie-notice/dn-cookie-notice.php on line 29
[16-Nov-2021 03:57:55 UTC] PHP Notice:  Undefined index: status in /wp-content/plugins/dn-cookie-notice/dn-cookie-notice.php on line 40
[16-Nov-2021 03:57:55 UTC] PHP Notice:  Undefined index: position in /wp-content/plugins/dn-cookie-notice/dn-cookie-notice.php on line 50
[16-Nov-2021 03:57:55 UTC] PHP Notice:  Undefined index: status in /wp-content/plugins/dn-cookie-notice/dn-cookie-notice.php on line 115
[16-Nov-2021 03:57:55 UTC] PHP Notice:  add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be an integer representing menu position. Please see <a href="https://wordpress.org/support/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 5663
[16-Nov-2021 03:57:56 UTC] PHP Notice:  add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be an integer representing menu position. Please see <a href="https://wordpress.org/support/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 5663
[16-Nov-2021 03:57:56 UTC] PHP Notice:  add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be an integer representing menu position. Please see <a href="https://wordpress.org/support/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 5663
[16-Nov-2021 03:57:58 UTC] PHP Notice:  add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be an integer representing menu position. Please see <a href="https://wordpress.org/support/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 5663
[16-Nov-2021 03:57:58 UTC] PHP Notice:  add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be an integer representing menu position. Please see <a href="https://wordpress.org/support/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 5663
[16-Nov-2021 03:57:59 UTC] PHP Notice:  add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be an integer representing menu position. Please see <a href="https://wordpress.org/support/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 5663
[16-Nov-2021 03:57:59 UTC] PHP Notice:  add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be an integer representing menu position. Please see <a href="https://wordpress.org/support/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 5663
[16-Nov-2021 03:57:59 UTC] PHP Notice:  add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be an integer representing menu position. Please see <a href="https://wordpress.org/support/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 5663
[16-Nov-2021 03:58:01 UTC] PHP Notice:  add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be an integer representing menu position. Please see <a href="https://wordpress.org/support/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 5663
[16-Nov-2021 03:58:01 UTC] PHP Notice:  add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be an integer representing menu position. Please see <a href="https://wordpress.org/support/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 5663
[16-Nov-2021 03:58:01 UTC] PHP Notice:  Undefined index: status in /wp-content/plugins/dn-cookie-notice/dn-cookie-notice.php on line 115
[16-Nov-2021 03:58:01 UTC] PHP Notice:  add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be an integer representing menu position. Please see <a href="https://wordpress.org/support/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 5663
[16-Nov-2021 03:58:02 UTC] PHP Notice:  add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be an integer representing menu position. Please see <a href="https://wordpress.org/support/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 5663
[16-Nov-2021 03:58:02 UTC] PHP Notice:  add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be an integer representing menu position. Please see <a href="https://wordpress.org/support/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 5663
See also: All tests for this plugin, How to Hide the "Simple Cookie Notice" Admin Menu