Does WP Cookie Consent work with WordPress 6.4.1 and PHP 8.1.12? A smoke test was performed on .
2 | PHP fatal errors |
12 | PHP deprecation warnings |
No JavaScript exceptions | |
All test pages loaded successfully | |
No resource errors |
Memory usage: 106.37 KiB
The average PHP memory usage increased by this amount after activating by the plugin.
Page speed impact:
0.027 seconds
The average page load time increased by this amount after activating the plugin.
WordPress version | 6.4.1 |
---|---|
PHP version | 8.1.12 |
MySQL version | 10.6.10 |
PHP memory limit | 512M |
Last updated | |
---|---|
Active installs | 9,000+ |
WordPress.org page | https://wordpress.org/plugins/gdpr-cookie-consent/ |
Badges |
Get badge code |
URL | /wp-admin/admin.php?page=gdpr-cookie-consent-wizard |
---|---|
Requested URL | /wp-admin/plugins.php?action=activate&plugin=gdpr-cookie-consent%2Fgdpr-cookie-consent.php&plugin_status=all&paged=1&s&_wpnonce=8d276416d7 |
Aspect | after-activation |
HTTP status | 200 |
Load time | 1.697 s |
Memory usage | 4.34 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=gdpr-cookie-consent |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.804 s |
Memory usage | 3.57 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=gdpr-cookie-consent-wizard |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 1.114 s |
Memory usage | 3.57 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=gdpr-cookie-consent-settings |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 1.820 s |
Memory usage | 4.03 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/edit.php?post_type=gdprpolicies |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.324 s |
Memory usage | 3.46 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.365 s |
Memory usage | 3.98 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.375 s | 0.488 s | +0.113 s | 3.38 MiB | 3.49 MiB | + 112.48 KiB |
/wp-admin/edit.php | 0.333 s | 0.338 s | +0.005 s | 3.41 MiB | 3.52 MiB | + 118.23 KiB |
/wp-admin/upload.php | 0.708 s | 0.337 s | -0.371 s | 3.32 MiB | 3.4 MiB | + 83.12 KiB |
/wp-admin/options-writing.php | 0.222 s | 0.321 s | +0.099 s | 3.32 MiB | 3.41 MiB | + 97.31 KiB |
/wp-admin/media-new.php | 0.314 s | 0.331 s | +0.017 s | 3.29 MiB | 3.4 MiB | + 112.5 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.204 s | 0.289 s | +0.085 s | 3.31 MiB | 3.44 MiB | + 130.68 KiB |
/wp-admin/options-discussion.php | 0.271 s | 0.446 s | +0.175 s | 3.3 MiB | 3.41 MiB | + 107.61 KiB |
/wp-admin/edit-comments.php | 0.255 s | 0.352 s | +0.097 s | 3.34 MiB | 3.43 MiB | + 102.2 KiB |
/ | 0.269 s | 0.288 s | +0.019 s | 3.36 MiB | 3.45 MiB | + 93.21 KiB |
Average | 0.328 s | 0.354 s | +0.027 s | 3.34 MiB | 3.44 MiB | + 106.37 KiB |
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.
Language | % | Lines of code | Comment lines | Files | |
---|---|---|---|---|---|
JavaScript | 40.3% | 18,620 | 3,103 | 16 | |
PHP | 30.1% | 13,933 | 1,776 | 39 | |
PO File | 14.4% | 6,663 | 3,850 | 10 | |
CSS | 11.1% | 5,139 | 104 | 5 | |
Twig | 2.8% | 1,275 | 0 | 11 | |
JSON | 1.0% | 459 | 0 | 2 | |
XML | 0.3% | 121 | 0 | 1 | |
SVG | 0.0% | 7 | 0 | 2 | |
Total | 46,217 | 8,833 | 86 |
Lines of code | 7,604 |
---|---|
Total complexity | 1,051 |
Median class complexity | 35.0 |
Median method complexity | 2.0 |
Most complex class | Gdpr_Cookie_Consent_Admin |
Most complex function | Gdpr_Cookie_Consent_Admin::gdpr_cookie_consent_ajax_save_settings() |
Classes | 12 |
---|---|
Methods | 121 |
Functions | 8 |
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.
wp_options
5ID | Name |
---|---|
gdprpolicies | Policy Data |
[14-Nov-2023 11:22:07 UTC] PHP Deprecated: Return type of Timber\QueryIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/gdpr-cookie-consent/vendor/timber/timber/lib/QueryIterator.php on line 137
[14-Nov-2023 11:22:07 UTC] PHP Deprecated: Return type of Timber\QueryIterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/gdpr-cookie-consent/vendor/timber/timber/lib/QueryIterator.php on line 150
[14-Nov-2023 11:22:07 UTC] PHP Deprecated: Return type of Timber\QueryIterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/gdpr-cookie-consent/vendor/timber/timber/lib/QueryIterator.php on line 156
[14-Nov-2023 11:22:07 UTC] PHP Deprecated: Return type of Timber\QueryIterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/gdpr-cookie-consent/vendor/timber/timber/lib/QueryIterator.php on line 133
[14-Nov-2023 11:22:07 UTC] PHP Deprecated: Return type of Timber\QueryIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/gdpr-cookie-consent/vendor/timber/timber/lib/QueryIterator.php on line 152
[14-Nov-2023 11:22:07 UTC] PHP Deprecated: Return type of Timber\QueryIterator::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/gdpr-cookie-consent/vendor/timber/timber/lib/QueryIterator.php on line 202
[14-Nov-2023 11:22:09 UTC] PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class Gdpr_Cookie_Consent_Admin does not have a method "gdpr_cookie_data_endpoint" in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-includes/rest-api.php(593): do_action()
#3 /wp-includes/rest-api.php(551): rest_get_server()
#4 /wp-includes/rest-api.php(2918): rest_do_request()
#5 [internal function]: rest_preload_api_request()
#6 /wp-includes/block-editor.php(753): array_reduce()
#7 /wp-admin/edit-form-blocks.php(77): block_editor_rest_api_preload()
#8 /wp-admin/post-new.php(72): require('...')
#9 {main}
thrown in /wp-includes/class-wp-hook.php on line 324
[14-Nov-2023 11:22:10 UTC] PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class Gdpr_Cookie_Consent_Admin does not have a method "gdpr_cookie_data_endpoint" in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-includes/rest-api.php(593): do_action()
#3 /wp-includes/rest-api.php(551): rest_get_server()
#4 /wp-includes/rest-api.php(2918): rest_do_request()
#5 [internal function]: rest_preload_api_request()
#6 /wp-includes/block-editor.php(753): array_reduce()
#7 /wp-admin/edit-form-blocks.php(77): block_editor_rest_api_preload()
#8 /wp-admin/post-new.php(72): require('...')
#9 {main}
thrown in /wp-includes/class-wp-hook.php on line 324
[14-Nov-2023 11:22:11 UTC] PHP Deprecated: Return type of Timber\QueryIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/gdpr-cookie-consent/vendor/timber/timber/lib/QueryIterator.php on line 137
[14-Nov-2023 11:22:11 UTC] PHP Deprecated: Return type of Timber\QueryIterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/gdpr-cookie-consent/vendor/timber/timber/lib/QueryIterator.php on line 150
[14-Nov-2023 11:22:11 UTC] PHP Deprecated: Return type of Timber\QueryIterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/gdpr-cookie-consent/vendor/timber/timber/lib/QueryIterator.php on line 156
[14-Nov-2023 11:22:11 UTC] PHP Deprecated: Return type of Timber\QueryIterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/gdpr-cookie-consent/vendor/timber/timber/lib/QueryIterator.php on line 133
[14-Nov-2023 11:22:11 UTC] PHP Deprecated: Return type of Timber\QueryIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/gdpr-cookie-consent/vendor/timber/timber/lib/QueryIterator.php on line 152
[14-Nov-2023 11:22:11 UTC] PHP Deprecated: Return type of Timber\QueryIterator::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/gdpr-cookie-consent/vendor/timber/timber/lib/QueryIterator.php on line 202