This error occurs when the cURL library is not installed on your system or not included in your PHP installation.
Install the cURL library to resolve this error. For Linux - Terminal command:
sudo apt-get install php-curl For Windows:
Download cURL library from official site
Go to php.ini file and delete; mark the beginning of the next line:
; extension = php_curl.dll Link: