• Home
  • Uncategorized
  • Wordfence error – Scan terminated with error: We received an error response when trying to contact the Wordfence scanning servers using PHP’s file_get_contents function

Wordfence error – Scan terminated with error: We received an error response when trying to contact the Wordfence scanning servers using PHP’s file_get_contents function

Error message:

” Scan terminated with error: We received an error response when trying to contact the Wordfence scanning servers using PHP’s file_get_contents function. The error was: Array”

apt-get -y install php5-curl
service apache2 restart

You can test if curl has been enabled, by calling the phpinfo() function on any php page.

Once this is done, Wordfence works properly.