Skip to content

[Bug]: "[error] Translation namespaces" #212

Closed
@Jipem

Description

@Jipem

Extension Version

0.1.18

PHP Binary

Local PHP

Operating System

Windows

What happened?

On start of Visual Studio Code :

2025-01-18 20:03:35.974 [info] Checking herd PHP installation: herd which-php
2025-01-18 20:03:35.975 [info] Checking valet PHP installation: valet which-php
2025-01-18 20:03:35.975 [info] Checking local PHP installation: php -r 'echo PHP_BINARY;'
2025-01-18 20:03:35.975 [info] Checking sail PHP installation: ./vendor/bin/sail ps
2025-01-18 20:03:35.975 [info] Falling back to system PHP installation
2025-01-18 20:03:35.975 [error] Translation namespaces

Error: __VSCODE_LARAVEL_START_OUTPUT__
   BadMethodCallException 

  Method Illuminate\Filesystem\Filesystem::json does not exist.

  at D:\jipem\Sites\laragon\www\laravel\vendor\laravel\framework\src\Illuminate\Macroable\Traits\Macroable.php:113
    109▕      */
    110▕     public function __call($method, $parameters)
    111▕     {
    112▕         if (! static::hasMacro($method)) {
  ➜ 113▕             throw new BadMethodCallException(sprintf(
    114▕                 'Method %s::%s does not exist.', static::class, $method
    115▕             ));
    116▕         }
    117▕

  i   Bad Method Call: Did you mean Illuminate\Filesystem\Filesystem::extension() ? 

  1   D:\jipem\Sites\laragon\www\laravel\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php:338
      Illuminate\Filesystem\Filesystem::__call("json")

  2   D:\jipem\Sites\laragon\www\laravel\vendor\_laravel_ide\discover-9bf70685f88c341f6dfa31892eff8be2.php:94
      Illuminate\Support\Facades\Facade::__callStatic("json")

2025-01-18 20:03:35.978 [info] Activating Laravel Extension...
2025-01-18 20:03:35.978 [info] Started

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