I have use this plugin :”Civic Cookie Control 8″. given error in console. find the screenshot url:
https://paste.pics/f2db869bfe24bf9800d244c82b17002f
Thanks!
]]>I’m trying to make changes to the branding section. The Save Changes button doesn’t work. Everytime I refresh the page after making changes, the old values return. I am not able to save my changes.
]]>With the latest version of the plugin installed 1.44 and the option to disable site scrolling set to “yes”, the site is still able to be scrolled when the cookie notice is visible.
]]>Hello. I see this error in the logs when using this plugin. I’ve manged to fix it by directly editing the plugin files but it would be good if you could take a look as well.
PHP Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, null given in /wp-content/plugins/cookie-control/cookiecontrol.php:1164\nStack trace:\n#0 /wp-includes/class-wp-hook.php(308): cookiecontrol_args()\n#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()\n#2 /wp-includes/plugin.php(517): WP_Hook->do_action()\n#3 /wp-includes/general-template.php(3059): do_action()\n#4 /wp-content/themes/theme/footer-home.php(138): wp_footer()\n#5 /wp-includes/template.php(783): require_once('...')\n#6 /wp-includes/template.php(718): load_template()\n#7 /wp-includes/general-template.php(92): locate_template()\n#8 /wp-content/themes/theme/home.php(294): get_footer()\n#9 /wp-includes/template-loader.php(106): include('...')\n#10 /wp-blog-header.php(19): require_once('...')\n#11 /index.php(17): require('...')\n#12 {main}\n thrown in /wp-content/plugins/cookie-control/cookiecontrol.php on line 1164,
All the sizeof calls in the cookiecontrol.php are throwing an error, a simple fix would be to check if $cookiecontrol_settings[‘altLanguages’] is an array before checking sizeof
<?php if ( is_array($cookiecontrol_settings[‘excludedCountries’]) && sizeof($cookiecontrol_settings[‘excludedCountries’]) > 0 && !empty($cookiecontrol_settings[‘excludedCountries’]) ) : ?>
Thanks
Michal
I am trying to work on the ui on the local. But there is nothing show up on the home page. Please help! ??
]]>Hi,
Clicking the corner button makes the screen grey out but no policy popup or banner? Appreciate any help. Thanks!
]]>Hi, how can I turn on the corner button?
]]>I can not find any option to take into account if a user has set “Do Not Track” in his browser. Is this possible?
]]>Hi,
Does the plugin support WPML tranlation?
]]>Hi,
I was putting some JavaScript into the “On accept callback function” field but it wouldn’t run because &&
had been converted to &&
.
Here is a git diff that fixes that bug:
diff --git a/admin/partials/v8/ccc-cookiecontrol-settings-defaults.php b/admin/partials/v8/ccc-cookiecontrol-settings-defaults.php
index 8670e25..d3eff05 100644
--- a/admin/partials/v8/ccc-cookiecontrol-settings-defaults.php
+++ b/admin/partials/v8/ccc-cookiecontrol-settings-defaults.php
@@ -594,7 +594,7 @@ class CCC_Cookie_Control_Admin_Dependencies_v8{
?>
cookies: [ <?php echo wp_kses( stripslashes( $string_name ), $allowedHTML ); ?> ],
onAccept: function () {
- <?php echo wp_kses( stripslashes( $ccc_cookiecontrol_settings['optionalCookiesonAccept'][ $key ] ), $allowedHTML ); ?>
+ <?php echo stripslashes( $ccc_cookiecontrol_settings['optionalCookiesonAccept'][ $key ] ); ?>
},
onRevoke: function () {
<?php echo wp_kses( stripslashes( $ccc_cookiecontrol_settings['optionalCookiesonRevoke'][ $key ] ), $allowedHTML ); ?>
@@ -628,4 +628,4 @@ class CCC_Cookie_Control_Admin_Dependencies_v8{
}
}
-?>
\ No newline at end of file
+?>
Note that wp_kses() is also used for the onRevoke
function so that probably suffers from the same problem.
Thank you,
Mallory Adams
https://www.dxw.com/
Hi support,
do you happen to have a library of sample codes we coul duse as reference especially for popular platforms like facebook, google etc. THanks!
]]>Hi guys.
Can’t figure out why I’m getting this error
Your API key is not valid or an error has occurred while contacting civic servers. Please choose your product license type manually and proceed with the plugin configuration. If you can't resolve the issue please contact us.
I have tried to set up different domains (‘curriculum.com’ and ‘dev.curriculum.com’) but still facing the same problem.
Could you please help me?
Hi I tested your cookie solution and it, unfortunately, did not suit our needs. However even after I reset the data and uninstalled the plugin it still has the cookie control cookies present on my site! Can you please advise as to how to do a clean removal?
thanks.
]]>Hi,
I love the plugin but I find the logo a bit intrusive. Is there a way to change the C “star” logo at all for when the settings tab is closed? Perhaps it could be a smaller logo or removed altogether and then you could have a link to a settings page or tab?
Thanks.
]]>Evaluating this plugin in community-mode showed, that instead of the one cookie for our site (jce-clone.iaik.tugraz.at) Chrome now shows this cookie set to all levels of this uri – so jce-clone, iaik and tugraz. Why is this?
]]>Hi! How can I add NID cookie (Google cookie) as optional to this plugin?
This cookie is used by others plugins (contact form 7 recaptcha) or Google maps iframe.
Thanks!
]]>Hi there,
I have Adsense running both in articles and a sidebar on my site and I have to add the script code wherever I want the ad to go – I.e. multiple times per page. I would like to have 2 toggles to give the user the choice of 1. Having ads that are personalised or not and 2. Having ads on or off altogether.
Could you please let me know how I can do this and have it work on all ads on all pages simultaneously?
Thank you for your help.
]]>Hi,
I have embedded iframe YouTube videos on my site and although I use the YouTube enhanced privacy / no cookie solution to remove most tracking cookies it still sets some cookies when the user plays the video for preferences etc.
Is there a way to remove the YouTube videos altogether and instead place a “you must consent to the YouTube cookies” type message then once the user turns on consents to those cookies then reveal the iframe and therefore video (similar to the process for analytics)?
Thanks in advance.
]]>Hello I wanted to know how I can put the text of the cookie notice on the top of the web and not on the bottom as it comes by default
]]>Hello,
I just upgraded my Civic Cookie Control 8 from the version hosted on the Civic UK website to this one on the WordPress repository but the popup is not disappeared. I have checked the settings and manually selected the options that were not present in the old configuration