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

PHP Fatal error: Uncaught Error: Cannot instantiate interface Phpactor\LanguageServer\Core\Server\Transmitter\MessageFormatter in ***/language-server/bin/proxy:48 #40

Open
gvanbeck opened this issue Sep 29, 2021 · 2 comments

Comments

@gvanbeck
Copy link

just trying example from documentation.
echo '{"id":1,"method":"foobar","params":[]}' | ./bin/proxy request | php example/server/minimal.php
then got error:
PHP Fatal error: Uncaught Error: Cannot instantiate interface Phpactor\LanguageServer\Core\Server\Transmitter\MessageFormatter in ***/language-server/bin/proxy:48 Stack trace: #0 {main} thrown in ***/language-server/bin/proxy on line 48
my php-version is : PHP 8.0.11

@gvanbeck gvanbeck changed the title PHP Fatal error: Uncaught Error: Cannot instantiate interface Phpactor\LanguageServer\Core\Server\Transmitter\MessageFormatter in /Users/gert/Projects/language-server/bin/proxy:48 PHP Fatal error: Uncaught Error: Cannot instantiate interface Phpactor\LanguageServer\Core\Server\Transmitter\MessageFormatter in ***/language-server/bin/proxy:48 Sep 29, 2021
@dantleech
Copy link
Contributor

hm, why are you running the proxy thing? actually not even sure I recall what that's for 🤔

@gvanbeck
Copy link
Author

Hm was some time ago... I tried to start from the docs here: https://language-server-platform.readthedocs.io/en/latest/tutorial/getting-started.html

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

2 participants