Skip to content

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

Open
@entcorporg

Description

@entcorporg

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions