DEV Community

loading...

Discussion on: Building a booking chatbot using BotMan

Collapse
jamesnm profile image
James Moore

I get the following error

include(): Opis\Closure\ClosureStream::stream_set_option is not implemented!

When using the following code

$this->ask('What is your name?', function(Answer $answer) {
   $this->say('Nice to meet you '. $answer->getText());

}); 

Has anyone else gotten this

Collapse
jamesnm profile image
James Moore

its due to php 7.4 that I have installed locally (arrow functions and all that fun stuff), my vagrant homestead setup is currently on 7.2~3 so I just served it from there and everything works great. Great tutorial thanks !

Collapse
devkiran profile image
Kiran Krishnan Author

Glad you found it useful.

Forem Open with the Forem app