Array ( [0] => GDPR Cookie Consent [1] => CCPA [2] => Getting Started [3] => Changelog [4] => GDPR [5] => Add and Categorise Cookies [8] => Auto-block cookies with Script Blocker [13] => Create Privacy Policy Page [15] => Customize Cookie Notice [18] => Customize Settings Pop up [19] => Change Toggle button color [21] => Display Cookie List [22] => FAQ [23] => Getting Started [24] => Multilingual Support [25] => Overview [26] => Import Export Suite for WooCommerce [28] => Order / Coupon / Subscription Export Import Plugin for WooCommerce [29] => PayPal Express Checkout Payment Gateway for WooCommerce [30] => Changelog [31] => Getting Started [32] => Issue Refund [34] => Video Tutorial [35] => Print Invoice, Packing Slip, Delivery Note & Label for WooCommerce [36] => Address Label [39] => Changelog [41] => Credit Note [43] => Delivery Note [45] => Dispatch Label [47] => FAQ [48] => Invoice [49] => Adding meta data [50] => Customizations [51] => Email PDF Invoice [52] => FAQ [53] => Getting Started [54] => Invoice Number [55] => Multilingual Support [56] => Overview [57] => Packing Slip [58] => Customizations [59] => Getting Started [60] => Pick List [62] => Proforma Invoice [65] => Shipping Label [68] => Product Import Export Plugin for WooCommerce [69] => Smart Coupons for WooCommerce [70] => Abandoned Cart Discount [71] => Advanced Coupon Options [72] => Bulk Generate [73] => Changelog [76] => Getting Started [78] => Import Coupon [80] => Sales Countdown Timer [81] => SignUp Coupon [82] => Store Credit [84] => Volume/Quantity based coupon [85] => Stripe Payment Gateway for WooCommerce [86] => Alipay [87] => Apple Pay [88] => Changelog [89] => Compatibility with Subscription [90] => Getting Started [93] => SCA Ready [94] => Stripe Checkout [95] => Stripe Overview [96] => Stripe via Credit Card [97] => Troubleshoot [98] => Video Tutorial [99] => Subscriptions for WooCommerce [100] => Changelog [101] => Email Notifications [102] => FAQ [103] => Getting Started [104] => Manually Add or Modify Subscriptions [105] => Subscriptions Payment Gateway Guide [106] => URL Coupons for WooCommerce [107] => Changelog [108] => FAQ [109] => Getting Started [110] => Import URL Coupons [111] => QR Code Coupon [112] => WordPress Users & WooCommerce Customers Import Export )

Documentation/GDPR Cookie Consent/Troubleshooting methods for Cookie Scanner

Troubleshooting methods for Cookie Scanner

Have issues while scanning cookies?

The common error messages that can be seen in the cookie scanner are given below. 

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

  1. Kindly make sure that you are not checking from localhost as the scanner does not work in localhost environment.
  2. In case if 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 in your site root directory.
    <?php if(!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) 
    		{
    		    echo $_SERVER['HTTP_X_FORWARDED_FOR'];
    		} else 
                    {
    		    echo $_SERVER['REMOTE_ADDR'];
                    }
            if (!empty($_SERVER['HTTP_CLIENT_IP'])) 
            {
                echo  "Log IP".$_SERVER['HTTP_CLIENT_IP'];
            }
    ?>
  3. Then enter the URL your domain/ipinfo.php in browser and check what IP it’s returning (for eg: webtoffee.com/ipinfo.php)

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,
    1. Add below line to wp-config.php.
      define( ‘WP_DEBUG’, true );
      define( ‘WP_DEBUG_LOG’, true )
    2. Deactivate and activate the plugin once.
    3. 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.

After the scan, if you are getting 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 private window and open 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.

  • Was this article helpful ?
  • YesNo