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

lifesound's avatar

Laravel stopped after i did composer update

what is the solution ?

0 likes
35 replies
tykus's avatar

What is with all of these random issues you are having? Composer update solves one issue - but also stops Laravel???

lifesound's avatar

@tykus I was doing a schedule after creating the schedule I have an err related to timezone to solve that error I did composer update after that everything stopped

tykus's avatar

@lifesound how does composer update solve that issue if the app is no longer working?

What is the nature of Laravel stopped - what does that actually mean?

lifesound's avatar

@tykus the app stopped after composer update if I did I request I got that

[Sat Apr 16 21:09:42 2022] 127.0.0.1:49413 Accepted
[Sat Apr 16 21:09:42 2022] 127.0.0.1:49412 Closing
[Sat Apr 16 21:09:42 2022] 127.0.0.1:49413 [200]: GET /favicon.ico
[Sat Apr 16 21:09:42 2022] 127.0.0.1:49413 Closing

I have commented the schedule but no dice

also deleted the vendor and reinstall also no dice

tykus's avatar

@lifesound why do you think it has updated to Laravel 9? What is the version constraint in composer.json?

jlrdw's avatar

@lifesound Try deleting vendor folder but this time composer install, or did you run that already?

1 like
lifesound's avatar

@jlrdw I did , No hope I also reset --hard to last commit where my website was working, and still have the same issue Laravel closing the request

tykus's avatar

@lifesound every Request gets closed 🤷‍♂️

Are you sure you're visiting valid URL(s)?

tykus's avatar
tykus
Best Answer
Level 104

@lifesound I honestly don't know what you're doing wrong...

Can you show us your web routes?

1 like
jlrdw's avatar

@lifesound also echo something in index.php, does that work? This is a puzzler.

1 like
lifesound's avatar

@tykus It is ok , there is something weird happed I reset the git --hard and it is also closing the request This is a 4 month project :(

tykus's avatar

@lifesound really?????

could be php artisan is not compatible with laravel ?

1 like
jlrdw's avatar

@lifesound see if the port you are trying to use is suddenly being used by another process. Or try nginx or apache to run project.

1 like
lifesound's avatar

@jlrdw thanx for your care , I really appreciate that I have did php artisan route:list and I see all my routes gone

I cleared the routes and it re responds but have an err Illuminate\Contracts\Container\BindingResolutionException Target class [Fruitcake\Cors\HandleCors] does not exist.

lifesound's avatar

@jlrdw It is working for some reason my routes gone I will set the answer to you to the part you told about the routes

lifesound's avatar

@tykus I lost 3 hours with mini heart attack, I should deliver the project after 4 months of work

jlrdw's avatar

@lifesound I use git also, but I also make a zip backup of project as well, not vendor, but other folders.

2 likes

Please or to participate in this conversation.