PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Monday, January 31, 2022

[FIXED] getting error after checkout a new branch in Laravel

 January 31, 2022     composer-php, elasticsearch, laravel     No comments   

Issue

I am working on Laravel project. I checkout new branch and it gives error " Symfony \ Component \ Debug \ Exception \ FatalErrorException

Class 'Pimple' not found " it display the error file as 'elasticsearch/elasticsearch/src/Elasticsearch/Common/DICBuilder.php' I run composer update,composer self-update and composer dumpautoload and it wasn't help. Can anyone help me?


Solution

Remove dir vendor/elasticsearch and then run composer update. If you still get error, then package elasticsearch/elasticsearch is broken. You can remove package from your project in composer.json.



Answered By - Mateusz Nowak
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing