^ Symfony\Component\Debug\Exception\FatalThrowableError {#38
-originalClassName: "TypeError"
#message: "Argument 1 passed to Illuminate\Config\Repository::__construct() must be of the type array, int given, called in /www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php on line 36"
#code: 0
#file: "/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Config/Repository.php"
#line: 24
#severity: E_RECOVERABLE_ERROR
trace: {
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Config/Repository.php:24 {
Illuminate\Config\Repository->__construct(array $items = []) …
› */
› public function __construct(array $items = [])
› {
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php:36 {
Illuminate\Foundation\Bootstrap\LoadConfiguration->bootstrap(Application $app) …
› // options available to the developer for use in various parts of this app.
› $app->instance('config', $config = new Repository($items));
›
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:219 {
Illuminate\Foundation\Application->bootstrapWith(array $bootstrappers) …
›
› $this->make($bootstrapper)->bootstrap($this);
›
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:156 {
Illuminate\Foundation\Http\Kernel->bootstrap() …
› if (! $this->app->hasBeenBootstrapped()) {
› $this->app->bootstrapWith($this->bootstrappers());
› }
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:140 {
Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter($request) …
›
› $this->bootstrap();
›
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:110 {
Illuminate\Foundation\Http\Kernel->handle($request) …
›
› $response = $this->sendRequestThroughRouter($request);
› } catch (Exception $e) {
}
/www/wwwroot/caigou/app/laravel.php:47 {
include_once …
› $response = $kernel->handle(
› $request = \app\framework\Http\Request::capture()
› );
}
/www/wwwroot/caigou/index.php:11 {
›
› include_once __DIR__ . '/app/laravel.php';
›
arguments: {
"/www/wwwroot/caigou/app/laravel.php"
}
}
}
}
^ Illuminate\Contracts\Container\BindingResolutionException {#37
#message: "Target class [config] does not exist."
#code: 0
#file: "/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Container/Container.php"
#line: 805
-previous: ReflectionException {#35
#message: "Class config does not exist"
#code: -1
#file: "/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Container/Container.php"
#line: 803
trace: {
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Container/Container.php:803 {
Illuminate\Container\Container->build($concrete) …
› try {
› $reflector = new ReflectionClass($concrete);
› } catch (ReflectionException $e) {
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Container/Container.php:681 {
Illuminate\Container\Container->resolve($abstract, $parameters = [], $raiseEvents = true) …
› if ($this->isBuildable($concrete, $abstract)) {
› $object = $this->build($concrete);
› } else {
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:785 {
Illuminate\Foundation\Application->resolve($abstract, $parameters = [], $raiseEvents = true) …
›
› return parent::resolve($abstract, $parameters, $raiseEvents);
› }
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Container/Container.php:629 {
Illuminate\Container\Container->make($abstract, array $parameters = []) …
› {
› return $this->resolve($abstract, $parameters);
› }
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:770 {
Illuminate\Foundation\Application->make($abstract, array $parameters = []) …
›
› return parent::make($abstract, $parameters);
› }
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php:120 {
app($abstract = null, array $parameters = []) …
›
› return Container::getInstance()->make($abstract, $parameters);
› }
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php:276 {
config($key = null, $default = null) …
›
› return app('config')->get($key, $default);
› }
}
/www/wwwroot/caigou/app/framework/Log/BaseLog.php:32 {
app\framework\Log\BaseLog->__construct() …
› }
› $this->log = new \Illuminate\Log\Logger(new Logger(config('app.env')));
› $this->log->getLogger()->pushHandler(
}
/www/wwwroot/caigou/bootstrap/app.php:35 {
{closure} …
› $app->singleton('Log.error', function (){
› return new \app\framework\Log\ErrorLog();
› });
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Container/Container.php:799 {
Illuminate\Container\Container->build($concrete) …
› if ($concrete instanceof Closure) {
› return $concrete($this, $this->getLastParameterOverride());
› }
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Container/Container.php:681 {
Illuminate\Container\Container->resolve($abstract, $parameters = [], $raiseEvents = true) …
› if ($this->isBuildable($concrete, $abstract)) {
› $object = $this->build($concrete);
› } else {
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:785 {
Illuminate\Foundation\Application->resolve($abstract, $parameters = [], $raiseEvents = true) …
›
› return parent::resolve($abstract, $parameters, $raiseEvents);
› }
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Container/Container.php:629 {
Illuminate\Container\Container->make($abstract, array $parameters = []) …
› {
› return $this->resolve($abstract, $parameters);
› }
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:770 {
Illuminate\Foundation\Application->make($abstract, array $parameters = []) …
›
› return parent::make($abstract, $parameters);
› }
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php:120 {
app($abstract = null, array $parameters = []) …
›
› return Container::getInstance()->make($abstract, $parameters);
› }
}
/www/wwwroot/caigou/app/framework/Support/Facades/Log.php:31 {
app\framework\Support\Facades\Log::error($message, $content = []) …
› }
› app('Log.error')->add($message,$content);
› }
}
/www/wwwroot/caigou/app/common/exceptions/Handler.php:64 {
app\common\exceptions\Handler->report(Exception $exception) …
› if (!app()->runningInConsole()) {
› Log::error('http parameters', request()->input());
› }
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:408 {
Illuminate\Foundation\Http\Kernel->reportException(Exception $e) …
› {
› $this->app[ExceptionHandler::class]->report($e);
› }
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 {
Illuminate\Foundation\Http\Kernel->handle($request) …
› } catch (Throwable $e) {
› $this->reportException($e = new FatalThrowableError($e));
›
}
/www/wwwroot/caigou/app/laravel.php:47 {
include_once …
› $response = $kernel->handle(
› $request = \app\framework\Http\Request::capture()
› );
}
/www/wwwroot/caigou/index.php:11 {
›
› include_once __DIR__ . '/app/laravel.php';
›
arguments: {
"/www/wwwroot/caigou/app/laravel.php"
}
}
}
}
trace: {
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Container/Container.php:805 {
Illuminate\Container\Container->build($concrete) …
› } catch (ReflectionException $e) {
› throw new BindingResolutionException("Target class [$concrete] does not exist.", 0, $e);
› }
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Container/Container.php:681 {
Illuminate\Container\Container->resolve($abstract, $parameters = [], $raiseEvents = true) …
› if ($this->isBuildable($concrete, $abstract)) {
› $object = $this->build($concrete);
› } else {
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:785 {
Illuminate\Foundation\Application->resolve($abstract, $parameters = [], $raiseEvents = true) …
›
› return parent::resolve($abstract, $parameters, $raiseEvents);
› }
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Container/Container.php:629 {
Illuminate\Container\Container->make($abstract, array $parameters = []) …
› {
› return $this->resolve($abstract, $parameters);
› }
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:770 {
Illuminate\Foundation\Application->make($abstract, array $parameters = []) …
›
› return parent::make($abstract, $parameters);
› }
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php:120 {
app($abstract = null, array $parameters = []) …
›
› return Container::getInstance()->make($abstract, $parameters);
› }
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php:276 {
config($key = null, $default = null) …
›
› return app('config')->get($key, $default);
› }
}
/www/wwwroot/caigou/app/framework/Log/BaseLog.php:32 {
app\framework\Log\BaseLog->__construct() …
› }
› $this->log = new \Illuminate\Log\Logger(new Logger(config('app.env')));
› $this->log->getLogger()->pushHandler(
}
/www/wwwroot/caigou/bootstrap/app.php:35 {
{closure} …
› $app->singleton('Log.error', function (){
› return new \app\framework\Log\ErrorLog();
› });
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Container/Container.php:799 {
Illuminate\Container\Container->build($concrete) …
› if ($concrete instanceof Closure) {
› return $concrete($this, $this->getLastParameterOverride());
› }
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Container/Container.php:681 {
Illuminate\Container\Container->resolve($abstract, $parameters = [], $raiseEvents = true) …
› if ($this->isBuildable($concrete, $abstract)) {
› $object = $this->build($concrete);
› } else {
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:785 {
Illuminate\Foundation\Application->resolve($abstract, $parameters = [], $raiseEvents = true) …
›
› return parent::resolve($abstract, $parameters, $raiseEvents);
› }
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Container/Container.php:629 {
Illuminate\Container\Container->make($abstract, array $parameters = []) …
› {
› return $this->resolve($abstract, $parameters);
› }
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:770 {
Illuminate\Foundation\Application->make($abstract, array $parameters = []) …
›
› return parent::make($abstract, $parameters);
› }
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php:120 {
app($abstract = null, array $parameters = []) …
›
› return Container::getInstance()->make($abstract, $parameters);
› }
}
/www/wwwroot/caigou/app/framework/Support/Facades/Log.php:31 {
app\framework\Support\Facades\Log::error($message, $content = []) …
› }
› app('Log.error')->add($message,$content);
› }
}
/www/wwwroot/caigou/app/common/exceptions/Handler.php:64 {
app\common\exceptions\Handler->report(Exception $exception) …
› if (!app()->runningInConsole()) {
› Log::error('http parameters', request()->input());
› }
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:408 {
Illuminate\Foundation\Http\Kernel->reportException(Exception $e) …
› {
› $this->app[ExceptionHandler::class]->report($e);
› }
}
/www/wwwroot/caigou/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 {
Illuminate\Foundation\Http\Kernel->handle($request) …
› } catch (Throwable $e) {
› $this->reportException($e = new FatalThrowableError($e));
›
}
/www/wwwroot/caigou/app/laravel.php:47 {
include_once …
› $response = $kernel->handle(
› $request = \app\framework\Http\Request::capture()
› );
}
/www/wwwroot/caigou/index.php:11 {
›
› include_once __DIR__ . '/app/laravel.php';
›
arguments: {
"/www/wwwroot/caigou/app/laravel.php"
}
}
}
}