johnz
Проверенные
- Сообщения
- 274
- Реакции
- 153
- Баллы
- 11,045
при редактировании поста, может кто сталкивался, конфиликт какой то с плагинами или баг самого Credits 5.4.0b1?
Отключил Credits и все ок, ошибки нет когда редактирую пост.Stack trace
- XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'content_type' in 'where clause'
- src/XF/Db/AbstractStatement.php:228
DELETE FROM `xf_dbtech_credits_charge` WHERE content_type = ? AND content_id = ?
------------
#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL statement...', 1054, '42S22')
#1 src/XF/Db/Mysqli/Statement.php(39): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1054, '42S22')
#2 src/XF/Db/Mysqli/Statement.php(54): XF\Db\Mysqli\Statement->prepare()
#3 src/XF/Db/AbstractAdapter.php(94): XF\Db\Mysqli\Statement->execute()
#4 src/XF/Db/AbstractAdapter.php(292): XF\Db\AbstractAdapter->query('DELETE FROM `x...', Array)
#5 src/addons/DBTech/Credits/XF/Entity/Post.php(122): XF\Db\AbstractAdapter->delete('xf_dbtech_credi...', 'content_type = ...', Array)
#6 src/addons/ThemeHouse/ReactPlus/XF/Entity/Post.php(38): DBTech\Credits\XF\Entity\Post->_postSave()
#7 src/addons/ThemeHouse/QAForums/XF/Entity/Post.php(209): ThemeHouse\ReactPlus\XF\Entity\Post->_postSave()
#8 src/XF/Mvc/Entity/Entity.php(1208): ThemeHouse\QAForums\XF\Entity\Post->_postSave()
#9 src/XF/Service/Post/Editor.php(187): XF\Mvc\Entity\Entity->save(true, false)
#10 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\Post\Editor->_save()
#11 src/XF/Pub/Controller/Post.php(135): XF\Service\Post\Editor->save()
#12 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\Post->actionEdit(Object(XF\Mvc\ParameterBag))
#13 src/XF/Mvc/Dispatcher.php(261): XF\Mvc\Dispatcher->dispatchClass('XF:Post', 'Edit', Object(XF\Mvc\RouteMatch), Object(ThemeHouse\QAForums\XF\Pub\Controller\Post), NULL)
#14 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(ThemeHouse\QAForums\XF\Pub\Controller\Post), NULL)
#15 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#16 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#17 src/XF.php(391): XF\App->run()
#18 index.php(20): XF::runApp('XF\\Pub\\App')
#19 {main}