Getting this error multiple times per minute – quickly filling up my error log:
PHP Warning: A non-numeric value encountered in /home/<obscured>/public_html/wp-content/plugins/gdpr-cookie-consent/public/templates/modals/classic.php on line 395
Looks like it may have begun on March 8, 2025. Please diagnose & correct this error ASAP. Thank you.
]]>Hello WPeka,
Happy New Year!
I hope this message finds you well.
We would like to let you know that in the light of the recent updates (current version 3.6.8) a previously resolved issue has returned again.
Plugin versions 2.2.4 and 2.3.9 have successfully resolved the issue about HTML link tags getting removed from the Cookie Notice in the frontend. However, it seems that issue has returned again.
Here is an example “GDPR Message”:
<a >Example.com</a>, uses cookies in order to blah blah blah...
Unfortunately, the plugin strips off the link tag:
<a ></a>
With regard to my previously suggested fixes (here and here) , it is possible that the same approach might be eligible for the current version.
For example:
File: gdpr-cookie-consent/public/templates/skins/default.php
Line 33:
Current code:
<div class="group-description" tabindex="0"><p class="gdpr"><?php echo $the_options['is_iabtcf_on'] ? $cookie_data['dash_notify_message_iabtcf']: esc_html__( $cookie_data['dash_notify_message'], '<a><br><em><strong><span><p><i><img><b><div><label>' ); ?>
Suggested modification:
<div class="group-description" tabindex="0"><p class="gdpr"><?php echo $the_options['is_iabtcf_on'] ? $cookie_data['dash_notify_message_iabtcf']: strip_tags(__( $cookie_data['dash_notify_message']), '<a><br><em><strong><span><p><i><img><b><div><label>' ); ?>
As previously, this suggestion employs again the PHP function strip_tags()
instead of esc_html()
to escape HTML tags in the frontend without compromising security.
We would be grateful if you could re-implement the proposed fix or take any other action that remedies the issue in the next update to allow basic HTML markup the in consent message.
Thank you for your attention to this matter, and we look forward to your response.
Best regards,
George
Hi,
We’re seeing the following error with the Cookie Consent Version 3.6.6 and WP 6.7.1. We have tested without other plugins and the stock theme (our theme is now active again). The error appears:
[2024-12-15T02:10:29.672365+00:00] PHP Fatal error: Cannot redeclare parseLanguageList() (previously declared in /nas/content/live/revenuepulstg/wp-content/plugins/gdpr-cookie-consent/public/class-gdpr-cookie-consent-public.php:867) in /nas/content/live/revenuepulstg/wp-content/plugins/gdpr-cookie-consent/public/class-gdpr-cookie-consent-public.php on line 867
Hi. I am seeing this JSON file downloaded on every single page and it appears to be completely irrelevant. It’s nearly a Mb and once your on mobile that takes time to load. It’s also the biggest asset download on most of my pages.
Why is it there and how do I stop it?
https://eadn-wc01-12578700.nxedge.io/cdn/rgh/vendor-list.json
Colin.
]]>Just put for test deactivate and after that the whole server went to 100% use and no way to get it back online. Talking with hosting guys how to fix this. Never seen this in my life.
When fix first thing is to remove it
]]>Hi there,
I suscribed a pro plan for 10 sites for WP Consent plugin on July 3d and I need to access my account which appears to be out of reach to me, for some reason I ignore (I clicked to receive a reset link several times and waited the mentioned delay between each attempt, no success, no link received at all, nothing).
Can I have some help with it please? The email linked with my account is [email protected]. Thank you in advance for your help.
Best regards,
Ivan B.
]]>Hi there,
I am trying to make sense of the script blocker, which as I understand this plugin, forms the essential part of it for what regards its ability to provide efficient compliance with GDPR rules.
Unfortunately, when I manually activate any cookie category in the script blocker’s “advanced settings” and confirm my choice by clicking afterwards on “publish changes”, my choices are not saved and the switch remains gray when I get back to the advanced settings after working on other plugins and parts of my website.
Is there anything more I need to do to make this script blocker work appropriately and as expected?
Thank you in advance for your help.
Best,
Ivan
]]>Does this support Google Consent Mode v2
]]>I go to the “Cookie setting” and there is log codes rows like
0 ) { foreach ( self::$errors as $error ) { echo ''; } } self::$errors = array(); } /** * Admin menu page. / // public function wplgip_admin_menu() { // if ( version_compare( WPL_COOKIE_CONSENT_VERSION, '2.9.1', '<' ) ) { // add_submenu_page( 'gdpr-cookie-consent', 'Integrations', __( 'Integrations', 'gdpr-cookie-consent' ), 'manage_options', 'gdpr-integrations', array( $this, 'wplgip_integrations' ) ); // } // } /* * MaxMind Geolocation
It is only part of the code.
Also must I open account?
]]>Hello – WP Cookie Consent is not on the list of Google certified CMP’s (see link). I am wondering when you will become certified by Google? I enjoy the ease of WP Cookie Consent product but will be forced to change to a competitor plugin if it does not become Google certified. Thank you for any information on a date when you will be certified.
]]>The database tables created by WP Cookie Consent use a collating sequence that is not supported by MariaDB. This causes difficulties moving a site from a MySQL to MariaDB server. The unsupported collating sequence is utf8mb4_0900_ai_ci.
An example is {prefix}gdpr_cookie_post_cookies
]]>Good afternoon,
We have installed your plugin WP Cookie Consent. It works fine as long as WP Rocket plugin is OFF. But it does not work once WP Rocket plugin Unused CSS option is ON for example.
Is there any solution on this? Normally we should add some code in order to inform WP Rocket to not modify your plugin code.
Can you help on this?
Thanks!
Oriol
]]>I’ve noticed an issue causing a plugin conflict with the latest WordPress version. I saw the white screen with the message:
There has been a critical error on this website. Please check your site admin email inbox for instructions.
I reached out to my hosting providerr and they depermaned it was an issue with this plugin. I’ve deactivated the plugin for the time being.
]]>Just installed the plugin, did basic setup (no MaxMind integration) and I get these in PHP error log. I can’t even connect my account with the site, because I’m getting “Error while connecting to your site” in the popup window.
PHP Fatal error: Uncaught Error: Class 'GeoIp2\Database\Reader' not found in /home/REDACTED/wp-content/plugins/gdpr-cookie-consent/public/modules/geo-ip/class-wpl-cookie-consent-geo-ip.php:378
#0 /home/REDACTED/wp-content/plugins/gdpr-cookie-consent/public/modules/script-blocker/classes/class-wpl-cookie-consent-script-blocker-frontend.php(45): Gdpr_Cookie_Consent_Geo_Ip->wpl_is_eu_country()
#1 /home/REDACTED/wp-content/plugins/gdpr-cookie-consent/public/modules/script-blocker/classes/class-wpl-cookie-consent-script-blocker-frontend.php(456): Gdpr_Cookie_Consent_Script_Blocker_Frontend->__construct()
#2 /home/REDACTED/wp-content/plugins/gdpr-cookie-consent/public/modules/script-blocker/class-wpl-cookie-consent-script-blocker.php(36): require('/home/REDACTED…')
#3 /home/REDACTED/wp-content/plugins/gdpr-cookie-consent/public/modules/script-blocker/class-wpl-cookie-consent-script-blocker.php(1343): Gdpr_Cookie_Consent_Script_Blocker->__construct()
#4 /home/REDACTED in /home/REDACTED/wp-content/plugins/gdpr-cookie-consent/public/modules/geo-ip/class-wpl-cookie-consent-geo-ip.php on line 378
Hi guys. Notice is never showing up on my website. Tested it and discovered it’s being blocked due to incorrect MIME type:
“O recurso de “https://cdn.jsdelivr.net/wp/plugins/gdpr-cookie-consent/tags/3.0.2/public/js/gdpr-cookie-consent-public.min.js’=’async” foi bloqueado devido ao tipo MIME (“text/plain”) n?o corresponder (X-Content-Type-Options: nosniff).”
Any hints on how to fix it?
]]>Hi Team,
Hope you are doing well!
After scan in cookie list page i have seen some cookie list with duration. I need to change the duration of cookie(right now duration input type is disabled). Can you please help me to do this.
Also can you please confirm in scan process how this plugin get duration of cookie.
_
Hi
I’m trying to implement an event listener for GdprCookieConsentOnAccept
which is documented here: https://club.wpeka.com/docs/wp-cookie-consent/settings/integrating-your-actions/
document.addEventListener("GdprCookieConsentOnAccept", function (e) {
console.log("GdprCookieConsentOnAccept", e.detail)
})
But, it never triggers.
Is this a bug, or could you explain in more detail how to use it?
]]>I use the Google Tag Manager for my analytics (GTM4WP plugin).
I can not see the plugin doing anything when previewing/testing. The consent tab stays empty.
How do I know that the plugin is working correctly. Is there a way to test the functionality?
Kind regards,
Edward
All of the sites that I installed this is not working anymore . It is not already showing .
What must be the problem ?
Aside from being able to categorise cookies and design the banner/popup in the free version, how do you actually act on the consent that has been provided? For example, in many cookie compliance solutions a function can be triggered on acceptance which might load a script, or perhaps send a message to GTM with compliance information. I couldn’t find anything in the plugin or documentation that speaks about what this plugin actually does when consent is granted?
]]>Hello,
In the cookies settings section (where the user select and see the cookies categories), the categories are duplicated.
screenshot: https://ibb.co/BNFW7tf
]]>Hi, is (or will be) your plugin compatible with Google Consent Mode V2?
]]>After yesterday’s update, the site displays the following message:
Notice: Undefined index: bar_heading_lgpd_text in wp-content/plugins/gdpr-cookie-consent/public/class-gdpr-cookie-consent-public.php on line 318
Can you tell me how to fix it?
]]>Hello!
Is there a way to translate the Cookie Notice strings (GDPR Message, Message Heading, About Cookies Message) using WPML?
I can translate other strings like the cookie type headings and descriptions using WPML string translations just fine, since these are admin strings, but any text I enter in, say, the GDPR Message textbox is displayed identically in all front end languages (I use French and English on my site). Using the string translations, I can only change the default text for these sections…
Hi,
I have just installed the plugin and regardless of what I do, the banner never shows. Is there a known problem with it or something that could block it from showing?
]]>Hello there,
After the last updates I am trying to translate the “Always Active” and “Save and Accept” strings with the TranslatePress plugin, as I was always doing until now, but unfotunately I cannot.
My primary language is Greek so it seems that the original string cannot be changed as the other fields (https://ibb.co/6r5YcD6, https://ibb.co/VJ2WFLs).
Please let me know how I could proceed?
Thank you in advance,
Lina
]]>Hello WPeka,
I would like to let you know that after the last update (version 2.3.8) a previously resolved issue has returned.
Plugin version 2.2.4 resolved the issue about HTML link tags getting removed from the Cookie Notice in the frontend. However, it seems that issue has returned.
Here is an example “GDPR Message”:
<a >Example.com</a>, uses cookies in order to blah blah blah...
Unfortunately, the plugin strips off the link tag:
<a ></a>
In continuation to my previously proposed fix, a good possible resolution eligible for the current version could be the following:
File: gdpr-cookie-consent/public/templates/skins/default.php
Line 31:
Current code:
<div class="group-description" tabindex="0"><p class="gdpr"><?php echo esc_html( $the_options['gdpr_str'], '<a><br><em><strong><span><p><i><img><b><div><label>' ); ?>
Suggested modification:
<div class="group-description" tabindex="0"><p class="gdpr"><?php echo strip_tags( $the_options['gdpr_str'], '<a><br><em><strong><span><p><i><img><b><div><label>' ); ?>
This again uses the function the PHP function strip_tags()
instead of esc_html()
that escapes all HTML tags in the frontend.
I would be grateful if you could again implement the proposed resolution or take any other action that fixes the issue in the next update to allow basic HTML markup the in consent message.
Best regards,
George
Hi,
Ive just installed the plugin and regardless of what I do, the banner never shows. Is there a known problem with it or something that could block it from showing?
]]>Hi
I am using free plugin and trying to add custom cookies. But nothing happens. When I refresh the page. form is blank again, Where can I find the created cookies?
]]>Hi there,
our plugin (Version 2.3.3) shows no recorded consent insights while the logs show, that the information is gathered. Is there any setting that need to be adjusted for it to work?
Thanks
]]>