laravel-google-custom-search-engine
laravel-google-custom-search-engine copied to clipboard
Issue in LaravelGoogleCustomSearchEngine.php
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