laravel-google-custom-search-engine icon indicating copy to clipboard operation
laravel-google-custom-search-engine copied to clipboard

Issue in LaravelGoogleCustomSearchEngine.php

Open Brilliant16 opened this issue 8 years ago • 0 comments
trafficstars

Hi Great package. I face an error while using this package. Getting curl_error(): 2 is not a valid cURL handle resource. so when I search it & found this error in LaravelGoogleCustomSearchEngine.php on line 132-137 so I delete curl_close($ch) from 132 and paste after if ($output === false || $info['http_code'] != 200) It solved my error. so pleae see this If it is error global so correct this or correct me.

I found answer here. http://stackoverflow.com/questions/19442999/getting-curl-error-2-is-not-a-valid-curl-handle-resource-while-fetching-all-u/#answer-19443045

And Great package. It help me to done my work. Thank you

Brilliant16 avatar May 14 '17 10:05 Brilliant16