Unsupported operand types: string / int
/data/www/typing/app/common/model/PostModel.php
854
0
        $dbconfig = config('database.connections.mysql');
        $database = $dbconfig['database'] ?? "";
        $di = ceil($id / 1000) * 1000;
        $webdir = str_replace("co_", "", $this->table_name);



#0 /data/www/typing/app/PostTrait.php(226): app\common\model\PostModel->getCache()
#1 /data/www/typing/app/nezhadazi/controller/PostController.php(284): app\nezhadazi\controller\PostController->tview()
#2 [internal function]: app\nezhadazi\controller\PostController->view()
#3 /data/www/typing/vendor/topthink/framework/src/think/Container.php(344): ReflectionMethod->invokeArgs()
#4 /data/www/typing/vendor/topthink/framework/src/think/route/dispatch/Controller.php(110): think\Container->invokeReflectMethod()
#5 /data/www/typing/vendor/topthink/framework/src/think/Pipeline.php(59): think\route\dispatch\Controller->think\route\dispatch\{closure}()
#6 /data/www/typing/vendor/topthink/framework/src/think/Pipeline.php(66): think\Pipeline->think\{closure}()
#7 /data/www/typing/vendor/topthink/framework/src/think/route/dispatch/Controller.php(113): think\Pipeline->then()
#8 /data/www/typing/vendor/topthink/framework/src/think/route/Dispatch.php(80): think\route\dispatch\Controller->exec()
#9 /data/www/typing/vendor/topthink/framework/src/think/Route.php(793): think\route\Dispatch->run()
#10 /data/www/typing/vendor/topthink/framework/src/think/Pipeline.php(59): think\Route->think\{closure}()
#11 /data/www/typing/vendor/topthink/framework/src/think/middleware/CheckRequestCache.php(94): think\Pipeline->think\{closure}()
#12 [internal function]: think\middleware\CheckRequestCache->handle()
#13 /data/www/typing/vendor/topthink/framework/src/think/Middleware.php(142): call_user_func()
#14 /data/www/typing/vendor/topthink/framework/src/think/Pipeline.php(85): think\Middleware->think\{closure}()
#15 /data/www/typing/vendor/topthink/framework/src/think/Pipeline.php(66): think\Pipeline->think\{closure}()
#16 /data/www/typing/vendor/topthink/framework/src/think/Route.php(794): think\Pipeline->then()
#17 /data/www/typing/vendor/topthink/framework/src/think/Http.php(216): think\Route->dispatch()
#18 /data/www/typing/vendor/topthink/framework/src/think/Http.php(206): think\Http->dispatchToRoute()
#19 /data/www/typing/vendor/topthink/framework/src/think/Pipeline.php(59): think\Http->think\{closure}()
#20 /data/www/typing/vendor/topthink/think-multi-app/src/MultiApp.php(51): think\Pipeline->think\{closure}()
#21 /data/www/typing/vendor/topthink/framework/src/think/Pipeline.php(59): think\app\MultiApp->think\app\{closure}()
#22 /data/www/typing/vendor/topthink/framework/src/think/middleware/SessionInit.php(67): think\Pipeline->think\{closure}()
#23 [internal function]: think\middleware\SessionInit->handle()
#24 /data/www/typing/vendor/topthink/framework/src/think/Middleware.php(142): call_user_func()
#25 /data/www/typing/vendor/topthink/framework/src/think/Pipeline.php(85): think\Middleware->think\{closure}()
#26 /data/www/typing/app/nezhadazi/middleware/CheckAgentMiddleware.php(52): think\Pipeline->think\{closure}()
#27 [internal function]: app\nezhadazi\middleware\CheckAgentMiddleware->handle()
#28 /data/www/typing/vendor/topthink/framework/src/think/Middleware.php(142): call_user_func()
#29 /data/www/typing/vendor/topthink/framework/src/think/Pipeline.php(85): think\Middleware->think\{closure}()
#30 /data/www/typing/vendor/topthink/framework/src/think/Pipeline.php(66): think\Pipeline->think\{closure}()
#31 /data/www/typing/vendor/topthink/think-multi-app/src/MultiApp.php(52): think\Pipeline->then()
#32 [internal function]: think\app\MultiApp->handle()
#33 /data/www/typing/vendor/topthink/framework/src/think/Middleware.php(142): call_user_func()
#34 /data/www/typing/vendor/topthink/framework/src/think/Pipeline.php(85): think\Middleware->think\{closure}()
#35 /data/www/typing/vendor/topthink/framework/src/think/Pipeline.php(66): think\Pipeline->think\{closure}()
#36 /data/www/typing/vendor/topthink/framework/src/think/Http.php(207): think\Pipeline->then()
#37 /data/www/typing/vendor/topthink/framework/src/think/Http.php(170): think\Http->runWithRequest()
#38 /data/www/typing/public/index.php(9): think\Http->run()
#39 {main}