^ think\exception\InvalidArgumentException {#618
  #message: "only array cache can be push"
  #code: 0
  #file: "/www/vendor/topthink/framework/src/think/cache/Driver.php"
  #line: 119
  trace: {
    /www/vendor/topthink/framework/src/think/cache/Driver.php:119 {
      think\cache\Driver->push(string $name, $value): void …
      › if (!is_array($item)) {
      ›     throw new InvalidArgumentException('only array cache can be push');
      › }
    }
    /www/vendor/topthink/framework/src/think/cache/Driver.php:142 {
      think\cache\Driver->append(string $name, $value): void …
      › {
      ›     $this->push($name, $value);
      › }
    }
    /www/vendor/topthink/framework/src/think/cache/TagSet.php:73 {
      think\cache\TagSet->append(string $name): void …
      ›     $key = $this->handler->getTagKey($tag);
      ›     $this->handler->append($key, $name);
      › }
    }
    /www/vendor/topthink/framework/src/think/cache/TagSet.php:56 {
      think\cache\TagSet->set(string $name, $value, $expire = null): bool …
      › 
      › $this->append($name);
      › 
    }
    /www/vendor/topthink/think-orm/src/db/Connection.php:277 {
      think\db\Connection->cacheData(CacheItem $cacheItem) …
      › if ($cacheItem->getTag() && method_exists($this->cache, 'tag')) {
      ›     $this->cache->tag($cacheItem->getTag())->set($cacheItem->getKey(), $cacheItem->get(), $cacheItem->getExpire());
      › } else {
    }
    /www/vendor/topthink/think-orm/src/db/PDOConnection.php:719 {
      think\db\PDOConnection->pdoQuery(BaseQuery $query, $sql, bool $master = null): array …
      ›     $cacheItem->set($resultSet);
      ›     $this->cacheData($cacheItem);
      › }
    }
    /www/vendor/topthink/think-orm/src/db/PDOConnection.php:876 {
      think\db\PDOConnection->find(BaseQuery $query): array …
      › // 执行查询
      › $resultSet = $this->pdoQuery($query, function ($query) {
      ›     return $this->builder->select($query, true);
    }
    /www/vendor/topthink/think-orm/src/db/BaseQuery.php:1193 {
      think\db\BaseQuery->find($data = null) …
      › } else {
      ›     $result = $this->connection->find($this);
      › }
    }
    /www/app/common/model/SingleModelCacheTrait.php:44 {
      app\common\model\File::findModel($id, bool $throwExceptionIfEmpty = false) …
      › {
      ›     $model = static::cacheAlways(static::getCacheKey($id), static::getModelDataCacheTime(), static::class)->find($id);
      ›     if ($model) {
    }
    /www/app/common.php:906 {
      get_file_by($storeData, bool $multi = null) …
      › if (isset($id) && $id) {
      ›     return $file = File::findModel($id);
      › }
    }
    /www/app/addon/cms/common/model/Content.php:337 {
      app\addon\cms\common\model\Content->getImageAttr($value) …
      › {
      ›     return get_file_by($value, false);
      › }
    }
    /www/vendor/topthink/think-orm/src/model/concern/Attribute.php:525 {
      think\Model->getValue(string $name, $value, $relation = false) …
      › 
      ›     $value = $this->$method($value, $this->data);
      › } elseif (isset($this->type[$fieldName])) {
    }
    /www/app/common/model/AttrCacheExceptionTrait.php:37 {
      app\addon\cms\common\model\Content->getValue(string $name, $value, $relation = false) …
      ›     // 模型上的 $this->get 属性是私有属性, 这里不能直接操作
      ›     return parent::getValue($name, $value, $relation);
      › }
    }
    /www/vendor/topthink/think-orm/src/model/concern/Attribute.php:485 {
      think\Model->getAttr(string $name) …
      › 
      ›     return $this->getValue($name, $value, $relation);
      › }
    }
    /www/vendor/topthink/think-orm/src/Model.php:950 {
      think\Model->__get(string $name) …
      › {
      ›     return $this->getAttr($name);
      › }
    }
    /www/runtime/index/temp/f100ec9b63ed7cb7ee2845c9ddcc5adc.php:121 {
      include …
      › <span class="img block poHiiden">
      › \t<img src="<?php echo html_entities(image_url($f->image)); ?>" alt="" class="obCover">
      › </span>
    }
    /www/vendor/topthink/think-template/src/template/driver/File.php:59 {
      think\template\driver\File->read(string $cacheFile, array $vars = []): void …
      ›     //载入模版缓存文件
      ›     include $this->cacheFile;
      › }
      arguments: {
        "/www/runtime/index/temp/f100ec9b63ed7cb7ee2845c9ddcc5adc.php"
      }
    }
    /www/app/common/foundation/view/Template.php:260 {
      app\common\foundation\view\Template->fetch(string $template, array $vars = []): void …
      ›     // 读取编译存储
      ›     $this->storage->read($cacheFile, $this->data);
      › } catch (ErrorException $e) {
    }
    /www/app/common/foundation/view/driver/Think.php:173 {
      app\common\foundation\view\driver\Think->fetch(string $template, array $data = []): void …
      › 
      ›     $this->template->fetch($template, $data);
      › }
    }
    /www/vendor/topthink/framework/src/think/View.php:90 {
      think\View->think\{closure} …
      › return $this->getContent(function () use ($vars, $template) {
      ›     $this->engine()->fetch($template, array_merge($this->data, $vars));
      › });
    }
    /www/vendor/topthink/framework/src/think/View.php:126 {
      think\View->getContent($callback): string …
      › try {
      ›     $callback();
      › } catch (\Exception $e) {
    }
    /www/vendor/topthink/framework/src/think/View.php:89 {
      think\View->fetch(string $template = '', array $vars = []): string …
      › {
      ›     return $this->getContent(function () use ($vars, $template) {
      ›         $this->engine()->fetch($template, array_merge($this->data, $vars));
    }
    think\View->fetch() {}
    /www/vendor/topthink/framework/src/think/Facade.php:96 {
      think\Facade::__callStatic($method, $params) …
      › {
      ›     return call_user_func_array([static::createFacade(), $method], $params);
      › }
    }
    /www/app/addon/cms/index/controller/Cms.php:118 {
      app\addon\cms\index\controller\Cms->channel($cid) …
      ›     View::assign('ch', $channel);
      ›     return View::fetch($tpl);
      › }
    }
    app\addon\cms\index\controller\Cms->channel() {}
    /www/vendor/topthink/framework/src/think/Container.php:344 {
      think\Container->invokeReflectMethod($instance, $reflect, array $vars = []) …
      › 
      ›     return $reflect->invokeArgs($instance, $args);
      › }
    }
    /www/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/vendor/topthink/framework/src/think/Pipeline.php:59 {
      think\Pipeline->think\{closure} …
      › try {
      ›     return $destination($passable);
      › } catch (Throwable | Exception $e) {
    }
    /www/vendor/topthink/framework/src/think/Pipeline.php:66 {
      think\Pipeline->then(Closure $destination) …
      › 
      ›     return $pipeline($this->passable);
      › }
    }
    /www/vendor/topthink/framework/src/think/route/dispatch/Controller.php:84 {
      think\route\dispatch\Controller->exec() …
      › ->send($this->request)
      › ->then(function () use ($instance) {
      ›     // 获取当前操作名
    }
    /www/vendor/topthink/framework/src/think/route/Dispatch.php:90 {
      think\route\Dispatch->run(): Response …
      › 
      › $data = $this->exec();
      › return $this->autoResponse($data);
    }
    /www/app/common/Route.php:78 {
      app\common\Route->app\common\{closure} …
      › ->then(function () use ($dispatch) {
      ›     $response = $dispatch->run();
      ›     // event(new ControllerDoneEvent($response));
    }
    /www/vendor/topthink/framework/src/think/Pipeline.php:59 {
      think\Pipeline->think\{closure} …
      › try {
      ›     return $destination($passable);
      › } catch (Throwable | Exception $e) {
    }
    /www/vendor/topthink/framework/src/think/Pipeline.php:66 {
      think\Pipeline->then(Closure $destination) …
      › 
      ›     return $pipeline($this->passable);
      › }
    }
    /www/app/common/Route.php:77 {
      app\common\Route->app\common\{closure} …
      › ->send($request)
      › ->then(function () use ($dispatch) {
      ›     $response = $dispatch->run();
    }
    /www/app/common/addon/AddonDispatch.php:117 {
      app\common\addon\AddonDispatch->app\common\addon\{closure} …
      › ->then(function () use ($callback) {
      ›     return $callback();
      › });
    }
    /www/vendor/topthink/framework/src/think/Pipeline.php:59 {
      think\Pipeline->think\{closure} …
      › try {
      ›     return $destination($passable);
      › } catch (Throwable | Exception $e) {
    }
    /www/vendor/topthink/framework/src/think/Pipeline.php:66 {
      think\Pipeline->then(Closure $destination) …
      › 
      ›     return $pipeline($this->passable);
      › }
    }
    /www/app/common/addon/AddonDispatch.php:116 {
      app\common\addon\AddonDispatch->app\common\addon\{closure} …
      › ->send($request)
      › ->then(function () use ($callback) {
      ›     return $callback();
    }
    /www/vendor/topthink/framework/src/think/Pipeline.php:59 {
      think\Pipeline->think\{closure} …
      › try {
      ›     return $destination($passable);
      › } catch (Throwable | Exception $e) {
    }
    /www/app/index/middleware/IndexAppInit.php:71 {
      app\index\middleware\IndexAppInit->handle(Request $request, Closure $next) …
      › /** @var Response */
      › $res = $next($request);
      › event(new IndexDoneEvent($res));
    }
    app\index\middleware\IndexAppInit->handle() {}
    /www/vendor/topthink/framework/src/think/Middleware.php:142 {
      think\Middleware->think\{closure} …
      › }
      › $response = call_user_func($call, $request, $next, ...$params);
      › 
    }
    /www/vendor/topthink/framework/src/think/Pipeline.php:85 {
      think\Pipeline->think\{closure} …
      › try {
      ›     return $pipe($passable, $stack);
      › } catch (Throwable | Exception $e) {
    }
    /www/app/common/middleware/RequestCache.php:101 {
      app\common\middleware\RequestCache->handle($request, Closure $next, $cache = null) …
      › /** @var Response */
      › $response = $next($request);
      › 
    }
    app\common\middleware\RequestCache->handle() {}
    /www/vendor/topthink/framework/src/think/Middleware.php:142 {
      think\Middleware->think\{closure} …
      › }
      › $response = call_user_func($call, $request, $next, ...$params);
      › 
    }
    /www/vendor/topthink/framework/src/think/Pipeline.php:85 {
      think\Pipeline->think\{closure} …
      › try {
      ›     return $pipe($passable, $stack);
      › } catch (Throwable | Exception $e) {
    }
    /www/app/common/middleware/VisitCallback.php:173 {
      app\common\middleware\VisitCallback->handle(Request $request, Closure $next) …
      ›  */
      › $response = $next($request);
      › 
    }
    app\common\middleware\VisitCallback->handle() {}
    /www/vendor/topthink/framework/src/think/Middleware.php:142 {
      think\Middleware->think\{closure} …
      › }
      › $response = call_user_func($call, $request, $next, ...$params);
      › 
    }
    /www/vendor/topthink/framework/src/think/Pipeline.php:85 {
      think\Pipeline->think\{closure} …
      › try {
      ›     return $pipe($passable, $stack);
      › } catch (Throwable | Exception $e) {
    }
    /www/app/common/middleware/ResponseHandler.php:33 {
      app\common\middleware\ResponseHandler->handle(Request $request, Closure $next) …
      ›  */
      › $response = $next($request);
      › 
    }
    app\common\middleware\ResponseHandler->handle() {}
    /www/vendor/topthink/framework/src/think/Middleware.php:142 {
      think\Middleware->think\{closure} …
      › }
      › $response = call_user_func($call, $request, $next, ...$params);
      › 
    }
    /www/vendor/topthink/framework/src/think/Pipeline.php:85 {
      think\Pipeline->think\{closure} …
      › try {
      ›     return $pipe($passable, $stack);
      › } catch (Throwable | Exception $e) {
    }
    /www/vendor/topthink/think-throttle/src/Throttle.php:141 {
      think\middleware\Throttle->handle(Request $request, Closure $next, array $params = []): Response …
      › }
      › $response = $next($request);
      › if (200 <= $response->getCode() && 300 > $response->getCode() && $this->config['visit_enable_show_rate_limit']) {
    }
    think\middleware\Throttle->handle() {}
    /www/vendor/topthink/framework/src/think/Middleware.php:142 {
      think\Middleware->think\{closure} …
      › }
      › $response = call_user_func($call, $request, $next, ...$params);
      › 
    }
    /www/vendor/topthink/framework/src/think/Pipeline.php:85 {
      think\Pipeline->think\{closure} …
      › try {
      ›     return $pipe($passable, $stack);
      › } catch (Throwable | Exception $e) {
    }
    /www/vendor/topthink/framework/src/think/Pipeline.php:66 {
      think\Pipeline->then(Closure $destination) …
      › 
      ›     return $pipeline($this->passable);
      › }
    }
    /www/app/common/addon/AddonDispatch.php:112 {
      app\common\addon\AddonDispatch->handleMiddleware(Closure $callback) …
      › ->send($request)
      › ->then(function () use ($request, $callback) {
      ›     // 这里给插件增加了一层 addon 中间件
    }
    /www/app/common/Route.php:74 {
      app\common\Route->dispatch(Request $request, $withRoute = true) …
      › // 这里中间件嵌套顺序是: 全局 -> 应用 -> addon -> (插件中定义的)路由中间件 -> (插件中定义的)控制器中间件
      › return $dispatch->handleMiddleware(function () use ($dispatch, $request) {
      ›     return $this->app->middleware->pipeline('route')
    }
    /www/vendor/topthink/framework/src/think/Http.php:216 {
      think\Http->dispatchToRoute($request) …
      › 
      ›     return $this->app->route->dispatch($request, $withRoute);
      › }
    }
    /www/vendor/topthink/framework/src/think/Http.php:206 {
      think\Http->think\{closure} …
      › ->then(function ($request) {
      ›     return $this->dispatchToRoute($request);
      › });
    }
    /www/vendor/topthink/framework/src/think/Pipeline.php:59 {
      think\Pipeline->think\{closure} …
      › try {
      ›     return $destination($passable);
      › } catch (Throwable | Exception $e) {
    }
    /www/vendor/topthink/think-multi-app/src/MultiApp.php:45 {
      think\app\MultiApp->handle($request, Closure $next) …
      › if (!$this->parseMultiApp()) {
      ›     return $next($request);
      › }
    }
    think\app\MultiApp->handle() {}
    /www/vendor/topthink/framework/src/think/Middleware.php:142 {
      think\Middleware->think\{closure} …
      › }
      › $response = call_user_func($call, $request, $next, ...$params);
      › 
    }
    /www/vendor/topthink/framework/src/think/Pipeline.php:85 {
      think\Pipeline->think\{closure} …
      › try {
      ›     return $pipe($passable, $stack);
      › } catch (Throwable | Exception $e) {
    }
    /www/app/common/middleware/SiteCheck.php:123 {
      app\common\middleware\SiteCheck->handle(Request $request, Closure $next) …
      › }
      › $response = $next($request);
      › return $response;
    }
    app\common\middleware\SiteCheck->handle() {}
    /www/vendor/topthink/framework/src/think/Middleware.php:142 {
      think\Middleware->think\{closure} …
      › }
      › $response = call_user_func($call, $request, $next, ...$params);
      › 
    }
    /www/vendor/topthink/framework/src/think/Pipeline.php:85 {
      think\Pipeline->think\{closure} …
      › try {
      ›     return $pipe($passable, $stack);
      › } catch (Throwable | Exception $e) {
    }
    /www/app/common/middleware/AppStart.php:20 {
      app\common\middleware\AppStart->handle(Request $request, Closure $next) …
      › event(new AppStartEvent());
      › $response = $next($request);
      › // 触发 AppDoneEvent
    }
    app\common\middleware\AppStart->handle() {}
    /www/vendor/topthink/framework/src/think/Middleware.php:142 {
      think\Middleware->think\{closure} …
      › }
      › $response = call_user_func($call, $request, $next, ...$params);
      › 
    }
    /www/vendor/topthink/framework/src/think/Pipeline.php:85 {
      think\Pipeline->think\{closure} …
      › try {
      ›     return $pipe($passable, $stack);
      › } catch (Throwable | Exception $e) {
    }
    /www/app/common/middleware/InstallGuide.php:54 {
      app\common\middleware\InstallGuide->handle(Request $request, Closure $next) …
      ›  */
      › $response = $next($request);
      › 
    }
    app\common\middleware\InstallGuide->handle() {}
    /www/vendor/topthink/framework/src/think/Middleware.php:142 {
      think\Middleware->think\{closure} …
      › }
      › $response = call_user_func($call, $request, $next, ...$params);
      › 
    }
    /www/vendor/topthink/framework/src/think/Pipeline.php:85 {
      think\Pipeline->think\{closure} …
      › try {
      ›     return $pipe($passable, $stack);
      › } catch (Throwable | Exception $e) {
    }
    /www/vendor/topthink/think-trace/src/TraceDebug.php:71 {
      think\trace\TraceDebug->handle($request, Closure $next) …
      › 
      › $response = $next($request);
      › 
    }
    think\trace\TraceDebug->handle() {}
    /www/vendor/topthink/framework/src/think/Middleware.php:142 {
      think\Middleware->think\{closure} …
      › }
      › $response = call_user_func($call, $request, $next, ...$params);
      › 
    }
    /www/vendor/topthink/framework/src/think/Pipeline.php:85 {
      think\Pipeline->think\{closure} …
      › try {
      ›     return $pipe($passable, $stack);
      › } catch (Throwable | Exception $e) {
    }
    /www/app/common/middleware/JsonTrace.php:37 {
      app\common\middleware\JsonTrace->handle($request, Closure $next) …
      › 
      › $response = $next($request);
      › 
    }
    app\common\middleware\JsonTrace->handle() {}
    /www/vendor/topthink/framework/src/think/Middleware.php:142 {
      think\Middleware->think\{closure} …
      › }
      › $response = call_user_func($call, $request, $next, ...$params);
      › 
    }
    /www/vendor/topthink/framework/src/think/Pipeline.php:85 {
      think\Pipeline->think\{closure} …
      › try {
      ›     return $pipe($passable, $stack);
      › } catch (Throwable | Exception $e) {
    }
    /www/app/common/middleware/SessionDebugHandler.php:22 {
      app\common\middleware\SessionDebugHandler->handle(Request $request, Closure $next) …
      › 
      › $response = $next($request);
      › return $response;
    }
    app\common\middleware\SessionDebugHandler->handle() {}
    /www/vendor/topthink/framework/src/think/Middleware.php:142 {
      think\Middleware->think\{closure} …
      › }
      › $response = call_user_func($call, $request, $next, ...$params);
      › 
    }
    /www/vendor/topthink/framework/src/think/Pipeline.php:85 {
      think\Pipeline->think\{closure} …
      › try {
      ›     return $pipe($passable, $stack);
      › } catch (Throwable | Exception $e) {
    }
    /www/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/vendor/topthink/framework/src/think/Middleware.php:142 {
      think\Middleware->think\{closure} …
      › }
      › $response = call_user_func($call, $request, $next, ...$params);
      › 
    }
    /www/vendor/topthink/framework/src/think/Pipeline.php:85 {
      think\Pipeline->think\{closure} …
      › try {
      ›     return $pipe($passable, $stack);
      › } catch (Throwable | Exception $e) {
    }
    /www/vendor/topthink/framework/src/think/Pipeline.php:66 {
      think\Pipeline->then(Closure $destination) …
      › 
      ›     return $pipeline($this->passable);
      › }
    }
    /www/vendor/topthink/framework/src/think/Http.php:205 {
      think\Http->runWithRequest(Request $request) …
      › ->send($request)
      › ->then(function ($request) {
      ›     return $this->dispatchToRoute($request);
    }
    /www/vendor/topthink/framework/src/think/Http.php:170 {
      think\Http->run(Request $request = null): Response …
      › try {
      ›     $response = $this->runWithRequest($request);
      › } catch (Throwable $e) {
    }
    /www/public/index.php:22 {
      › 
      › $response = $http->run();
      › 
    }
  }
}