Cannot fetch free API key
-
I recently rebuilt my site from backup and now I can’t get wordfence to obtain a free API.
I followed the support articles:
disabled cache
deleted setting upon deactivation
deleted the wordfence folder via FTP
reinstalled the plug in
activated but still get the same error:Your options have been saved, but we encountered a problem. You left your API key blank, so we tried to get you a free API key from the Wordfence servers. However we encountered a problem fetching the free key: We received an error response when trying to contact the Wordfence scanning servers using PHP’s file_get_contents function. The error was: array ( ‘type’ => 2, ‘message’ => ‘file_get_contents(https://noc1.wordfence.com//v2.14/?v=4.1.1&s=http%3A%2F%2Feickertrealty.com&k=&action=get_anon_api_key): failed to open stream: no suitable wrapper could be found’, ‘file’ => ‘/htdocs/www/wp-content/plugins/wordfence/lib/wfAPI.php’, ‘line’ => 117, )
LINE 117 says: return @file_get_contents($url, false, $context, -1);
- The topic ‘Cannot fetch free API key’ is closed to new replies.