MrFallen
Проверенные
- Сообщения
- 1,102
- Решения
- 2
- Реакции
- 697
- Баллы
- 8,225
В общем, пытаюсь переместить ресурс из одной категории в другую, выскакивает такая ошибка. Кто сталкивался?
Код:
XF\Db\Exception: MySQL query error [1292]: Truncated incorrect DOUBLE value: 'updates' src/XF/Db/AbstractStatement.php:230
Код:
Трассировка стека
DELETE FROM `xf_rm_resource_field_value` WHERE `resource_id` = ? AND field_id IN (3)
------------
#0 src/XF/Db/Mysqli/Statement.php(198): XF\Db\AbstractStatement->getException('MySQL query err...', 1292, '22007')
#1 src/XF/Db/Mysqli/Statement.php(79): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1292, '22007')
#2 src/XF/Db/AbstractAdapter.php(96): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(291): XF\Db\AbstractAdapter->query('DELETE FROM `x...', 1746)
#4 src/XF/Behavior/CustomFieldsHolder.php(133): XF\Db\AbstractAdapter->delete('xf_rm_resource_...', '`resource_id` =...', 1746)
#5 src/XF/Mvc/Entity/Entity.php(1273): XF\Behavior\CustomFieldsHolder->postSave()
#6 src/addons/XFRM/Service/ResourceItem/Move.php(86): XF\Mvc\Entity\Entity->save(true, false)
#7 src/addons/XFRM/InlineMod/ResourceItem/Move.php(96): XFRM\Service\ResourceItem\Move->move(Object(SModders\MultilanguageNode\XFRM\Entity\Category))
#8 src/XF/InlineMod/AbstractAction.php(87): XFRM\InlineMod\ResourceItem\Move->applyToEntity(Object(TC\PaidResources\XFRM\Entity\ResourceItem), Array)
#9 src/XF/InlineMod/AbstractAction.php(80): XF\InlineMod\AbstractAction->applyInternal(Object(XF\Mvc\Entity\ArrayCollection), Array)
#10 src/XF/Pub/Controller/InlineMod.php(129): XF\InlineMod\AbstractAction->apply(Object(XF\Mvc\Entity\ArrayCollection), Array)
#11 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\InlineMod->actionPerform(Object(XF\Mvc\ParameterBag))
#12 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:InlineMod', 'Perform', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\InlineMod), Object(XF\Mvc\Reply\Reroute))
#13 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\InlineMod), Object(XF\Mvc\Reply\Reroute))
#14 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#15 src/XF/App.php(2351): XF\Mvc\Dispatcher->run()
#16 src/XF.php(517): XF\App->run()
#17 index.php(20): XF::runApp('XF\\Pub\\App')
#18 {main}
Код:
Содержимое запроса
array(4) {
["url"] => string(12) "/inline-mod/"
["referrer"] => string(48) "https://***.ru/resources/categories/36/"
["_GET"] => array(0) {
}
["_POST"] => array(10) {
["_xfToken"] => string(8) "********"
["target_category_id"] => string(2) "38"
["ids"] => array(1) {
[0] => string(4) "1746"
}
["type"] => string(8) "resource"
["action"] => string(4) "move"
["confirmed"] => string(1) "1"
["_xfRedirect"] => string(48) "https://***.ru/resources/categories/36/"
["_xfRequestUri"] => string(25) "/resources/categories/36/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}