Cannot override AbstractFindAdapter class

I have a bug in my Laravel installation that appears [apparently] intermittently. Its as follows:

[2015-04-22 15:30:45] production.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Cannot redeclare class Symfony\Component\Finder\Adapter\AbstractFindAdapter' in /var/www/web/website/htdocs/vendor/symfony/finder/Symfony/Component/Finder/Adapter/AbstractFindAdapter.php:28
Stack trace:
#0 [internal function]: Illuminate\Exception\Handler->handleShutdown()
#1 {main} [] []
[2015-04-22 15:32:39] production.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Cannot redeclare class Symfony\Component\Finder\Adapter\AbstractFindAdapter' in /var/www/web/website/htdocs/vendor/symfony/finder/Symfony/Component/Finder/Adapter/AbstractFindAdapter.php:28
Stack trace:
#0 [internal function]: Illuminate\Exception\Handler->handleShutdown()
#1 {main} [] []

      

It seems to come from the Vendor files and is based on how much shorter the Trace Stack is not much for me ...

I suppose my question is not "How do I make this work", but even more, how do I solve a problem with a problem that is most likely from a different repository? Is there a problem with Github as the first port of call, or does this error really contain enough information for me to look into the fix myself?

+3


source to share


1 answer


I'm not entirely sure, but I believe the problem was a corrupted composer installation. To fix this, I:



  • Removed entire supplier directory
  • Ran composer install again
+1


source







All Articles