twilio-labs / code-exchange

Code guidelines, feature requests and bug reports for the Twilio CodeExchange
https://www.twilio.com/code-exchange
MIT License
25 stars 14 forks source link

Voice Recording w/ Follow Up Text #33

Open jas0nhuan9 opened 4 years ago

jas0nhuan9 commented 4 years ago

Where has this bug occurred? I followed the sample "Voice Recording w/ Follow Up Text" link: https://www.twilio.com/code-exchange/voice-recording-w-follow-text

and read the full tutorial "Send an SMS message during a phone call with PHP and Slim" link: https://www.twilio.com/docs/sms/tutorials/send-sms-during-phone-call-php

Describe the bug Fatal error: Uncaught ArgumentCountError: Too few arguments to function Slim\App::__construct(), 0 passed in \twilio_calls\index.php on line 10 and at least 1 expected in \twilio_calls\vendor\slim\slim\Slim\App.php:61 Stack trace: #0 \twilio_calls\index.php(10): Slim\App->__construct() #1 {main} thrown in \twilio_calls\vendor\slim\slim\Slim\App.php on line 61

To Reproduce Call Twilio number or open https://.ngrok.io/answer

Expected behavior an automated message is said to the participant in the call: "Thanks for calling! We just sent you a text with a clue."

Template bug info (please complete the following information if the bug exists in one of the templates):

Desktop (please complete the following information):

Smartphone (please complete the following information):

welcome[bot] commented 4 years ago

Thank you so much for opening your first issue in this project! We'll try to get back to it as quickly as possible.

Important: This does not count as a submission for the hackathon we are running with DEV.to. We'll still review any submission request here for submission to Twilio CodeExchange but an addition to CodeExchange does not have any impact on your chances to win the hackathon. In order to submit to the hackathon, please create a post on DEV using this template.

While you are waiting...here's a random picture of a corgi (powered by dog.ceo) picture of dog