При сохранении ручных редиректов вылетает следующая ошибка
Query Error 1364: Field 'visit_datetime' doesn't have a default value Query: INSERT INTO shop_seoredirect_redirect (`domain`, `url_from`, `url_to`, `param`, `code_http`, `status`, `comment`, `hash`, `edit_datetime`, `type`, `create_datetime`, `sort`) VALUES ('general', '/novyj-tovar-17/', '/kontroller-ehbu-bosch-0-261-s06-588/', '1', '301', '1', '', '021b4f6323ec59fca41220bdd99faf5e', '2022-06-23 14:48:24', '0', '2022-06-23 14:48:24', '0') code 1364 ## wa-system/database/waModel.class.php(266) #0 wa-system/database/waModel.class.php(367): waModel->run('INSERT INTO sh...') #1 wa-system/database/waModel.class.php(620): waModel->query('INSERT INTO sh...') #2 wa-apps/shop/plugins/seoredirect/lib/models/shopSeoredirectRedirect.model.php(216): waModel->insert(Array) #3 wa-apps/shop/plugins/seoredirect/lib/actions/redirect/shopSeoredirectPluginRedirectJson.controller.php(264): shopSeoredirectRedirectModel->addRedirect(Array) #4 wa-apps/shop/plugins/seoredirect/lib/actions/redirect/shopSeoredirectPluginRedirectJson.controller.php(37): shopSeoredirectPluginRedirectJsonController->saveRedirect() #5 wa-system/controller/waController.class.php(21): shopSeoredirectPluginRedirectJsonController->execute() #6 wa-system/controller/waJsonController.class.php(28): waController->run(NULL) #7 wa-system/controller/waFrontController.class.php(263): waJsonController->run(NULL) #8 wa-apps/shop/lib/classes/shopFrontController.class.php(22): waFrontController->runController(Object(shopSeoredirectPluginRedirectJsonController), NULL) #9 wa-system/controller/waFrontController.class.php(190): shopFrontController->runController(Object(shopSeoredirectPluginRedirectJsonController), NULL) #10 wa-system/controller/waFrontController.class.php(84): waFrontController->execute('seoredirect', 'redirect', 'json') #11 wa-system/controller/waDispatch.class.php(162): waFrontController->dispatch() #12 wa-system/controller/waDispatch.class.php(32): waDispatch->dispatchBackend('webasyst/shop/') #13 wa-system/waSystem.class.php(610): waDispatch->dispatch() #14 index.php(7): waSystem->dispatch() #15 {main} GET [ 'plugin' => 'seoredirect', 'module' => 'redirect', 'action' => 'json', 'method' => 'saveRedirect', ] POST [ '_csrf' => '[hidden]', 'redirect' => [ 'id' => '', 'domain' => 'general', 'url_from' => '/novyj-tovar-17/', 'url_to' => '/kontroller-ehbu-bosch-0-261-s06-588/', 'param' => '1', 'code_http' => '301', 'status' => '1', 'comment' => '', ], 'type' => 'new', ] Params []
Услуги
Продукты
Кейсы
Блог
О нас
Акции
Bodysite.Club
Контакты