php - Intermittent error Laravel5 Cannot declare ... because the name is already in use -
we have been getting -intermittent- errors in our log (which correspond http 50x error 'spikes') problem seems go away on own while , come back.
error: symfony\component\debug\exception\fatalerrorexception: cannot declare class illuminate\session\store, because name in use and
error: symfony\component\debug\exception\fatalerrorexception: cannot declare class illuminate\session\store, because name in use in and
error: symfony\component\debug\exception\fatalerrorexception: cannot declare trait illuminate\validation\validateswhenresolvedtrait neither of these directly related app code, purely in vendor stuff cannot figure out why works of time seems wobble @ random times throughout day. doubt different portions of app simple pretty linear activity flow.
this not seem related deployments , traffic, ram , cpu relatively low @ these times.
i have tried googling , there plenty, not seems intermittent version, or these specific class & trait.
any enlightenment on appreciated
here composer json if helps:
"name": "laravel/laravel", "description": "the laravel framework.", "keywords": ["framework", "laravel"], "license": "mit", "type": "project", "require": { "php": ">=5.6.4", "laravel/framework": "5.3.*", "maatwebsite/excel": "~2.1.0", "laravelcollective/html": "^5.3", "intervention/image": "^2.3" }, "require-dev": { "fzaninotto/faker": "~1.4", "mockery/mockery": "0.9.*", "phpunit/phpunit": "~5.0", "symfony/css-selector": "3.1.*", "symfony/dom-crawler": "3.1.*", "doctrine/dbal": "~2.3" }, "autoload": { "classmap": [ "database" ], "psr-4": { "app\\": "app/" } }, "autoload-dev": { "classmap": [ "tests/testcase.php" ] }, "scripts": { "post-root-package-install": [ "php -r \"file_exists('.env') || copy('.env.example', '.env');\"" ], "post-create-project-cmd": [ "php artisan key:generate" ], "post-install-cmd": [ "illuminate\\foundation\\composerscripts::postinstall", "php artisan optimize" ], "post-update-cmd": [ "illuminate\\foundation\\composerscripts::postupdate", "php artisan optimize" ] }, "config": { "preferred-install": "dist" } thanks
Comments
Post a Comment