Execution Error
eric-lancelot opened this issue · comments
Hi everyone,
thankyou for the great work done on this library.
its my first time using it, but am having this error below please help me.
PHP Fatal error: Uncaught TypeError: strpos(): Argument #1 ($haystack) must be of type string, React\EventLoop\StreamSelectLoop given in /Applications/XAMPP/xamppfiles/htdocs/socket-react/vendor/react/socket/src/Server.php:69
Stack trace:
#0 /Applications/XAMPP/xamppfiles/htdocs/socket-react/vendor/react/socket/src/Server.php(69): strpos(Object(React\EventLoop\StreamSelectLoop), '://')
#1 /Applications/XAMPP/xamppfiles/htdocs/socket-react/listen.socket.php(11): React\Socket\Server->__construct(Object(React\EventLoop\StreamSelectLoop))
#2 {main}
thrown in /Applications/XAMPP/xamppfiles/htdocs/socket-react/vendor/react/socket/src/Server.php on line 69