jeudi 11 octobre 2018

How to fix aloha/twilio warning

In my Laravel 5.7 app ( PHP 7.2.10-0ubuntu0.18.04.1, dev mode) I Installed https://github.com/aloha/laravel-twilio plugin

  - Installing twilio/sdk (5.23.1): Downloading (100%)         
  - Installing aloha/twilio (4.0.2): Downloading (100%)  

and using it I got error:

ErrorException (E_WARNING)
Use of undefined constant CURLOPT_URL - assumed 'CURLOPT_URL' (this will throw an Error in a future version of PHP)

and no sms was sent. I suppose that I can to switch off E_WARNING at my local server, but as my app is still under development mode I would like to keep it.

Which can be decision here ?

Thanks!



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire