Portal Home > Knowledgebase > Errors You Might Get > CURLOPT_SSL_VERIFYHOST no longer supports 1 as value


CURLOPT_SSL_VERIFYHOST no longer supports 1 as value




Whenever you get this error in your Wordpress installation (CURLOPT_SSL_VERIFYHOST no longer supports 1 as value)
You can apply the following fix:

- open the file: /wp-includes/class-http.php
- find: curl_setopt( $handle, CURLOPT_SSL_VERIFYHOST, $ssl_verify );
- replace with: curl_setopt( $handle, CURLOPT_SSL_VERIFYHOST, ( $ssl_verify === false ) );
- save the file

The error should not occur anymore.

If you ever need further support be sure to open a ticket and we'll assist you as soon as possible.

Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read

scroll up