{"id":7133,"date":"2025-02-06T08:26:58","date_gmt":"2025-02-06T08:26:58","guid":{"rendered":"https:\/\/codesnippets.pro\/?post_type=doc&#038;p=7133"},"modified":"2026-01-06T05:54:14","modified_gmt":"2026-01-06T05:54:14","slug":"license-activation","status":"publish","type":"doc","link":"https:\/\/codesnippets.pro\/doc\/license-activation\/","title":{"rendered":"License Activation Issues"},"content":{"rendered":"\n<p id=\"isPasted\">In some cases, a license activation can fail unexpectedly without showing any errors.<\/p>\n\n\n\n<p>Typical symptoms:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The license activation page refreshes without anything happening.<\/li>\n\n\n\n<li>The&nbsp;<em>Activate<\/em>&nbsp;button gets \u201cstuck,\u201d and nothing happens.<\/li>\n<\/ul>\n\n\n\n<p>Here are the most common cases in which this happens, including how to work around the issues:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"1-isp-blockage\">1. ISP Blockage<a href=\"https:\/\/help.codesnippets.pro\/en\/article\/62-license-activation-issues#1-isp-blockage\"><\/a><\/h2>\n\n\n\n<p>We noticed that some ISPs, especially in Turkey and Russia, are often blocking websites that utilize Cloudflare, which can block connectivity to our API servers.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"solution\">Solution<a href=\"https:\/\/help.codesnippets.pro\/en\/article\/62-license-activation-issues#solution\"><\/a><\/h3>\n\n\n\n<p>You can activate the license using a proxy by following these simple steps:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to&nbsp;<a href=\"https:\/\/www.us-proxy.org\/\">us-proxy.org<\/a><\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Get the 1st proxy details available and add the following code to the&nbsp;<span style=\"background-color: initial; font-family: inherit; font-size: 1rem;\"><code>functions.php<\/code><\/span>&nbsp;of the currently active theme: <\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code language-php\"><code><span style=\"background-color: initial; font-family: inherit; font-size: 1rem;\">add_action('http_api_curl',&nbsp;function(&nbsp;$handle){&nbsp; &nbsp;&nbsp;curl_setopt($handle, CURLOPT_PROXY,&nbsp;\"REPLACE_ME_WITH_PROXY_IP\");&nbsp; &nbsp;&nbsp;curl_setopt($handle, CURLOPT_PROXYPORT, REPLACE_ME_WITH_PROXY_PORT);}, 10);<\/span><\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>After a successful license-activation, comment out the newly added lines of code to avoid running future cURL requests through a proxy.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"2-caching-layer-issue\">2. Caching Layer Issue<a href=\"https:\/\/help.codesnippets.pro\/en\/article\/62-license-activation-issues#2-caching-layer-issue\"><\/a><\/h2>\n\n\n\n<p>For performance reasons, many in-memory caching solutions like Memcached or Redis require setting a Byte-limit to the values they store, and to optimize performance, all Freemius settings are stored in a single record in the&nbsp;<code>wp_options<\/code>&nbsp;table, which means that if the length of the settings is greater than the configured limit, it may cause one of the following unexpected behaviors:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The settings won\u2019t be stored at all<\/li>\n\n\n\n<li>The settings will fail to properly load<\/li>\n\n\n\n<li>The settings will be stored incompletely, causing data corruption<\/li>\n<\/ul>\n\n\n\n<p>This will prevent the settings from properly propagating to (or from) the Database.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"solution-1\">Solution<a href=\"https:\/\/help.codesnippets.pro\/en\/article\/62-license-activation-issues#solution-1\"><\/a><\/h3>\n\n\n\n<p>Try to temporarily disable the caching layer just for the license activation process.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"3-database-encoding-issue\">3. Database Encoding Issue<a href=\"https:\/\/help.codesnippets.pro\/en\/article\/62-license-activation-issues#3-database-encoding-issue\"><\/a><\/h2>\n\n\n\n<p>In some cases, we noticed that misconfigured encoding of the&nbsp;<code>option_value<\/code>&nbsp;column in the&nbsp;<code>wp_options<\/code>&nbsp;table could fail to store the required data after license activation. E.g. \u2013 Even though the license gets properly activated, WordPress may not \u201cremember\u201d it. Typically this happens when there are any UTF-8 or UTF-16 characters in the license owner\u2019s name or address.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"solution-2\">Solution<a href=\"https:\/\/help.codesnippets.pro\/en\/article\/62-license-activation-issues#solution-2\"><\/a><\/h3>\n\n\n\n<p>Try changing the encoding of the&nbsp;<code>option_value<\/code>&nbsp;column in the&nbsp;<code>wp_options<\/code>&nbsp;table to UTF-8 (or UTF-16) and then try activating the license again.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"4-security-layer-blockage\">4. Security Layer Blockage<a href=\"https:\/\/help.codesnippets.pro\/en\/article\/62-license-activation-issues#4-security-layer-blockage\"><\/a><\/h2>\n\n\n\n<p>Freemius\u2019 license key generator randomly creates 32-char keys using alphanumeric characters and some special characters for enhanced security. We noticed that some security plugins\/layers\/modules (e.g., ModSecurity) might block a license activation process if the combination of the license\u2019s special characters \u201clook\u201d suspicious.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"solution-3\">Solution<a href=\"https:\/\/help.codesnippets.pro\/en\/article\/62-license-activation-issues#solution-3\"><\/a><\/h3>\n\n\n\n<p>Try to temporarily disable any security plugins\/layers\/modules you have just for the license activation process. After the license is activated, make sure to reactivate the security components you disabled.<\/p>\n","protected":false},"featured_media":0,"template":"","meta":{"_acf_changed":false},"docs-category":[48,46],"class_list":["post-7133","doc","type-doc","status-publish","hentry","docs-category-emergency-fixes","docs-category-licensing"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>License Activation Issues - Code Snippets<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/codesnippets.pro\/doc\/license-activation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"License Activation Issues - Code Snippets\" \/>\n<meta property=\"og:description\" content=\"In some cases, a license activation can fail unexpectedly without showing any errors. Typical symptoms: Here are the most common cases in which this happens, including how to work around the issues: 1. ISP Blockage We noticed that some ISPs, especially in Turkey and Russia, are often blocking websites that utilize Cloudflare, which can block [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codesnippets.pro\/doc\/license-activation\/\" \/>\n<meta property=\"og:site_name\" content=\"Code Snippets\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/codesnippetspro\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-06T05:54:14+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/codesnippets.pro\\\/doc\\\/license-activation\\\/\",\"url\":\"https:\\\/\\\/codesnippets.pro\\\/doc\\\/license-activation\\\/\",\"name\":\"License Activation Issues - Code Snippets\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/codesnippets.pro\\\/#website\"},\"datePublished\":\"2025-02-06T08:26:58+00:00\",\"dateModified\":\"2026-01-06T05:54:14+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/codesnippets.pro\\\/doc\\\/license-activation\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/codesnippets.pro\\\/doc\\\/license-activation\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/codesnippets.pro\\\/doc\\\/license-activation\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/codesnippets.pro\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\\\/\\\/codesnippets.pro\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"License Activation Issues\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/codesnippets.pro\\\/#website\",\"url\":\"https:\\\/\\\/codesnippets.pro\\\/\",\"name\":\"Code Snippets\",\"description\":\"The Original WordPress Code Snippets Plugin\",\"publisher\":{\"@id\":\"https:\\\/\\\/codesnippets.pro\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/codesnippets.pro\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/codesnippets.pro\\\/#organization\",\"name\":\"Code Snippets\",\"url\":\"https:\\\/\\\/codesnippets.pro\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/codesnippets.pro\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/codesnippets.pro\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/logotype-vertical-on-light.svg\",\"contentUrl\":\"https:\\\/\\\/codesnippets.pro\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/logotype-vertical-on-light.svg\",\"width\":137,\"height\":94,\"caption\":\"Code Snippets\"},\"image\":{\"@id\":\"https:\\\/\\\/codesnippets.pro\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/codesnippetspro\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"License Activation Issues - Code Snippets","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/codesnippets.pro\/doc\/license-activation\/","og_locale":"en_US","og_type":"article","og_title":"License Activation Issues - Code Snippets","og_description":"In some cases, a license activation can fail unexpectedly without showing any errors. Typical symptoms: Here are the most common cases in which this happens, including how to work around the issues: 1. ISP Blockage We noticed that some ISPs, especially in Turkey and Russia, are often blocking websites that utilize Cloudflare, which can block [&hellip;]","og_url":"https:\/\/codesnippets.pro\/doc\/license-activation\/","og_site_name":"Code Snippets","article_publisher":"https:\/\/www.facebook.com\/codesnippetspro","article_modified_time":"2026-01-06T05:54:14+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/codesnippets.pro\/doc\/license-activation\/","url":"https:\/\/codesnippets.pro\/doc\/license-activation\/","name":"License Activation Issues - Code Snippets","isPartOf":{"@id":"https:\/\/codesnippets.pro\/#website"},"datePublished":"2025-02-06T08:26:58+00:00","dateModified":"2026-01-06T05:54:14+00:00","breadcrumb":{"@id":"https:\/\/codesnippets.pro\/doc\/license-activation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codesnippets.pro\/doc\/license-activation\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/codesnippets.pro\/doc\/license-activation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codesnippets.pro\/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https:\/\/codesnippets.pro\/docs\/"},{"@type":"ListItem","position":3,"name":"License Activation Issues"}]},{"@type":"WebSite","@id":"https:\/\/codesnippets.pro\/#website","url":"https:\/\/codesnippets.pro\/","name":"Code Snippets","description":"The Original WordPress Code Snippets Plugin","publisher":{"@id":"https:\/\/codesnippets.pro\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codesnippets.pro\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/codesnippets.pro\/#organization","name":"Code Snippets","url":"https:\/\/codesnippets.pro\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codesnippets.pro\/#\/schema\/logo\/image\/","url":"https:\/\/codesnippets.pro\/wp-content\/uploads\/2025\/05\/logotype-vertical-on-light.svg","contentUrl":"https:\/\/codesnippets.pro\/wp-content\/uploads\/2025\/05\/logotype-vertical-on-light.svg","width":137,"height":94,"caption":"Code Snippets"},"image":{"@id":"https:\/\/codesnippets.pro\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/codesnippetspro"]}]}},"_links":{"self":[{"href":"https:\/\/codesnippets.pro\/wp-json\/wp\/v2\/doc\/7133","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codesnippets.pro\/wp-json\/wp\/v2\/doc"}],"about":[{"href":"https:\/\/codesnippets.pro\/wp-json\/wp\/v2\/types\/doc"}],"wp:attachment":[{"href":"https:\/\/codesnippets.pro\/wp-json\/wp\/v2\/media?parent=7133"}],"wp:term":[{"taxonomy":"docs-category","embeddable":true,"href":"https:\/\/codesnippets.pro\/wp-json\/wp\/v2\/docs-category?post=7133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}