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:
| Issue | Cause | Solution |
|---|---|---|
| Update not appearing | WordPress cached the update check | Go to Dashboard → Updates and click “Check Again” |
| “Could not copy file” error | File permission issue | Ensure wp-content/plugins/ is writable (755) |
| “Download failed” error | Server can’t reach WordPress.org | Check firewall rules; try manual update |
| Update reverts/fails silently | PHP memory or timeout limit | Increase PHP memory to 256M; extend max_execution_time |
Manual Update (If Automatic Fails):
- Download the latest version from WordPress.org
- Deactivate the current WhoKnew Views plugin
- Delete the
whoknew-viewsfolder via FTP/SFTP - Upload and extract the new version to
/wp-content/plugins/ - 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:
- Log in to your WhoKnew account
- Download the latest Pro plugin zip file
- Deactivate WhoKnew Views Pro in WordPress
- Delete the
whoknew-views-profolder via FTP/SFTP - Upload the new zip via Plugins → Add New → Upload Plugin
- 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’);
| Requirement | Free Plugin | Pro Plugin |
|---|---|---|
| PHP Version | 7.3+ | 7.3+ |
| WordPress Version | 5.6+ | 5.6+ |
| WooCommerce Version | 7.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:
- Go to Plugins → Installed Plugins
- Find WhoKnew Views (and WhoKnew Views Pro if installed)
- 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 Source | WordPress.org |
| Pro Update Endpoint | whoknew.io/wp-json/whoknew-pro/v1/updates |
| Update Check Interval | 12 hours |
| Version Check Function | whoknew_views_check_version_and_merge_defaults() |
| DB Version Option | whoknew_views_db_version |
| Update Library | Plugin Update Checker (Yahnis Elsts) |