SMS setup test error

Trying to set up Twilio for SMS in the United States. With Test SMS I am getting:

Oh no!
Something has gone wrong: the Gibbons have escaped!

APACHE ERROR LOGS:
[Mon Jun 06 16:27:00] [proxy_fcgi:error] [pid 19482:tid 140286416008960] [client x.x.x.x:42836] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Matthewbdaly\\SMS\\Exceptions\\ClientException in /home/xxx.cloudwaysapps…n /…/public_html/home/vendor/matthewbdaly/sms-client/src/Drivers/Twilio.php on line 115’, referer: https://phpstack-xxx.cloudwaysapps.com/index.php?q=%2Fmodules%2FSystem+Admin%2FthirdPartySettings.php

Hi Tieku, it looks like the error may be in the values that are being sent to the Twilio API, but the error reporting certainly shouldn’t be causing a fatal error. I’ve updated the error reporting in the following commit for v24: https://github.com/GibbonEdu/core/commit/6e2321579ae9d1049de8c269300117d89fbe8737

This should help you to see the message that the Twilio API is sending back. In my tests, it seems that the Sender ID needs to be a valid phone number, and cannot be the same number that you are sending the text to (Twilio’s API requirements).