php artisan optimize NULL.ERROR: SymfonyComponentDebugExceptionFatalThrowableError: Call to undefined method IlluminateFoundationBootstrap

I am setting up an existing Laravel project for the first time in my life,

I am using

  • macOS Catlina version 10.15.2
  • Mongodb 3.2
  • Php 7.2

When I am using composer install I am getting the below error:

php artisan optimize NULL.ERROR: SymfonyComponentDebugExceptionFatalThrowableError: Call to undefined method IlluminateFoundationBootstrapConfigureLogging::configureHandler()

I have gone through multiple links on Stack overflow but no luck , I have deleted vendor folder , and composer.lock multiple times and tried to run composer install but the error is same

Can some body help me to solve this issue

Below is my composer.json

{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
"php": ">=5.6.4",
"laravel/framework": "5.3.*",
"laravelcollective/html": "^5.3.0",
"laravel/passport": "^1.0",
"moloquent/moloquent": "dev-master",
"predis/predis": "^1.1",
"proengsoft/laravel-jsvalidation": "~1.1",
"barryvdh/laravel-cors": "^0.9.2",
"dingo/api": "[email protected]",
"tymon/jwt-auth": "^[email protected]",
"irazasyed/jwt-auth-guard": "^1.0",
"maatwebsite/excel": "^2.1",
"davejamesmiller/laravel-breadcrumbs": "^3.0",
"intervention/image": "^2.3",
"milon/barcode": "^5.3",
"h4cc/wkhtmltopdf-amd64": "0.12.x",
"barryvdh/laravel-snappy": "^0.3.3",
"brozot/laravel-fcm": "^1.2",
"yajra/laravel-datatables-oracle": "^6.0",
"jenssegers/agent": "^2.6",
"barryvdh/laravel-debugbar": "~2.4",
"caffeinated/menus": "v3.0.4",
"laravel-notification-channels/webpush": "^3.0.1",
"mongodb/mongodb": "^1.5",
"doctrine/mongodb-odm-bundle": "^3.4"
},
"require-dev": {
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~5.0",
"symfony/css-selector": "3.1.*",
"laravel/passport": "^1.0",
"symfony/dom-crawler": "3.1.*",
"xethron/migrations-generator": "^2.0"
}

}

from Newest questions tagged laravel-5 – Stack Overflow https://ift.tt/2VKYvtJ
via IFTTT

Related Posts

Codeigniter : Parse error: syntax error, unexpected ‘const’ (T_CONST), expecting variable (T_VARIABLE) in Laravel project

I’m getting following error: **Parse error: syntax error, unexpected ‘const’ (T_CONST), expecting variable (T_VARIABLE)** Note : It’s working in local but facing issue in production server. private…

Firebase receive notification while tab is active or on focus

What i want is to be able to perform an action when a user receives a notification while the browser is open and tab is active or…

Laravel’s alias loader does not find class

We have a legacy project that we cannot update and we need to make some changes in symfony’s Response.php in vendor. We have solved this by copying…

Laravel 5 – generic document management

I have a system where you can create different types of unique documents. For instance, one document is called Project Identified and this expects certain inputs. Originally,…

Laravel Nova limit the results in indexQuery

I ran intro a situation where I need to limit the results of a resource to only 3 results. To be more specific, based on the logged…

Auditoria en laravel 5.8 [closed]

Cómo puedo automatizar el registro de actividades de un usuario en laravel? Si un usuario ingresa a un app de laravel, debo guardar toda su actividas, a…

Leave a Reply

Your email address will not be published.