WhoKnew Views™ | Plugin Update Issues

Skip to main content
Table of Contents
Print

Troubleshoot update failures for WhoKnew Views™ Free and Pro — version checks, caching, and permissions

WhoKnew Views™ uses two different update mechanisms: the Free plugin updates through WordPress.org, while the Pro plugin updates through a custom update server at whoknew.io. Understanding how each works helps resolve most update issues.

🔄 How Updates Work

🆓

Free Plugin

  • Updates via WordPress.org
  • Appears in Dashboard → Updates
  • Auto-updates available
  • No license required

⭐

Pro Plugin

  • Updates via whoknew.io
  • Requires active license
  • Checks every 12 hours
  • Uses Plugin Update Checker library

🆓 Free Plugin Update Issues

Since the Free plugin updates through WordPress.org, most issues are WordPress-level problems:

IssueCauseSolution
Update not appearingWordPress cached the update checkGo to Dashboard → Updates and click “Check Again”
“Could not copy file” errorFile permission issueEnsure wp-content/plugins/ is writable (755)
“Download failed” errorServer can’t reach WordPress.orgCheck firewall rules; try manual update
Update reverts/fails silentlyPHP memory or timeout limitIncrease PHP memory to 256M; extend max_execution_time

Manual Update (If Automatic Fails):

  1. Download the latest version from WordPress.org
  2. Deactivate the current WhoKnew Views plugin
  3. Delete the whoknew-views folder via FTP/SFTP
  4. Upload and extract the new version to /wp-content/plugins/
  5. Reactivate the plugin

💡 Good News:Your settings and view data are stored in the database—not in plugin files. Deleting and re-uploading the plugin won’t affect your data.

⭐ Pro Plugin Update Issues

Pro plugin updates require an active license and communication with the WhoKnew update server:

🔑 License Requirements for Updates

  • License status must be “Active” or “Grace Period”
  • Expired or inactive licenses cannot receive updates
  • The update server validates your license before providing the download

Common Pro Update Issues:

❌

Update not showing in Dashboard

The Pro plugin checks for updates every 12 hours. If an update was just released, it may not appear immediately.

Fix: Go to WhoKnew → WhoKnew Views → License and click Refresh License Status. This forces an update check.

❌

“License not found” or “Invalid license” error

Your license may have expired, been deactivated, or there’s a domain mismatch.

Fix: Check your license status in the License tab. If expired, renew at whoknew.io. If domain changed, deactivate and reactivate.

❌

“Cannot communicate with host” error

Your server cannot reach the WhoKnew update server.

Fix: Ask your host to whitelist whoknew.io. Ensure cURL and OpenSSL are enabled on your server.

❌

Update downloads but fails to install

File permission or PHP configuration issue during extraction.

Fix: Try manual update (see below). Check PHP memory limit is at least 128M.

Manual Pro Update:

  1. Log in to your WhoKnew account
  2. Download the latest Pro plugin zip file
  3. Deactivate WhoKnew Views Pro in WordPress
  4. Delete the whoknew-views-pro folder via FTP/SFTP
  5. Upload the new zip via Plugins → Add New → Upload Plugin
  6. Activate the plugin (your license is already saved)

⚙️ Version Compatibility

Both plugins include version compatibility checks:

// Pro plugin checks Free version at activation

define(‘WHOKNEW_VIEWS_PRO_REQUIRED_FREE_VERSION’, ‘2.0.0’);

RequirementFree PluginPro Plugin
PHP Version7.3+7.3+
WordPress Version5.6+5.6+
WooCommerce Version7.1+7.1+
Free Plugin Version—2.0.0+

⚠️ Important:Always update the Free plugin first, then the Pro plugin. The Pro plugin checks Free’s version at activation and may deactivate if Free is too old.

🔧 Settings Migration After Updates

WhoKnew Views™ automatically handles settings migration when you update:

✅

Automatic Defaults Merge

When the plugin detects a version change, it automatically merges new default settings with your existing configuration. Your customizations are preserved; only new settings are added with their defaults.

// From whoknew-views.php – Automatic settings merge

function whoknew_views_check_version_and_merge_defaults() {
$stored_version = get_option(‘whoknew_views_db_version’, ‘0’);
if (version_compare($stored_version, WHOKNEW_VIEWS_VERSION, ‘<‘)) {
// Merge defaults with existing (defaults first, then existing overrides)
$merged = array_merge($defaults, $existing);
}
}

🧹 Clearing Caches After Updates

After updating, clear your caches to ensure changes take effect:

Cache Clearing Checklist:

  • ☐ WordPress Object Cache: If using Redis/Memcached, flush via your cache plugin
  • ☐ Page Cache: Clear WP Rocket, W3 Total Cache, LiteSpeed, etc.
  • ☐ CDN Cache: Purge Cloudflare or your CDN’s cache
  • ☐ Browser Cache: Hard refresh (Ctrl+Shift+R or Cmd+Shift+R)

💡 Automatic Cache Clear:WhoKnew Views™ automatically clears its internal transients when settings change. This includes view count caches, preview settings, and product-specific caches.

📋 Checking Your Current Version

To verify which version you’re running:

📍

Plugins Page

Go to Plugins → Installed Plugins. Version appears under each plugin name.

📊

System Info (Pro)

Go to WhoKnew → WhoKnew Views → Admin → System Info. Shows all version details.

🔄 Enabling Auto-Updates

Both plugins support WordPress auto-updates:

  1. Go to Plugins → Installed Plugins
  2. Find WhoKnew Views (and WhoKnew Views Pro if installed)
  3. Click Enable auto-updates in the Automatic Updates column

⚠️ Pro Auto-Updates:Pro auto-updates only work while your license is active. If your license expires, auto-updates pause until you renew.

🐛 Debugging Update Issues

If updates continue to fail, enable WordPress debug logging to capture detailed error information:

// Add to wp-config.php (before “That’s all, stop editing!”)

define(‘WP_DEBUG’, true);
define(‘WP_DEBUG_LOG’, true);
define(‘WP_DEBUG_DISPLAY’, false);

Then check /wp-content/debug.log for entries starting with WhoKnew Licensing: which detail the update check process. 🔧 Technical Reference

Free Update SourceWordPress.org
Pro Update Endpointwhoknew.io/wp-json/whoknew-pro/v1/updates
Update Check Interval12 hours
Version Check Functionwhoknew_views_check_version_and_merge_defaults()
DB Version Optionwhoknew_views_db_version
Update LibraryPlugin Update Checker (Yahnis Elsts)

Share