Fatal error: Uncaught Error: Call to undefined function curl_init() in Stack trace: #0 {main} thrown code example
Example: PHP Fatal error: Uncaught Error: Call to undefined function curl_init
sudo apt-get install php-curl
sudo apt-get install php-curl