WebToffee Logo
  • Home
  • Plugins
  • Blog
  • Documentation
  • Support
Login
0

  • Overview
    • Plugin set up
  • GDPR
    • Getting Started
      • Get GDPR Compliant
    • Add and Categorise Cookies
      • Troubleshoot cookie scanner
      • Add cookie manually
      • Disable cookie categories by default
      • Using cookie scanner
    • Auto-block cookies with Script Blocker
      • Compatibility with WP cache plugins
      • Configuration
      • Add custom script blocker
      • Block scripts at client side
      • Block services in Google Tag Manager separately
      • Check script blocking
    • Create Privacy Policy Page
      • Policy generator
    • Customize Settings Pop up
      • Adding cookie settings link to footer
      • Alter colour of toggle button
      • Change cookie category order in settings popup
      • Adding Custom columns into the Audit Table
      • Display category wise cookie list
    • Customize Cookie Notice
      • Category checkboxes on cookie banner
      • Geo-target cookie message bar
      • Customize banner using CSS
      • Accept consent on scroll/delay
      • Customize templates
      • Hide the cookie bar on selected pages
      • Pre-defined templates
      • Shortcodes for banner
    • Multilingual Support
      • Translate using Polylang
      • Multilingual compatibility for Necessary Category
      • Translate using WPML
      • Translate using qTranslate
      • Multilanguage compatibility for privacy policy page
    • Advanced Topics
      • Modify duration of consent
      • Access/Block site based on consent
      • Show/hide 'Privacy and Cookie Policy' tab
  • CCPA
    • Getting Started
      • Get CCPA Compliant
  • Third-Party Compatibility
    • Plugins/Themes
  • FAQ
    • Frequently asked questions
  • Changelog
    • Version 2.3.7

Documentation/GDPR Cookie Consent/Troubleshooting methods for Cookie Scanner

Troubleshooting methods for Cookie Scanner

Last updated on March 2, 2022

Error 1 : Unable to load cookie scanner. Scanning will not work on local servers

Kindly make sure that you are not checking from localhost as the scanner does not work in the localhost environment.

In case you are getting this error message from a publicly hosted site, please save the below-given code snippet in .php file format (for eg: ipinfo.php) and host it on your site root directory.

Then enter the URL your domain/ipinfo.php in the browser and check what IP it’s returning (for eg: webtoffee.com/ipinfo.php)

Once you run that code, you will get your actual IP address and the name of the key in which it can be accessed. Then, copy the below code snippet to your active theme’s functions.php after modifying the code with the right key name as it appears in the output of the above code.

Error 2 : Unable to load cookie scanner

  1. Please make sure below database tables are created on the site. Go to phpmyadmin and verify the same.
    • wp_cli_cookie_scan_url
    • wp_cli_cookie_scan_cookies
    • wp_cli_cookie_scan
    • wp_cli_cookie_scan_categories
  2. Alternatively, you can check in the error logs to find if any table creation errors are logged. To check,
    • Add below line to wp-config.php.
      define( ‘WP_DEBUG’, true );
      define( ‘WP_DEBUG_LOG’, true )
    • Deactivate and activate the plugin once.
    • Look for any database table creation error messages logged in to wp-content/debug.log within your site’s filesystem.
    • If not created, please make sure that the user has table creation permissions.

Error 3 : 0 cookies found as result

Since the scanner accesses the site from a private window/incognito window, make sure that the cookies are present and set in your site from an incognito window. Open the site in a private window and open the developer console and check the following:

  1. Make sure that all the database tables mentioned below are created.
    • wp_cli_cookie_scan_url
    • wp_cli_cookie_scan_cookies
    • wp_cli_cookie_scan
    • wp_cli_cookie_scan_categories
  2. Ensure that your site is publicly accessible without any htaccess protection.
  3. If you are using any maintenance mode or coming soon mode plugins, please disable while scanning.
  4. Make sure that the user has database table write permission.

Error 4: Could not establish a connection with the scanner! please try again later

Some users have been experiencing the same error while using the scanner due to a curl error in WordPress. You can read all about it here. We have come up with a workaround until WordPress releases a fix for the error.
Please add the below-given code snippet to the functions.php of the active theme file to fix the issue until the next WordPress update.

If this did not fix the issue, kindly check with your hosting team and fix any curl errors in the site that could cause errors while connecting to the scanner server(Cookieyes.com).

Error 5: Doesn’t receive an email verification after creating CookieYes account.

  • Kindly check if the email address entered is valid if you are using the basic version. If using the pro version, kindly ensure that you have entered a valid email address while activating the license key. In pro, a license email is used to create an account.
  • And, yeah! please don’t forget to check your spam folder too.
  • If you have entered the wrong email address, then you will need to reset the scanner so that it asks for email address again or restart the process of account creation. In order to do so, please add this code to your active theme’s functions.php.
  • Then run the code by opening the URL “yoursite/wp-admin/?wt-reset-token”. Make sure to replace ‘yoursite’ with your site url.
  • Still, if you are facing difficulty, please contact our support team for further assistance.

Error 6: Says “Error” when clicking Connect & Scan

Kindly ensure that the plugin’s license key is active with your valid email address. If not, deactivate and activate again with same the API key and a valid email address. Preferably use the billing email address used during plugin purchase.

If you’ve got any query, please feel free to contact our technical support team to get further assistance.
  • Was this article helpful?
  • Yes, thanks!Not really
Get the plugin

On this page

  • Error 1 : Unable to load cookie scanner. Scanning will not work on local servers
  • Error 2 : Unable to load cookie scanner
  • Error 3 : 0 cookies found as result
  • Error 4: Could not establish a connection with the scanner! please try again later
  • Error 5: Doesn’t receive an email verification after creating CookieYes account.
  • Error 6: Says "Error" when clicking Connect & Scan

This article posted in Add and Categorise Cookies, Documentation, GDPR Cookie Consent, Knowledge Base

Written by

Shesna

Shesna is a technical content writer for WebToffee. She is familiar in working closely with the SMEs to break down complex technical information into a concise, easy to understand manner.

Comments (2)

  1. David West

    David West

    September 19, 2020

    Hi Shesna,

    in phpmyadmin i only have the following:
    wpxv_cli_cookie_scan
    wpxv_cli_cookie_scan_url
    wpxv_cli_scripts
    wpxv_cli_visitor_details

    Kind Regards,
    Dave

    Reply
    • Mark

      Mark

      September 21, 2020

      Please submit a ticket here with site details.

      Reply

Got any query? Please leave a comment or reach out to our support

Cancel reply

Your email address will not be published. Required fields are marked *

We develop awesome WordPress plugins & WooCommerce extensions to help build successful online businesses.

© 2021 WebToffee. All rights reserved.

Our plugins

  • GDPR Cookie Consent
  • PDF Invoices & Packings Slips
  • Product Import Export Plugin
  • User & Customer Import Export
  • Import Export Suite
  • Sequential Order Numbers
  • Smart Coupons for WooCommerce
  • URL Coupons for WooCommerce
  • PayPal Express Checkout
  • Stripe Payment Gateway
  • Subscriptions for Woocommerce
  • Product Catalog Sync for Facebook
  • PrintNode for PDF Invoices
  • Order, coupon, subscriptions for WooCommerce
  • WordPress Backup and Migration
View more +

Get Started

  • Plugins
  • Testimonials
  • Affiliates
  • We're hiring

Help & Support

  • Documentation
  • Documentation (Basic)
  • FAQ
  • Support

Company

  • Terms & Conditions
  • Privacy Policy
  • Refund policy
  • Support policy
  • License Activation

© 2021 WebToffee. All rights reserved.

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies. However you may visit Cookie Settings to provide a controlled consent.
Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of the basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website, to store user preferences and provide you with content and advertisements that are relevant. Such cookies will be stored on your browser but only upon procuring consent.

You will also have the option to opt-out of these cookies should you want to. But opting out of some of these cookies may have an effect on your browsing experience as per the descriptions elucidated against the respective categories below.

Necessary
Always Enabled

The cookies defines under this category are absolutely essential for the website to function. Hence they are loaded by default irrespective if user consent.

CookieDescription
PHPSESSIDThis cookie is native to PHP applications. The cookie is used to store and identify a users' unique session ID for the purpose of managing user sessions on the website. The cookie is a session cookie and is deleted when all the browser windows are closed.
viewed_cookie_policyThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not a user has consented to the use of cookies. It does not store any personal data.
Analytics

Analytics cookies help us understand how our visitors interact with the website. It helps us understand the number of visitors, where the visitors are coming from, and the pages they navigate. The cookies collect this data and are reported anonymously.

CookieDescription
_gaThis cookie is installed by Google Analytics. The cookie is used to calculate visitor, session, campaign data and keep track of site usage for the site's analytics report. The cookies store information anonymously and assigns a randomly generated number to identify unique visitors.
_gat_gtagIdentification code of website for tracking visits.
_gidThis cookie is installed by Google Analytics. The cookie is used to store information on how visitors use a website and helps in creating an analytics report of how the website is doing. The data collected including the number visitors, the source where they have come from, and the pages visited in an anonymous form.
_hjidHotjar cookie. This cookie is set when the customer first lands on a page with the Hotjar script. It is used to persist the random user ID, unique to that site on the browser. This ensures that behavior in subsequent visits to the same site will be attributed to the same user ID.
_hjIncludedInSampleThis cookie is set to let Hotjar know whether that visitor is included in the sample which is used to generate heatmaps, funnels, recordings, etc.
has_recent_activityThis cookie is used to signal to the code repository website if the user has browsed other website resources during the current session.
tk_aiGathers information for our own first-party analytics tool about how our services are used. A collection of internal metrics for user activity and is used to improve user experience.
tk_lrThis cookie is set by the JetPack plugin on sites using WooCommerce. This is a referral cookie used for analyzing referrer behavior for Jetpack.
tk_orThis cookie is set by the JetPack plugin on sites using WooCommerce. This is a referral cookie used for analyzing referrer behavior for Jetpack.
tk_qsGathers information for our own first-party analytics tool about how our services are used. A collection of internal metrics for user activity and is used to improve user experience.
tk_r3dThe cookie is installed by JetPack. Used for the internal metrics for user activities to improve user experience.
Advertisement

Advertisement cookies help us provide our visitors with relevant ads and marketing campaigns.

CookieDescription
_fbpThis cookie is set by Facebook to deliver advertisements when they are on Facebook or on a digital platform powered by Facebook advertising after visiting this website.
frThe cookie is set by Facebook to show relevant advertisements to the users and measure and improve the advertisements. The cookie also tracks the behavior of the user across the web on sites that have Facebook Pixel or Facebook social plugin.
Preferences

Preference cookies are used to store user preferences to provide them with content that is customized accordingly. This includes the language of the website or the location of the visitor.

CookieDescription
_gh_sessThis cookie is used to preserve users' states across page requests.
Save & Accept