Журнал ошибки сервера
XF\Db\Exception: MySQL query error [1364]: Field 'nl_seo_index_criteria' doesn't have a default value src/XF/Db/AbstractStatement.php:230
Сгенерирована пользователем: respected 8 Июн 2022 в 12:25
Трассировка стека
INSERT INTO `xf_xa_ams_category` (`default_prefix_id`, `title`, `og_title`, `meta_title`, `description`, `meta_description`, `parent_category_id`, `display_order`, `min_tags`, `default_tags`, `thread_node_id`, `thread_prefix_id`, `thread_set_article_tags`, `require_prefix`, `style_id`, `content_image_url`, `content_title`, `content_message`, `content_term`, `allow_articles`, `allow_contributors`, `require_article_image`, `allow_comments`, `allow_ratings`, `review_voting`, `require_review`, `allow_pros_cons`, `allow_anon_reviews`, `allow_author_rating`, `allow_location`, `allow_poll`, `allow_original_source`, `require_original_source`, `layout_type`, `article_list_order`, `expand_category_nav`, `display_articles_on_index`, `allow_index`, `index_criteria`, `category_id`, `article_count`, `featured_count`, `last_article_date`, `last_article_title`, `last_article_id`, `prefix_cache`, `field_cache`, `review_field_cache`, `lft`, `rgt`, `depth`, `breadcrumb_data`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
------------
#0 src/XF/Db/Mysqli/Statement.php(198): XF\Db\AbstractStatement->getException('MySQL query err...', 1364, 'HY000')
#1 src/XF/Db/Mysqli/Statement.php(79): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1364, 'HY000')
#2 src/XF/Db/AbstractAdapter.php(96): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(220): XF\Db\AbstractAdapter->query('INSERT INTO `x...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1514): XF\Db\AbstractAdapter->insert('xf_xa_ams_categ...', Array, false)
#5 src/XF/Mvc/Entity/Entity.php(1246): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/Mvc/FormAction.php(71): XF\Mvc\Entity\Entity->save(true, false)
#7 src/XF/Mvc/FormAction.php(189): XF\Mvc\FormAction->XF\Mvc\{closure}(Object(XF\Mvc\FormAction))
#8 src/addons/XenAddons/AMS/Admin/Controller/Category.php(279): XF\Mvc\FormAction->run()
#9 src/XF/Mvc/Dispatcher.php(352): XenAddons\AMS\Admin\Controller\Category->actionSave(Object(XF\Mvc\ParameterBag))
#10 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XenAddons\\AMS:C...', 'Save', Object(XF\Mvc\RouteMatch), Object(XenAddons\AMS\Admin\Controller\Category), NULL)
#11 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XenAddons\AMS\Admin\Controller\Category), NULL)
#12 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#13 src/XF/App.php(2352): XF\Mvc\Dispatcher->run()
#14 src/XF.php(524): XF\App->run()
#15 admin.php(13): XF::runApp('XF\\Admin\\App')
#16 {main}
Содержимое запроса
array(4) {
["url"] => string(35) "/admin.php?xa-ams/categories/0/save"
["referrer"] => string(54) "https://finprostor.com/admin.php?xa-ams/categories/add"
["_GET"] => array(1) {
["xa-ams/categories/0/save"] => string(0) ""
}
["_POST"] => array(29) {
["_xfToken"] => string(8) "********"
["title"] => string(42) "Главное о кредитовании"
["og_title"] => string(0) ""
["meta_title"] => string(0) ""
["description"] => string(186) "Все самое главное о кредитовании, что не попадает в конкретные разделы или носит обобщенный характер."
["meta_description"] => string(0) ""
["content_term"] => string(0) ""
["parent_category_id"] => string(1) "3"
["display_order"] => string(1) "1"
["display_articles_on_index"] => string(1) "1"
["allow_index"] => string(5) "allow"
["min_tags"] => string(1) "0"
["default_tags"] => string(0) ""
["allow_articles"] => string(1) "1"
["allow_comments"] => string(1) "1"
["allow_ratings"] => string(1) "1"
["require_review"] => string(1) "1"
["allow_pros_cons"] => string(1) "1"
["allow_anon_reviews"] => string(1) "1"
["allow_review_voting"] => string(1) "1"
["review_voting"] => string(3) "yes"
["thread_node_id"] => string(1) "0"
["thread_prefix_id"] => string(1) "0"
["content_image_url"] => string(0) ""
["content_title"] => string(0) ""
["content_message"] => string(0) ""
["_xfRequestUri"] => string(32) "/admin.php?xa-ams/categories/add"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}