XF\Db\DuplicateKeyException: MySQL query error [1062]: Duplicate entry 'post-69371-109' for key 'content_type_id_like_user_id' src/XF/Db/AbstractStatement.php:212
Generated by: ছোটভাই Apr 18, 2018 at 11:25 PM
Stack trace
INSERT INTO `xf_liked_content` (`content_type`, `content_id`, `like_user_id`, `content_user_id`, `is_counted`, `like_id`, `like_date`) VALUES (?, ?, ?, ?, ?, ?, ?)
------------
#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL query err...', 1062, '23000')
#1 src/XF/Db/Mysqli/Statement.php(77): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1062, '23000')
#2 src/XF/Db/AbstractAdapter.php(79): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(160): XF\Db\AbstractAdapter->query('INSERT INTO `x...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1389): XF\Db\AbstractAdapter->insert('xf_liked_conten...', Array, false)
#5 src/XF/Mvc/Entity/Entity.php(1121): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/Repository/LikedContent.php(94): XF\Mvc\Entity\Entity->save()
#7 src/addons/ThemeHouse/Reactions/Entity/ReactedContent.php(143): XF\Repository\LikedContent->insertLike('post', 69371, Object(Datio\AllowedEmails\XF\Entity\User), false)
#8 src/addons/ThemeHouse/Reactions/Entity/ReactedContent.php(93): ThemeHouse\Reactions\Entity\ReactedContent->toggleLike()
#9 src/XF/Mvc/Entity/Entity.php(1145): ThemeHouse\Reactions\Entity\ReactedContent->_postSave()
#10 src/addons/ThemeHouse/Reactions/Repository/ReactedContent.php(101): XF\Mvc\Entity\Entity->save()
#11 src/addons/ThemeHouse/Reactions/ControllerPlugin/React.php(29): ThemeHouse\Reactions\Repository\ReactedContent->insertReact(Object(haydric\toRights\XF\Entity\Post), Object(ThemeHouse\Reactions\Entity\ReactedContent))
#12 src/addons/ThemeHouse/Reactions/Pub/Controller/React.php(27): ThemeHouse\Reactions\ControllerPlugin\React->actionToggleReact(Object(haydric\toRights\XF\Entity\Post), Object(ThemeHouse\Reactions\Entity\ReactedContent), 'insert')
#13 src/XF/Mvc/Dispatcher.php(249): ThemeHouse\Reactions\Pub\Controller\React->actionReact(Object(XF\Mvc\ParameterBag))
#14 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('ThemeHouse\\Reac...', 'React', 'json', Object(XF\Mvc\ParameterBag), 'reactions', Object(ThemeHouse\Reactions\Pub\Controller\React), NULL)
#15 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#16 src/XF/App.php(1891): XF\Mvc\Dispatcher->run()
#17 src/XF.php(328): XF\App->run()
#18 index.php(13): XF::runApp('XF\\Pub\\App')
#19 {main}
Request state
array(4) {
["url"] => string(29) "/reactions/react/post/69371/2"
["referrer"] => string(76) "/threads/what-is-hide-tag-and-how-to-use-in-post.4905/"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(54) "/threads/what-is-hide-tag-and-how-to-use-in-post.4905/"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}