WebSocketBundle icon indicating copy to clipboard operation
WebSocketBundle copied to clipboard

Error installing the bundle: Undefined array key "port"

Open AbrahamCovelo opened this issue 3 years ago • 3 comments
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

AbrahamCovelo avatar Aug 02 '22 09:08 AbrahamCovelo

Hello, did you find any solution to this problem ?

Thanks

Erym974 avatar Oct 25 '22 11:10 Erym974

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

stevro avatar Feb 14 '23 13:02 stevro