Fatal error: Uncaught TypeError: Argument 1 passed to Cosmetic\Controllers\DatabaseController::viewAction() must be of the type integer, string given in /data/web/live/front/app/module/cosmetic/controller/DatabaseController.php:246
Stack trace:
#0 [internal function]: Cosmetic\Controllers\DatabaseController->viewAction('user_agreement')
#1 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(Cosmetic\Controllers\DatabaseController), 'viewAction', Array)
#2 [internal function]: Phalcon\Dispatcher->dispatch()
#3 /data/web/live/front/public/index.php(122): Phalcon\Mvc\Application->handle()
#4 {main}
thrown in /data/web/live/front/app/module/cosmetic/controller/DatabaseController.php on line 246