curl_setopt(): Argument #1 ($handle) must be of type CurlHandle, bool given