Skip to content

Execution Error#522

@eric-lukyamuzi

Description

@eric-lukyamuzi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions