Warning: get_headers()
-
I get this set of warnings after I do plug-in updates. I do not write code just maintain the website. Warning: get_headers(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in ......public_html/wp-content/plugins/really-simple-ssl/security/wordpress/vulnerabilities.php on line 781 Warning: get_headers(): This function may only be used against URLs in .........public_html/wp-content/plugins/really-simple-ssl/security/wordpress/vulnerabilities.php on line 781 (Continues for multiple lines) Lines 780-784 below in vulnerabilities.php //now we check if the file remotely exists and then log an error if it does not. $headers = get_headers($url); if (strpos($headers[0], '200')) { //file exists, download it $json = file_get_contents($url);
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Warning: get_headers()’ is closed to new replies.