EU Cookie Law 3.1.6

Does EU Cookie Law work with WordPress 6.8.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
29PHP warnings
1PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 6.93 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.8.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 100,000+
WordPress.org page https://wordpress.org/plugins/eu-cookie-law/
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=eu-cookie-law%2Feu-cookie-law.php&plugin_status=all&paged=1&s&_wpnonce=6e457b6e4e
Aspect after-activation
HTTP status 200
Load time 0.264 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

Settings → EU Cookie Law

Page screenshot: Settings → EU Cookie Law
URL /wp-admin/options-general.php?page=peadig_eucookie
Aspect menu-item
HTTP status 200
Load time 0.359 s
Memory usage 3.52 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.199 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.299 s0.278 s-0.021 s3.51 MiB3.51 MiB+ 9.46 KiB
/wp-admin/edit.php0.196 s0.171 s-0.025 s3.57 MiB3.58 MiB+ 10.29 KiB
/wp-admin/post-new.php0.756 s0.624 s-0.132 s6.06 MiB6.07 MiB+ 13.09 KiB
/wp-admin/upload.php0.631 s0.451 s-0.180 s3.52 MiB3.52 MiB- 7.12 KiB
/wp-admin/options-writing.php0.215 s0.381 s+0.166 s3.5 MiB3.5 MiB- 3.13 KiB
/wp-admin/media-new.php0.263 s0.231 s-0.032 s3.49 MiB3.5 MiB+ 5.07 KiB
/wp-admin/edit-tags.php?taxonomy=category0.201 s0.204 s+0.003 s3.5 MiB3.52 MiB+ 15.74 KiB
/wp-admin/post-new.php?post_type=page0.593 s0.603 s+0.010 s6.05 MiB6.06 MiB+ 8.62 KiB
/wp-admin/options-discussion.php0.451 s0.396 s-0.055 s3.5 MiB3.5 MiB- 6.63 KiB
/wp-admin/edit-comments.php0.223 s0.207 s-0.016 s3.52 MiB3.52 MiB- 7.13 KiB
/0.486 s0.211 s-0.275 s3.43 MiB3.47 MiB+ 37.95 KiB
Average 0.392 s0.342 s-0.051 s3.97 MiB3.98 MiB+ 6.93 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
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP62.9%562165
JavaScript18.0%16183
CSS17.3%15521
XML1.8%1601
Total 894 26 10

PHP Code Analysis | More results »

Lines of code 574
Total complexity 68
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function peadig_eucookie_options()
Classes 0
Methods 0
Functions 25

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 2

PHP Error Log 30 lines

[15-Jul-2025 20:09:35 UTC] PHP Warning:  Undefined array key "port" in /wp-content/plugins/eu-cookie-law/defaults.php on line 52
[15-Jul-2025 20:09:35 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/eu-cookie-law/defaults.php on line 33
[15-Jul-2025 20:09:35 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/eu-cookie-law/defaults.php on line 34
[15-Jul-2025 20:09:35 UTC] PHP Warning:  Undefined array key "length" in /wp-content/plugins/eu-cookie-law/defaults.php on line 33
[15-Jul-2025 20:09:35 UTC] PHP Warning:  Undefined array key "position" in /wp-content/plugins/eu-cookie-law/defaults.php on line 33
[15-Jul-2025 20:09:35 UTC] PHP Warning:  Undefined array key "barmessage" in /wp-content/plugins/eu-cookie-law/defaults.php on line 33
[15-Jul-2025 20:09:35 UTC] PHP Warning:  Undefined array key "barlink" in /wp-content/plugins/eu-cookie-law/defaults.php on line 33
[15-Jul-2025 20:09:35 UTC] PHP Warning:  Undefined array key "barbutton" in /wp-content/plugins/eu-cookie-law/defaults.php on line 33
[15-Jul-2025 20:09:35 UTC] PHP Warning:  Undefined array key "closelink" in /wp-content/plugins/eu-cookie-law/defaults.php on line 33
[15-Jul-2025 20:09:35 UTC] PHP Warning:  Undefined array key "boxcontent" in /wp-content/plugins/eu-cookie-law/defaults.php on line 33
[15-Jul-2025 20:09:35 UTC] PHP Warning:  Undefined array key "bhtmlcontent" in /wp-content/plugins/eu-cookie-law/defaults.php on line 33
[15-Jul-2025 20:09:35 UTC] PHP Warning:  Undefined array key "backgroundcolor" in /wp-content/plugins/eu-cookie-law/defaults.php on line 33
[15-Jul-2025 20:09:35 UTC] PHP Warning:  Undefined array key "fontcolor" in /wp-content/plugins/eu-cookie-law/defaults.php on line 33
[15-Jul-2025 20:09:35 UTC] PHP Warning:  Undefined array key "autoblock" in /wp-content/plugins/eu-cookie-law/defaults.php on line 33
[15-Jul-2025 20:09:35 UTC] PHP Warning:  Undefined array key "boxlinkblank" in /wp-content/plugins/eu-cookie-law/defaults.php on line 33
[15-Jul-2025 20:09:35 UTC] PHP Warning:  Undefined array key "tinymcebutton" in /wp-content/plugins/eu-cookie-law/defaults.php on line 33
[15-Jul-2025 20:09:35 UTC] PHP Warning:  Undefined array key "scrollconsent" in /wp-content/plugins/eu-cookie-law/defaults.php on line 33
[15-Jul-2025 20:09:35 UTC] PHP Warning:  Undefined array key "navigationconsent" in /wp-content/plugins/eu-cookie-law/defaults.php on line 33
[15-Jul-2025 20:09:35 UTC] PHP Warning:  Undefined array key "networkshare" in /wp-content/plugins/eu-cookie-law/defaults.php on line 33
[15-Jul-2025 20:09:35 UTC] PHP Warning:  Undefined array key "onlyeuropean" in /wp-content/plugins/eu-cookie-law/defaults.php on line 33
[15-Jul-2025 20:09:35 UTC] PHP Warning:  Undefined array key "customurl" in /wp-content/plugins/eu-cookie-law/defaults.php on line 33
[15-Jul-2025 20:09:35 UTC] PHP Warning:  Undefined array key "cc-disablecookie" in /wp-content/plugins/eu-cookie-law/defaults.php on line 33
[15-Jul-2025 20:09:35 UTC] PHP Warning:  Undefined array key "cc-cookieenabled" in /wp-content/plugins/eu-cookie-law/defaults.php on line 33
[15-Jul-2025 20:09:35 UTC] PHP Warning:  Undefined array key "cc-cookiedisabled" in /wp-content/plugins/eu-cookie-law/defaults.php on line 33
[15-Jul-2025 20:09:35 UTC] PHP Warning:  Undefined array key "networkshareurl" in /wp-content/plugins/eu-cookie-law/defaults.php on line 33
[15-Jul-2025 20:09:35 UTC] PHP Warning:  Undefined array key "exclude_script" in /wp-content/plugins/eu-cookie-law/defaults.php on line 33
[15-Jul-2025 20:09:36 UTC] PHP Warning:  Undefined array key "port" in /wp-content/plugins/eu-cookie-law/defaults.php on line 52
[15-Jul-2025 20:09:36 UTC] PHP Warning:  Undefined array key "lengthnum" in /wp-content/plugins/eu-cookie-law/class-admin.php on line 96
[15-Jul-2025 20:09:36 UTC] PHP Warning:  Undefined array key "boxlinkid" in /wp-content/plugins/eu-cookie-law/class-admin.php on line 178
[15-Jul-2025 20:09:36 UTC] PHP Warning:  Undefined array key "boxlinkid" in /wp-content/plugins/eu-cookie-law/class-admin.php on line 190
See also: All tests for this plugin, How to Hide the "EU Cookie Law" Admin Menu