HttpFoundation\ParameterBag not found http-foundation/Request

Posted 11 months ago by JasperK

My L5 applicaties gets an error after doing composer install:

( ! ) Fatal error: Uncaught Error: Class 'Symfony\Component\HttpFoundation\ParameterBag' not found in /home/vagrant/Code/vendor/symfony/http-foundation/Request.php on line 238
( ! ) Error: Class 'Symfony\Component\HttpFoundation\ParameterBag' not found in /home/vagrant/Code/vendor/symfony/http-foundation/Request.php on line 238

It's probably a Homestead problem, because it's working on one Homestead instance and not at another. Both on the same versions of Homestead on MacOS.

Anyone an idea how to fix this?

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up


Reply to

Use Markdown with GitHub-flavored code blocks.