Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing the bundle: Undefined array key "port" #466

Open
AbrahamCovelo opened this issue Aug 2, 2022 · 3 comments
Open

Error installing the bundle: Undefined array key "port" #466

AbrahamCovelo opened this issue Aug 2, 2022 · 3 comments

Comments

@AbrahamCovelo
Copy link

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

@Erym974
Copy link

Erym974 commented Oct 25, 2022

Hello, did you find any solution to this problem ?

Thanks

@stevro
Copy link

stevro commented Feb 14, 2023

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

@herdrael
Copy link

Good afternoon! I have a similar problem. However, I took the advice above and created a pubsub directory with routing.yaml and gos_web_socket.yaml in packages. The problem persists and cannot be fixed. Symfony version is 5.3. Is there a working solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants