Skip to content

[Bug]: Cannot access offset of type array on array #262

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
AlanOrbio opened this issue Feb 17, 2025 · 1 comment
Open

[Bug]: Cannot access offset of type array on array #262

AlanOrbio opened this issue Feb 17, 2025 · 1 comment
Assignees
Labels

Comments

@AlanOrbio
Copy link

Extension Version

0.1.20

PHP Binary

Docker

Operating System

macOS

What happened?

When running the extension, it fails and throws an error

`2025-02-17 11:28:05.957 [info] Stopped
2025-02-17 11:28:07.268 [info] Activating Laravel Extension...
2025-02-17 11:28:07.268 [info] Started
2025-02-17 11:28:12.660 [error] Translations

Error: VSCODE_LARAVEL_START_OUTPUT
TypeError

Cannot access offset of type array on array

at vendor/_laravel_ide/discover-3882913f82005746ab5ab1368f4920b5.php:245
241▕ }
242▕
243▕ protected function getValueIndex($value)
244▕ {
➜ 245▕ $index = $this->values[$value] ?? null;
246▕
247▕ if ($index !== null) {
248▕ return $index;
249▕ }`

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

No branches or pull requests

3 participants