^ TypeError {#154
  #message: "Return value of app\service\CityService::getOtherCityIdsWithNotEmptyData() must be of the type array, null returned"
  #code: 0
  #file: "/www/wwwroot/likuso/app/service/CityService.php"
  #line: 52
  trace: {
    /www/wwwroot/likuso/app/service/CityService.php:52 {
      app\service\CityService->getOtherCityIdsWithNotEmptyData(string $tableName, int $tagId, int $cityCode): array …
      › if (Cache::has($cacheKey)) {    return Cache::get($cacheKey);}
    }
    /www/wwwroot/likuso/app/service/CommonService.php:134 {
      app\service\CommonService->getDetailData(string $title, string $type, int $id, int $cityCode, int $page, int $limit = 40): array …
      › // 根据省ID获取下级$ids          = $this->cityService->getOtherCityIdsWithNotEmptyData("v9_{$type}", $id, $cityCode);$province_arr = $this->cityService->getCityByIds($ids);
    }
    /www/wwwroot/likuso/app/service/HangyeService.php:66 {
      app\service\HangyeService->getDetailData(int $id, int $cityCode, int $page, int $size = 40): array …
      ›         return $this->commonService->getDetailData($title, 'hangye', $id, $cityCode, $page, $size);}
    }
    /www/wwwroot/likuso/app/controller/Hangye.php:74 {
      app\controller\Hangye->detail($city_code, $id, $page = 1): View …
      › try {    $viewData          = $this->hangyeService->getDetailData((int) $id, (int) $city_code, (int) $page, $limit);    $viewData['limit'] = $limit;
    }
    app\controller\Hangye->detail() {}
    /www/wwwroot/likuso/vendor/topthink/framework/src/think/Container.php:344 {
      think\Container->invokeReflectMethod($instance, $reflect, array $vars = []) …
      › 
      ›     return $reflect->invokeArgs($instance, $args);}
    }
    /www/wwwroot/likuso/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/likuso/vendor/topthink/framework/src/think/Pipeline.php:59 {
      think\Pipeline->think\{closure} …
      › try {    return $destination($passable);} catch (Throwable | Exception $e) {
    }
    /www/wwwroot/likuso/app/middleware/SqlLogMiddleware.php:30 {
      app\middleware\SqlLogMiddleware->handle(Request $request, Closure $next): Response …
      ›     });    return $next($request);}
    }
    app\middleware\SqlLogMiddleware->handle() {}
    /www/wwwroot/likuso/vendor/topthink/framework/src/think/Middleware.php:142 {
      think\Middleware->think\{closure} …
      › }$response = call_user_func($call, $request, $next, ...$params);}
    /www/wwwroot/likuso/vendor/topthink/framework/src/think/Pipeline.php:85 {
      think\Pipeline->think\{closure} …
      › try {    return $pipe($passable, $stack);} catch (Throwable | Exception $e) {
    }
    /www/wwwroot/likuso/app/middleware/CacheMiddleware.php:86 {
      app\middleware\CacheMiddleware->handle(Request $request, Closure $next): Response …
      › } else {    $response = $next($request);    $data     = ['tpl' => $response->getData(), 'data' => $response->getVars()];
    }
    app\middleware\CacheMiddleware->handle() {}
    /www/wwwroot/likuso/vendor/topthink/framework/src/think/Middleware.php:142 {
      think\Middleware->think\{closure} …
      › }$response = call_user_func($call, $request, $next, ...$params);}
    /www/wwwroot/likuso/vendor/topthink/framework/src/think/Pipeline.php:85 {
      think\Pipeline->think\{closure} …
      › try {    return $pipe($passable, $stack);} catch (Throwable | Exception $e) {
    }
    /www/wwwroot/likuso/app/middleware/BaseMiddleware.php:36 {
      app\middleware\BaseMiddleware->handle(Request $request, Closure $next): Response …
      › $startTime = microtime(true);$response  = $next($request);$endTime   = microtime(true);
    }
    app\middleware\BaseMiddleware->handle() {}
    /www/wwwroot/likuso/vendor/topthink/framework/src/think/Middleware.php:142 {
      think\Middleware->think\{closure} …
      › }$response = call_user_func($call, $request, $next, ...$params);}
    /www/wwwroot/likuso/vendor/topthink/framework/src/think/Pipeline.php:85 {
      think\Pipeline->think\{closure} …
      › try {    return $pipe($passable, $stack);} catch (Throwable | Exception $e) {
    }
    /www/wwwroot/likuso/vendor/topthink/framework/src/think/Pipeline.php:66 {
      think\Pipeline->then(Closure $destination) …
      › 
      ›     return $pipeline($this->passable);}
    }
    /www/wwwroot/likuso/vendor/topthink/framework/src/think/route/dispatch/Controller.php:113 {
      think\route\dispatch\Controller->exec() …
      ›             return $this->autoResponse($data);        });}
    }
    /www/wwwroot/likuso/vendor/topthink/framework/src/think/route/Dispatch.php:90 {
      think\route\Dispatch->run(): Response …
      › 
      › $data = $this->exec();return $this->autoResponse($data);
    }
    /www/wwwroot/likuso/vendor/topthink/framework/src/think/Route.php:785 {
      think\Route->think\{closure} …
      › ->then(function () use ($dispatch) {    return $dispatch->run();});
    }
    /www/wwwroot/likuso/vendor/topthink/framework/src/think/Pipeline.php:59 {
      think\Pipeline->think\{closure} …
      › try {    return $destination($passable);} catch (Throwable | Exception $e) {
    }
    /www/wwwroot/likuso/vendor/topthink/framework/src/think/Pipeline.php:66 {
      think\Pipeline->then(Closure $destination) …
      › 
      ›     return $pipeline($this->passable);}
    }
    /www/wwwroot/likuso/vendor/topthink/framework/src/think/Route.php:786 {
      think\Route->dispatch(Request $request, $withRoute = true) …
      ›             return $dispatch->run();        });}
    }
    /www/wwwroot/likuso/vendor/topthink/framework/src/think/Http.php:216 {
      think\Http->dispatchToRoute($request) …
      › 
      ›     return $this->app->route->dispatch($request, $withRoute);}
    }
    /www/wwwroot/likuso/vendor/topthink/framework/src/think/Http.php:206 {
      think\Http->think\{closure} …
      › ->then(function ($request) {    return $this->dispatchToRoute($request);});
    }
    /www/wwwroot/likuso/vendor/topthink/framework/src/think/Pipeline.php:59 {
      think\Pipeline->think\{closure} …
      › try {    return $destination($passable);} catch (Throwable | Exception $e) {
    }
    /www/wwwroot/likuso/vendor/topthink/think-trace/src/TraceDebug.php:71 {
      think\trace\TraceDebug->handle($request, Closure $next) …
      › 
      › $response = $next($request);}
    think\trace\TraceDebug->handle() {}
    /www/wwwroot/likuso/vendor/topthink/framework/src/think/Middleware.php:142 {
      think\Middleware->think\{closure} …
      › }$response = call_user_func($call, $request, $next, ...$params);}
    /www/wwwroot/likuso/vendor/topthink/framework/src/think/Pipeline.php:85 {
      think\Pipeline->think\{closure} …
      › try {    return $pipe($passable, $stack);} catch (Throwable | Exception $e) {
    }
    /www/wwwroot/likuso/vendor/topthink/framework/src/think/Pipeline.php:66 {
      think\Pipeline->then(Closure $destination) …
      › 
      ›     return $pipeline($this->passable);}
    }
    /www/wwwroot/likuso/vendor/topthink/framework/src/think/Http.php:207 {
      think\Http->runWithRequest(Request $request) …
      ›             return $this->dispatchToRoute($request);        });}
    }
    /www/wwwroot/likuso/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/likuso/public/index.php:20 {
      › 
      › $response = $http->run();}
  }
}