WebSocketBundle
WebSocketBundle copied to clipboard
Error installing the bundle: Undefined array key "port"
trafficstars
After executing composer require gos/web-socket-bundle
I got this error when cache:clear is executed:
In GosWebSocketExtension.php line 278: Warning: Undefined array key "port"
Extra info: PHP 8.1.8 Symfony 6.1.3 with dockerized environment https://github.com/dunglas/symfony-docker
Hello, did you find any solution to this problem ?
Thanks
For whoever is interested, a workaround is to manually create the config in config/packages/gos_web_socket.yaml as described here https://github.com/GeniusesOfSymfony/WebSocketBundle/blob/3.x/docs/index.md#configure-the-bundle