Skip to content

[Bug]: [error] Translations Error: __VSCODE_LARAVEL_START_OUTPUT__ #340

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

Open
entcorporg opened this issue Mar 18, 2025 · 1 comment · May be fixed by #341
Open

[Bug]: [error] Translations Error: __VSCODE_LARAVEL_START_OUTPUT__ #340

entcorporg opened this issue Mar 18, 2025 · 1 comment · May be fixed by #341
Assignees
Labels

Comments

@entcorporg
Copy link

Extension Version

1.0.5

PHP Binary

Local PHP

Operating System

Linux

What happened?

2025-03-18 12:08:57.891 [info] Checking herd PHP installation: herd which-php
2025-03-18 12:08:57.891 [info] Checking valet PHP installation: valet which-php
2025-03-18 12:08:57.891 [info] Checking sail PHP installation: ./vendor/bin/sail ps
2025-03-18 12:08:57.891 [info] Checking lando PHP installation: lando php -r 'echo PHP_BINARY;'
2025-03-18 12:08:57.891 [info] Checking local PHP installation: php -r 'echo PHP_BINARY;'
2025-03-18 12:08:57.891 [info] Using local PHP installation: /usr/bin/php8.4
2025-03-18 12:08:57.891 [info] Activating Laravel Extension...
2025-03-18 12:08:57.891 [info] Started
2025-03-18 12:08:57.900 [error] Translations

Error: VSCODE_LARAVEL_START_OUTPUT
TypeError

Cannot access offset of type array on array

at vendor/_laravel_ide/discover-d234df6a22ae2b9b097ac6e3772bd950.php:302
298▕ }
299▕
300▕ protected function getValueIndex($value)
301▕ {
➜ 302▕ $index = $this->values[$value] ?? null;
303▕
304▕ if ($index !== null) {
305▕ return $index;
306▕ }

Runtime Status
Activation
Activated by onLanguage:blade event: 52ms

Uncaught Errors (1)
Cannot read properties of undefined (reading 'code')

Mimimal Code Sample

@N1ebieski
Copy link
Contributor

#341

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

Successfully merging a pull request may close this issue.

3 participants