^ think\db\exception\DbException {#98
#data: array:2 [
"Database Status" => array:3 [
"Error Code" => 10500
"Error Message" => "method not exist:think\db\Query->getQuantityStatistics"
"Error SQL" => ""
]
"Database Config" => []
]
#message: "method not exist:think\db\Query->getQuantityStatistics"
#code: 10500
#file: "/www/wwwroot/www.yfchuhai.com/vendor/topthink/think-orm/src/db/BaseQuery.php"
#line: 117
trace: {
/www/wwwroot/www.yfchuhai.com/vendor/topthink/think-orm/src/db/BaseQuery.php:117 {
think\db\BaseQuery->__call(string $method, array $args) …
› } else {
› throw new Exception('method not exist:' . static::class . '->' . $method);
› }
}
think\db\BaseQuery->__call() {}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/think-orm/src/Model.php:1049 {
think\Model->__call($method, $args) …
›
› return call_user_func_array([$this->db(), $method], $args);
› }
}
/www/wwwroot/www.yfchuhai.com/app/home/controller/Cooperation.php:91 {
app\home\controller\Cooperation->list() …
› //2-3、急需资源数量、出海服务商数量
› $resourcesServiceNum = $cooperationLogic->getQuantityStatistics();
› //4、免费发布合作
}
app\home\controller\Cooperation->list() {}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/Container.php:344 {
think\Container->invokeReflectMethod($instance, $reflect, array $vars = []) …
›
› return $reflect->invokeArgs($instance, $args);
› }
}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/route/dispatch/Controller.php:110 {
think\route\dispatch\Controller->think\route\dispatch\{closure} …
›
› $data = $this->app->invokeReflectMethod($instance, $reflect, $vars);
›
}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/Pipeline.php:59 {
think\Pipeline->think\{closure} …
› try {
› return $destination($passable);
› } catch (Throwable | Exception $e) {
}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/Pipeline.php:66 {
think\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/route/dispatch/Controller.php:113 {
think\route\dispatch\Controller->exec() …
› return $this->autoResponse($data);
› });
› }
}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/route/Dispatch.php:80 {
think\route\Dispatch->run(): Response …
› {
› $data = $this->exec();
› return $this->autoResponse($data);
}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/Route.php:793 {
think\Route->think\{closure} …
› ->then(function () use ($dispatch) {
› return $dispatch->run();
› });
}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/Pipeline.php:59 {
think\Pipeline->think\{closure} …
› try {
› return $destination($passable);
› } catch (Throwable | Exception $e) {
}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/Pipeline.php:66 {
think\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/Route.php:794 {
think\Route->dispatch(Request $request, $withRoute = true) …
› return $dispatch->run();
› });
› }
}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/Http.php:216 {
think\Http->dispatchToRoute($request) …
›
› return $this->app->route->dispatch($request, $withRoute);
› }
}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/Http.php:206 {
think\Http->think\{closure} …
› ->then(function ($request) {
› return $this->dispatchToRoute($request);
› });
}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/Pipeline.php:59 {
think\Pipeline->think\{closure} …
› try {
› return $destination($passable);
› } catch (Throwable | Exception $e) {
}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/think-multi-app/src/MultiApp.php:51 {
think\app\MultiApp->think\app\{closure} …
› ->then(function ($request) use ($next) {
› return $next($request);
› });
}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/Pipeline.php:59 {
think\Pipeline->think\{closure} …
› try {
› return $destination($passable);
› } catch (Throwable | Exception $e) {
}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/Pipeline.php:66 {
think\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/think-multi-app/src/MultiApp.php:52 {
think\app\MultiApp->handle($request, Closure $next) …
› return $next($request);
› });
› }
}
think\app\MultiApp->handle() {}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/Middleware.php:142 {
think\Middleware->think\{closure} …
› }
› $response = call_user_func($call, $request, $next, ...$params);
›
}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/Pipeline.php:85 {
think\Pipeline->think\{closure} …
› try {
› return $pipe($passable, $stack);
› } catch (Throwable | Exception $e) {
}
/www/wwwroot/www.yfchuhai.com/app/middleware/Validate.php:19 {
app\middleware\Validate->handle(Request $request, Closure $next) …
› if(empty($base_request[0]) || empty($base_request[1])|| empty($base_request[2])) {
› return $next($request);
› }
}
app\middleware\Validate->handle() {}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/Middleware.php:142 {
think\Middleware->think\{closure} …
› }
› $response = call_user_func($call, $request, $next, ...$params);
›
}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/Pipeline.php:85 {
think\Pipeline->think\{closure} …
› try {
› return $pipe($passable, $stack);
› } catch (Throwable | Exception $e) {
}
/www/wwwroot/www.yfchuhai.com/app/middleware/AllowCrossDomain.php:64 {
app\middleware\AllowCrossDomain->handle($request, Closure $next, array $header = []) …
›
› return $next($request)->header($header);
› }
}
app\middleware\AllowCrossDomain->handle() {}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/Middleware.php:142 {
think\Middleware->think\{closure} …
› }
› $response = call_user_func($call, $request, $next, ...$params);
›
}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/Pipeline.php:85 {
think\Pipeline->think\{closure} …
› try {
› return $pipe($passable, $stack);
› } catch (Throwable | Exception $e) {
}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/middleware/SessionInit.php:67 {
think\middleware\SessionInit->handle($request, Closure $next) …
› /** @var Response $response */
› $response = $next($request);
›
}
think\middleware\SessionInit->handle() {}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/Middleware.php:142 {
think\Middleware->think\{closure} …
› }
› $response = call_user_func($call, $request, $next, ...$params);
›
}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/Pipeline.php:85 {
think\Pipeline->think\{closure} …
› try {
› return $pipe($passable, $stack);
› } catch (Throwable | Exception $e) {
}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/think-trace/src/TraceDebug.php:71 {
think\trace\TraceDebug->handle($request, Closure $next) …
›
› $response = $next($request);
›
}
think\trace\TraceDebug->handle() {}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/Middleware.php:142 {
think\Middleware->think\{closure} …
› }
› $response = call_user_func($call, $request, $next, ...$params);
›
}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/Pipeline.php:85 {
think\Pipeline->think\{closure} …
› try {
› return $pipe($passable, $stack);
› } catch (Throwable | Exception $e) {
}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/Pipeline.php:66 {
think\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/Http.php:207 {
think\Http->runWithRequest(Request $request) …
› return $this->dispatchToRoute($request);
› });
› }
}
/www/wwwroot/www.yfchuhai.com/vendor/topthink/framework/src/think/Http.php:170 {
think\Http->run(Request $request = null): Response …
› try {
› $response = $this->runWithRequest($request);
› } catch (Throwable $e) {
}
/www/wwwroot/www.yfchuhai.com/public/index.php:30 {
›
› $response = $http->run();
›
}
}
}