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

[Bug]: Extension fails on start #197

Open
iamlasse opened this issue Jan 14, 2025 · 10 comments
Open

[Bug]: Extension fails on start #197

iamlasse opened this issue Jan 14, 2025 · 10 comments
Assignees
Labels

Comments

@iamlasse
Copy link

iamlasse commented Jan 14, 2025

Extension Version

0.1.12

PHP Binary

Valet

Operating System

macOS

What happened?

When I start my ide the extension reports a failure immediately and stops working.

2025-01-13 22:49:44.499 [info] Activating Laravel Extension...
2025-01-13 22:49:44.499 [info] Started
2025-01-13 22:49:44.499 [error] Error:
Paths

/bin/sh: php: command not found

2025-01-13 22:49:44.499 [error] php -r "
error_reporting(E_ERROR | E_PARSE);

define('LARAVEL_START', microtime(true));

require_once '/Users/lasselarsen/Developer/clients/GPJ/lighthouse-api/vendor/autoload.php';
$app = require_once '/Users/lasselarsen/Developer/clients/GPJ/lighthouse-api/bootstrap/app.php';

class VsCodeLaravel extends \Illuminate\Support\ServiceProvider
{
public function register()
{
}

public function boot()
{
    if (method_exists(\$this->app['log'], 'setHandlers')) {
        \$this->app['log']->setHandlers([new \Monolog\Handler\ProcessHandler()]);
    }
}

}

$app->register(new VsCodeLaravel($app));
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
$kernel->bootstrap();

echo 'VSCODE_LARAVEL_START_OUTPUT';
echo json_encode([ [ 'key' => 'base_path', 'path' => base_path(), ], [ 'key' => 'resource_path', 'path' => resource_path(), ], [ 'key' => 'config_path', 'path' => config_path(), ], [ 'key' => 'app_path', 'path' => app_path(), ], [ 'key' => 'database_path', 'path' => database_path(), ], [ 'key' => 'lang_path', 'path' => lang_path(), ], [ 'key' => 'public_path', 'path' => public_path(), ], [ 'key' => 'storage_path', 'path' => storage_path(), ], ]); ;
echo 'VSCODE_LARAVEL_END_OUTPUT';

exit(0);
"
2025-01-13 22:49:44.500 [error]
error_reporting(E_ERROR | E_PARSE);

define('LARAVEL_START', microtime(true));

require_once '/Users/lasselarsen/Developer/clients/GPJ/lighthouse-api/vendor/autoload.php';
$app = require_once '/Users/lasselarsen/Developer/clients/GPJ/lighthouse-api/bootstrap/app.php';

class VsCodeLaravel extends \Illuminate\Support\ServiceProvider
{
public function register()
{
}

public function boot()
{
    if (method_exists($this->app['log'], 'setHandlers')) {
        $this->app['log']->setHandlers([new \Monolog\Handler\ProcessHandler()]);
    }
}

}

Mimimal Code Sample

No response

@joetannenbaum
Copy link
Collaborator

If you update the extension to v0.1.17 is this still happening?

@iamlasse
Copy link
Author

Still happening. I tried to create a new fresh profile and only install the extension, same problem still. The project is L11 maybe that's the issue? It seems to look for the old code architecture.

@joetannenbaum
Copy link
Collaborator

Just to clarify, this is the exact error you're still getting?

/bin/sh: php: command not found

@iamlasse
Copy link
Author

That's the first error in the trace but the trace is too long to post here

@joetannenbaum
Copy link
Collaborator

Hm, the traces should be much more concise in v0.1.17, you're still getting long traces after updating the extension to the latest version?

@iamlasse
Copy link
Author

2025-01-14 22:23:41.225 [info] Activating Laravel Extension...
2025-01-14 22:23:41.225 [info] Started
2025-01-14 22:23:41.242 [error] Error:
Custom Blade Directives

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-14 22:23:41.242 [error] php -r /Users/lasselarsen/Developer/clients/GPJ/lighthouse-api/vendor/_laravel_ide/discover-429f9ff5c7861376486e71f5f734f335.php
2025-01-14 22:23:41.242 [error] Custom Blade Directives

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-14 22:23:41.247 [error] Error:
App Bindings

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-14 22:23:41.247 [error] php -r /Users/lasselarsen/Developer/clients/GPJ/lighthouse-api/vendor/_laravel_ide/discover-4014d3d831186439ca0f0d0b49fb8940.php
2025-01-14 22:23:41.247 [error] App Bindings

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-14 22:23:41.248 [error] Error:

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-14 22:23:41.248 [error] php -r /Users/lasselarsen/Developer/clients/GPJ/lighthouse-api/vendor/_laravel_ide/discover-db99257bdb9b3093562bd2d168807720.php
2025-01-14 22:23:41.248 [error]
Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-14 22:23:41.248 [error] Error:
Auth Data

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-14 22:23:41.248 [error] php -r /Users/lasselarsen/Developer/clients/GPJ/lighthouse-api/vendor/_laravel_ide/discover-d8714f80f88ebfac0089cfe8b4bc8d45.php
2025-01-14 22:23:41.248 [error] Auth Data

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-14 22:23:41.248 [error] Error:
Configs

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-14 22:23:41.248 [error] php -r /Users/lasselarsen/Developer/clients/GPJ/lighthouse-api/vendor/_laravel_ide/discover-7ce65824a0f5756326f6d8470b9b4814.php
2025-01-14 22:23:41.248 [error] Configs

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-14 22:23:41.248 [error] Error:

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-14 22:23:41.248 [error] php -r /Users/lasselarsen/Developer/clients/GPJ/lighthouse-api/vendor/_laravel_ide/discover-e6ed03e84a7e56c2b0f65d30270ea14c.php
2025-01-14 22:23:41.248 [error]
Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-14 22:23:41.250 [error] Error:
Translation namespaces

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-14 22:23:41.250 [error] php -r /Users/lasselarsen/Developer/clients/GPJ/lighthouse-api/vendor/_laravel_ide/discover-042f384716179032bba26bc0fbf2f868.php
2025-01-14 22:23:41.250 [error] Translation namespaces

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-14 22:23:41.259 [error] Error:
Middlewares

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-14 22:23:41.259 [error] php -r /Users/lasselarsen/Developer/clients/GPJ/lighthouse-api/vendor/_laravel_ide/discover-a461f29fa785b53bb9be742297d19965.php
2025-01-14 22:23:41.259 [error] Middlewares

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-14 22:23:41.259 [error] Error:
HTTP Routes

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-14 22:23:41.259 [error] php -r /Users/lasselarsen/Developer/clients/GPJ/lighthouse-api/vendor/_laravel_ide/discover-555b8064cee53d11542165d1be49984c.php
2025-01-14 22:23:41.259 [error] HTTP Routes

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-14 22:23:41.260 [error] Error:
Eloquent Attributes and Relations

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-14 22:23:41.260 [error] php -r /Users/lasselarsen/Developer/clients/GPJ/lighthouse-api/vendor/_laravel_ide/discover-9b5570eff338a790a0f9b3391151f10c.php
2025-01-14 22:23:41.260 [error] Eloquent Attributes and Relations

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-14 22:23:41.264 [error] Error:
Paths

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-14 22:23:41.264 [error] php -r /Users/lasselarsen/Developer/clients/GPJ/lighthouse-api/vendor/_laravel_ide/discover-ada1d2cd558959162d249635a133adc4.php
2025-01-14 22:23:41.264 [error] Paths

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

@AnaelBonnafous
Copy link

I don't if it's the same problem causing an error to me, but I get the following output after starting the extension in a fairly Laravel Statamic project.

I am on Windows with Laravel Herd, PHP 8.3.15 on this project and Laravel Extension v0.1.17 in Visual Studio Code.

2025-01-15 22:03:33.180 [info] Checking herd PHP installation: herd which-php
2025-01-15 22:03:33.180 [info] Checking valet PHP installation: valet which-php
2025-01-15 22:03:33.180 [info] Checking local PHP installation: php -r 'echo PHP_BINARY;'
2025-01-15 22:03:33.180 [info] Checking sail PHP installation: ./vendor/bin/sail ps
2025-01-15 22:03:33.180 [info] Falling back to system PHP installation
2025-01-15 22:03:33.180 [info] Activating Laravel Extension...
2025-01-15 22:03:33.180 [info] Started
2025-01-15 22:03:38.838 [error] [{"type":"methodCall","methodName":"statamic","className":"Illuminate\\Support\\Facades\\Route","arguments":{"type":"arguments","autocompletingIndex":3,"children":[{"type":"argument","name":null,"children":[{"type":"string","value":"\/feed\/articles","start":{"line":9,"column":16},"end":{"line":9,"column":30}}]},{"type":"argument","name":null,"children":[{"type":"string","value":"feed\/feed","start":{"line":9,"column":34},"end":{"line":9,"column":43}}]},{"type":"argument","name":null,"children":[{"type":"array","children":[{"type":"array_item","key":{"type":"string","value":"layout","start":{"line":10,"column":4},"end":{"line":10,"column":10}},"value":null},{"type":"array_item","key":{"type":"string","value":"content_type","start":{"line":11,"column":4},"end":{"line":11,"column":16}},"value":{"type":"string","value":"application\/xml","start":{"line":11,"column":22},"end":{"line":11,"column":37}}}]}]}]}},{"type":"methodCall","methodName":"get","className":"Illuminate\\Support\\Facades\\Route","arguments":{"type":"arguments","autocompletingIndex":2,"children":[{"type":"argument","name":null,"children":[{"type":"methodCall","methodName":"class","className":"App\\Http\\Controllers\\Controller","arguments":{"type":"arguments","autocompletingIndex":0,"children":[]},"children":[]}]},{"type":"argument","name":null,"children":[{"type":"string","value":"show","start":{"line":14,"column":30},"end":{"line":14,"column":34}}]}]}}]
2025-01-15 22:07:55.969 [info] Stopped
2025-01-15 22:08:05.419 [info] Checking herd PHP installation: herd which-php
2025-01-15 22:08:05.420 [info] Using herd PHP installation: Deprecated: PHP Startup: session.sid_length INI setting is deprecated in Unknown on line 0

Deprecated: PHP Startup: session.sid_bits_per_character INI setting is deprecated in Unknown on line 0
C:/Users/anael/.config/herd/bin/php83/php.exe
2025-01-15 22:08:05.420 [error] Error:
 Paths

La syntaxe du nom de fichier, de r�pertoire ou de volume est incorrecte.

2025-01-15 22:08:05.420 [error] "Deprecated: PHP Startup: session.sid_length INI setting is deprecated in Unknown on line 0

Deprecated: PHP Startup: session.sid_bits_per_character INI setting is deprecated in Unknown on line 0
C:/Users/anael/.config/herd/bin/php83/php.exe" "c:\Users\anael\Herd\brindzik\vendor\_laravel_ide\discover-ada1d2cd558959162d249635a133adc4.php"
2025-01-15 22:08:05.420 [error] Paths

La syntaxe du nom de fichier, de r�pertoire ou de volume est incorrecte.

2025-01-15 22:08:05.420 [error] Error:
 Eloquent Attributes and Relations

La syntaxe du nom de fichier, de r�pertoire ou de volume est incorrecte.

2025-01-15 22:08:05.420 [error] "Deprecated: PHP Startup: session.sid_length INI setting is deprecated in Unknown on line 0

Deprecated: PHP Startup: session.sid_bits_per_character INI setting is deprecated in Unknown on line 0
C:/Users/anael/.config/herd/bin/php83/php.exe" "c:\Users\anael\Herd\brindzik\vendor\_laravel_ide\discover-9b5570eff338a790a0f9b3391151f10c.php"
2025-01-15 22:08:05.420 [error] Eloquent Attributes and Relations

La syntaxe du nom de fichier, de r�pertoire ou de volume est incorrecte.

2025-01-15 22:08:05.420 [error] Error:
 Translation namespaces

La syntaxe du nom de fichier, de r�pertoire ou de volume est incorrecte.

2025-01-15 22:08:05.420 [error] "Deprecated: PHP Startup: session.sid_length INI setting is deprecated in Unknown on line 0

Deprecated: PHP Startup: session.sid_bits_per_character INI setting is deprecated in Unknown on line 0
C:/Users/anael/.config/herd/bin/php83/php.exe" "c:\Users\anael\Herd\brindzik\vendor\_laravel_ide\discover-042f384716179032bba26bc0fbf2f868.php"
2025-01-15 22:08:05.420 [error] Translation namespaces

La syntaxe du nom de fichier, de r�pertoire ou de volume est incorrecte.

2025-01-15 22:08:05.420 [error] Error:
 Middlewares

La syntaxe du nom de fichier, de r�pertoire ou de volume est incorrecte.

2025-01-15 22:08:05.420 [error] "Deprecated: PHP Startup: session.sid_length INI setting is deprecated in Unknown on line 0

Deprecated: PHP Startup: session.sid_bits_per_character INI setting is deprecated in Unknown on line 0
C:/Users/anael/.config/herd/bin/php83/php.exe" "c:\Users\anael\Herd\brindzik\vendor\_laravel_ide\discover-a461f29fa785b53bb9be742297d19965.php"
2025-01-15 22:08:05.420 [error] Middlewares

La syntaxe du nom de fichier, de r�pertoire ou de volume est incorrecte.

2025-01-15 22:08:05.420 [error] Error:
 HTTP Routes

La syntaxe du nom de fichier, de r�pertoire ou de volume est incorrecte.

2025-01-15 22:08:05.420 [error] "Deprecated: PHP Startup: session.sid_length INI setting is deprecated in Unknown on line 0

Deprecated: PHP Startup: session.sid_bits_per_character INI setting is deprecated in Unknown on line 0
C:/Users/anael/.config/herd/bin/php83/php.exe" "c:\Users\anael\Herd\brindzik\vendor\_laravel_ide\discover-555b8064cee53d11542165d1be49984c.php"
2025-01-15 22:08:05.420 [error] HTTP Routes

La syntaxe du nom de fichier, de r�pertoire ou de volume est incorrecte.

2025-01-15 22:08:05.420 [error] Error:
 Configs

La syntaxe du nom de fichier, de r�pertoire ou de volume est incorrecte.

2025-01-15 22:08:05.420 [error] "Deprecated: PHP Startup: session.sid_length INI setting is deprecated in Unknown on line 0

Deprecated: PHP Startup: session.sid_bits_per_character INI setting is deprecated in Unknown on line 0
C:/Users/anael/.config/herd/bin/php83/php.exe" "c:\Users\anael\Herd\brindzik\vendor\_laravel_ide\discover-7ce65824a0f5756326f6d8470b9b4814.php"
2025-01-15 22:08:05.420 [error] Configs

La syntaxe du nom de fichier, de r�pertoire ou de volume est incorrecte.

2025-01-15 22:08:05.420 [error] Error:
 Auth Data

La syntaxe du nom de fichier, de r�pertoire ou de volume est incorrecte.

2025-01-15 22:08:05.420 [error] "Deprecated: PHP Startup: session.sid_length INI setting is deprecated in Unknown on line 0

Deprecated: PHP Startup: session.sid_bits_per_character INI setting is deprecated in Unknown on line 0
C:/Users/anael/.config/herd/bin/php83/php.exe" "c:\Users\anael\Herd\brindzik\vendor\_laravel_ide\discover-d8714f80f88ebfac0089cfe8b4bc8d45.php"
2025-01-15 22:08:05.420 [error] Auth Data

La syntaxe du nom de fichier, de r�pertoire ou de volume est incorrecte.

2025-01-15 22:08:05.420 [error] Error:
 App Bindings

La syntaxe du nom de fichier, de r�pertoire ou de volume est incorrecte.

2025-01-15 22:08:05.420 [error] "Deprecated: PHP Startup: session.sid_length INI setting is deprecated in Unknown on line 0

Deprecated: PHP Startup: session.sid_bits_per_character INI setting is deprecated in Unknown on line 0
C:/Users/anael/.config/herd/bin/php83/php.exe" "c:\Users\anael\Herd\brindzik\vendor\_laravel_ide\discover-4014d3d831186439ca0f0d0b49fb8940.php"
2025-01-15 22:08:05.420 [error] App Bindings

La syntaxe du nom de fichier, de r�pertoire ou de volume est incorrecte.

2025-01-15 22:08:05.420 [error] Error:
 Custom Blade Directives

La syntaxe du nom de fichier, de r�pertoire ou de volume est incorrecte.

2025-01-15 22:08:05.420 [error] "Deprecated: PHP Startup: session.sid_length INI setting is deprecated in Unknown on line 0

Deprecated: PHP Startup: session.sid_bits_per_character INI setting is deprecated in Unknown on line 0
C:/Users/anael/.config/herd/bin/php83/php.exe" "c:\Users\anael\Herd\brindzik\vendor\_laravel_ide\discover-429f9ff5c7861376486e71f5f734f335.php"
2025-01-15 22:08:05.420 [error] Custom Blade Directives

La syntaxe du nom de fichier, de r�pertoire ou de volume est incorrecte.

2025-01-15 22:08:05.420 [error] Error:
 

La syntaxe du nom de fichier, de r�pertoire ou de volume est incorrecte.

2025-01-15 22:08:05.420 [error] "Deprecated: PHP Startup: session.sid_length INI setting is deprecated in Unknown on line 0

Deprecated: PHP Startup: session.sid_bits_per_character INI setting is deprecated in Unknown on line 0
C:/Users/anael/.config/herd/bin/php83/php.exe" "c:\Users\anael\Herd\brindzik\vendor\_laravel_ide\discover-db99257bdb9b3093562bd2d168807720.php"
2025-01-15 22:08:05.420 [error] La syntaxe du nom de fichier, de r�pertoire ou de volume est incorrecte.

2025-01-15 22:08:05.420 [error] Error:
 

La syntaxe du nom de fichier, de r�pertoire ou de volume est incorrecte.

2025-01-15 22:08:05.420 [error] "Deprecated: PHP Startup: session.sid_length INI setting is deprecated in Unknown on line 0

Deprecated: PHP Startup: session.sid_bits_per_character INI setting is deprecated in Unknown on line 0
C:/Users/anael/.config/herd/bin/php83/php.exe" "c:\Users\anael\Herd\brindzik\vendor\_laravel_ide\discover-e6ed03e84a7e56c2b0f65d30270ea14c.php"
2025-01-15 22:08:05.420 [error] La syntaxe du nom de fichier, de r�pertoire ou de volume est incorrecte.

2025-01-15 22:08:05.420 [info] Activating Laravel Extension...
2025-01-15 22:08:05.420 [info] Started

The error "La syntaxe du nom de fichier, de r�pertoire ou de volume est incorrecte." meaning "Incorrect file, directory or volume name syntax.".

@iamlasse
Copy link
Author

I'm getting all these errors now

2025-01-16 17:57:17.571 [info] Activating Laravel Extension...
2025-01-16 17:57:17.571 [info] Started
2025-01-16 17:57:17.571 [error] Error:
App Bindings

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-16 17:57:17.571 [error] php -r /Users/lasselarsen/Developer/clients/Brightview/telematics/vendor/_laravel_ide/discover-4014d3d831186439ca0f0d0b49fb8940.php
2025-01-16 17:57:17.571 [error] App Bindings

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-16 17:57:17.571 [error] Error:
Custom Blade Directives

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-16 17:57:17.571 [error] php -r /Users/lasselarsen/Developer/clients/Brightview/telematics/vendor/_laravel_ide/discover-429f9ff5c7861376486e71f5f734f335.php
2025-01-16 17:57:17.571 [error] Custom Blade Directives

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-16 17:57:17.571 [error] Error:

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-16 17:57:17.571 [error] php -r /Users/lasselarsen/Developer/clients/Brightview/telematics/vendor/_laravel_ide/discover-db99257bdb9b3093562bd2d168807720.php
2025-01-16 17:57:17.571 [error]
Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-16 17:57:17.571 [error] Error:

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-16 17:57:17.571 [error] php -r /Users/lasselarsen/Developer/clients/Brightview/telematics/vendor/_laravel_ide/discover-e6ed03e84a7e56c2b0f65d30270ea14c.php
2025-01-16 17:57:17.571 [error]
Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-16 17:57:17.571 [error] Error:
Translation namespaces

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-16 17:57:17.571 [error] php -r /Users/lasselarsen/Developer/clients/Brightview/telematics/vendor/_laravel_ide/discover-042f384716179032bba26bc0fbf2f868.php
2025-01-16 17:57:17.571 [error] Translation namespaces

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-16 17:57:17.571 [error] Error:
Eloquent Attributes and Relations

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-16 17:57:17.571 [error] php -r /Users/lasselarsen/Developer/clients/Brightview/telematics/vendor/_laravel_ide/discover-9b5570eff338a790a0f9b3391151f10c.php
2025-01-16 17:57:17.571 [error] Eloquent Attributes and Relations

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-16 17:57:17.571 [error] Error:
Paths

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-16 17:57:17.571 [error] php -r /Users/lasselarsen/Developer/clients/Brightview/telematics/vendor/_laravel_ide/discover-ada1d2cd558959162d249635a133adc4.php
2025-01-16 17:57:17.571 [error] Paths

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-16 17:57:17.571 [error] Error:
Middlewares

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-16 17:57:17.571 [error] php -r /Users/lasselarsen/Developer/clients/Brightview/telematics/vendor/_laravel_ide/discover-a461f29fa785b53bb9be742297d19965.php
2025-01-16 17:57:17.571 [error] Middlewares

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-16 17:57:17.571 [error] Error:
HTTP Routes

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-16 17:57:17.571 [error] php -r /Users/lasselarsen/Developer/clients/Brightview/telematics/vendor/_laravel_ide/discover-555b8064cee53d11542165d1be49984c.php
2025-01-16 17:57:17.571 [error] HTTP Routes

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-16 17:57:17.571 [error] Error:
Auth Data

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-16 17:57:17.571 [error] php -r /Users/lasselarsen/Developer/clients/Brightview/telematics/vendor/_laravel_ide/discover-d8714f80f88ebfac0089cfe8b4bc8d45.php
2025-01-16 17:57:17.571 [error] Auth Data

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-16 17:57:17.571 [error] Error:
Configs

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

2025-01-16 17:57:17.571 [error] php -r /Users/lasselarsen/Developer/clients/Brightview/telematics/vendor/_laravel_ide/discover-7ce65824a0f5756326f6d8470b9b4814.php
2025-01-16 17:57:17.571 [error] Configs

Parse error: syntax error, unexpected token "/", expecting end of file in Command line code on line 1

@iamlasse
Copy link
Author

I've done some digging, and it looks like the issue is caused by the extension itself. In the laravel_ide folder all the errors occur in the discover-* files. I've cloned the extension, built and installed v 0.1.18 to make sure I had all the latest code.

@TonsiTT
Copy link

TonsiTT commented Jan 20, 2025

I've done some digging, and it looks like the issue is caused by the extension itself. In the laravel_ide folder all the errors occur in the discover-* files. I've cloned the extension, built and installed v 0.1.18 to make sure I had all the latest code.

Having the same error with the discover-* files as well

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

4 participants