Target [IlluminateContractsHttpKernel] is not instantiable laravel-5.4

I am getting this error after I upgrade laravel from 5.2 to 5.4.

    
Warning: Illegal offset type in C:xampphtdocsvaluable-appdev-masterrest_appvendorlaravelframeworksrcIlluminateContainerContainer.php on line 449

Warning: Illegal offset type in C:xampphtdocsvaluable-appdev-masterrest_appvendorlaravelframeworksrcIlluminateContainerContainer.php on line 449

Warning: Illegal offset type in C:xampphtdocsvaluable-appdev-masterrest_appvendorlaravelframeworksrcIlluminateContainerContainer.php on line 449

Warning: Illegal offset type in C:xampphtdocsvaluable-appdev-masterrest_appvendorlaravelframeworksrcIlluminateContainerContainer.php on line 449

Warning: Illegal offset type in C:xampphtdocsvaluable-appdev-masterrest_appvendorlaravelframeworksrcIlluminateContainerContainer.php on line 449

Warning: Illegal offset type in C:xampphtdocsvaluable-appdev-masterrest_appvendorlaravelframeworksrcIlluminateContainerContainer.php on line 449

Warning: Illegal offset type in C:xampphtdocsvaluable-appdev-masterrest_appvendorlaravelframeworksrcIlluminateContainerContainer.php on line 449

Fatal error: Uncaught IlluminateContractsContainerBindingResolutionException: Target [IlluminateContractsHttpKernel] is not instantiable. in C:xampphtdocsvaluable-appdev-masterrest_appvendorlaravelframeworksrcIlluminateContainerContainer.php:894 Stack trace: 0 C:xampphtdocsvaluable-appdev-masterrest_appvendorlaravelframeworksrcIlluminateContainerContainer.php(734): IlluminateContainerContainer->notInstantiable('Illuminate\Cont...')
1 C:xampphtdocsvaluable-appdev-masterrest_appvendorlaravelframeworksrcIlluminateContainerContainer.php(608): IlluminateContainerContainer->build('Illuminate\Cont...')
2 C:xampphtdocsvaluable-appdev-masterrest_appvendorlaravelframeworksrcIlluminateContainerContainer.php(575): IlluminateContainerContainer->resolve('Illuminate\Cont...')
3 C:xampphtdocsvaluable-appdev-masterrest_appvendorlaravelframeworksrcIlluminateFoundationApplication.php(728): IlluminateContainerContainer->make('Illuminate\Cont...')
4 C:xamppht in C:xampphtdocsvaluable-appdev-masterrest_appvendorlaravelframeworksrcIlluminateContainerContainer.php on line 894

i have already spend a lot of time in solving this but not get a working answer. Please anyone

All topic