mercredi 4 janvier 2017

AWS Elastic Beanstalk PHP Error

I have been having a weird problem when I add my Laravel installation to the worker environment for my Elastic Beanstalk deployment. I have been getting the following error message in the logs:

"[:error] [pid 5032] [client 127.0.0.1:38126] PHP Fatal error: Cannot declare trait Illuminate\Foundation\Bus\DispatchesJobs, because the name is already in use in /var/app/current/bootstrap/cache/compiled.php on line 5441"

I have no idea what this means. My initial thought was that I was getting this because I was dispatching a job from another job but after reading up on job dispatching, it seems that it should be acceptable to do that.

Can anyone shed some light on what I might be getting this error? It only happens on the one worker tier. I have the same code in a dev worker and I dont see this.

Thanks!



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2iDAYpk
via IFTTT

Aucun commentaire:

Enregistrer un commentaire