Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

oka_'s avatar
Level 1

In Finder.php line 588: syntax error, unexpected token ")"

I install the new version of PHP on my computer, but when I tried to run "PHP artisan serve" on my laravel project, this happen on my terminal.

In Finder.php line 588:

  syntax error, unexpected token ")"

The first time I make the laravel project, I'm using the newest PHP version too, but for some reason, I have to downgrade my PHP version for another laravel project that can only use PHP 7.4, and now I'm going to continue my first laravel project so I install the new version of PHP.

0 likes
7 replies
rhand's avatar

What PHP version is it? Is it supported by Laravel? What is on line 588?

1 like
oka_'s avatar
Level 1

@rhand 8.0.23 version, the same version as when I make my first laravel project. Yes, my first laravel project is Laravel 9, I have no idea about line 588

oka_'s avatar
Level 1

@rhand where can I find that folder? I search for it on my text editor but it's nothing And, idk why my vendor folder and my .env file look faded somehow.

I'll read the link you gave first, thanks

oka_'s avatar
Level 1

@rhand oh it's solved, thanks bro, you really help me

Please or to participate in this conversation.