XF\Db\DuplicateKeyException: MySQL query error [1062]: Duplicate entry 'তরমুজ' for key 'xf_tag.tag' src/XF/Db/AbstractStatement.php:228
Generated by: Bergamo Apr 10, 2021 at 6:48 PM
Stack trace
INSERT INTO `xf_tag` (`tag`, `tag_url`, `tagess_wiki_description`, `tag_id`, `use_count`, `last_use_date`, `permanent`, `tagess_wiki_tagline`, `allowed_node_ids`, `tagess_category_id`, `tagess_wiki_last_edit_date`, `tagess_wiki_last_edit_user_id`, `tagess_wiki_last_edit_count`) 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(94): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(218): XF\Db\AbstractAdapter->query('INSERT INTO `x...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1510): XF\Db\AbstractAdapter->insert('xf_tag', Array, false)
#5 src/XF/Mvc/Entity/Entity.php(1242): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/Repository/Tag.php(144): XF\Mvc\Entity\Entity->save()
#7 src/XF/Service/Tag/Changer.php(312): XF\Repository\Tag->createTag('তরমুজ')
#8 src/XF/Service/Thread/Creator.php(516): XF\Service\Tag\Changer->save(true)
#9 src/addons/Snog/OSBrowser/XF/Service/Thread/Creator.php(13): XF\Service\Thread\Creator->_save()
#10 src/XF/Service/ValidateAndSavableTrait.php(40): Snog\OSBrowser\XF\Service\Thread\Creator->_save()
#11 src/XF/Pub/Controller/Forum.php(906): XF\Service\Thread\Creator->save()
#12 src/addons/AVForums/TagEssentials/XF/Pub/Controller/Forum.php(24): XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#13 src/addons/Snog/ForceSecure/XF/Pub/Controller/Forum.php(18): AVForums\TagEssentials\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#14 src/addons/xenMade/STFRT/XF/Pub/Controller/Forum.php(35): Snog\ForceSecure\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#15 src/addons/SV/ElasticSearchEssentials/XF/Pub/Controller/Forum.php(87): xenMade\STFRT\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#16 src/XF/Mvc/Dispatcher.php(350): SV\ElasticSearchEssentials\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#17 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Forum', 'PostThread', Object(XF\Mvc\RouteMatch), Object(SV\RedisCache\XF\Pub\Controller\Forum), NULL)
#18 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\RedisCache\XF\Pub\Controller\Forum), NULL)
#19 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#20 src/XF/App.php(2326): XF\Mvc\Dispatcher->run()
#21 src/XF.php(488): XF\App->run()
#22 index.php(20): XF::runApp('XF\\Pub\\App')
#23 {main}
Request state
array(4) {
["url"] => string(32) "/forums/education.39/post-thread"
["referrer"] => string(54) "/forums/education.39/post-thread"
["_GET"] => array(0) {
}
["_POST"] => array(12) {
["title"] => string(73) "ভালো তরমুজ কেনার গোপন রহস্য"
["discussion_type"] => string(7) "article"
["message_html"] => string(7492) "<p align="unset"><span style="font-size: 18px;"><strong>[img]https://i.imgur.com/U3IX5LG.jpg[/img]</strong></span></p><p align="unset"><span style="font-size: 18px;"><strong><br></strong></span></p><p><span style="font-size: 18px;"><strong>কদিন আগে আমি দুটি তরমুজ কিনেছিলাম। কেনার পর তরমুজ বিক্রেতা বলেছিলেন, ‘ভাই, জিতছেন! তরমুজটা লাল আর মিষ্টি হবে।’ বিস্ময়কর ব্যাপার হলো, বিক্রেতার কথাই সত্যি ছিল। আমি ‘জিতছি’। সমস্যা হলো, প্রমাণ দাখিলের মতো কোনো ছবি আমার কাছে নেই। তবে আজ আমি আপনাদের বলব সেই ভালো তরমুজ কেনার গোপন রহস্য।</strong></span></p><p><span style="font-size: 18px;"><strong><br></strong></span></p><p><span style="font-size: 18px;"><strong>প্রথমে তরমুজের দোকানে গিয়ে কুশল বিনিময় করুন। বর্তমান করোনা পরিস্থিতিতে ব্যবসা-বাণিজ্য ভালো না। খানিকটা খোঁজখবরমূলক কথাবার্তা চালাচালি করে পরিবেশটা একটু হালকা করে নিন। অথবা যে আলোচনা তরমুজ বিক্রেতার পক্ষে যাবে, সে রকম কোনো কথাও তুলতে পারেন। যেমন দেশের পরিস্থিতি, বাজার পরিস্থিতি, মার্কিন যুক্তরাষ্ট্রের সংকট, তেলের দাম বৃদ্ধি ইত্যাদি। ভুলেও ‘মুখে কেন মাস্ক নেই’–জাতীয় প্রশ্ন করবেন না!</strong></span></p><p><span style="font-size: 18px;"><strong><br></strong></span></p><p><span style="font-size: 18px;"><strong>[img]https://i.imgur.com/E2iFBS9.jpg[/img]</strong></span></p><p><span style="font-size: 18px;"><strong><br></strong></span></p><p><span style="font-size: 18px;"><strong>তারপর ধীরে ধীরে বলুন, ‘ভাই, এ বছর এখনো তরমুজ কেনা হয় নাই। এখন একটা কেনার ইচ্ছা ছিল। কিন্তু আমি ভাই ভালো তরমুজ চিনি না। আপনি নিজে থেকে একটা বাছাই করে দেন না। বোঝেনই তো, সংসারে সবার সঙ্গে মিলেমিশে থাকতে হয়। তরমুজ খারাপ হলে ঘরে গিয়ে আমার অবস্থা কী হবে, ভাবেন!’</strong></span></p><p><span style="font-size: 18px;"><strong><br></strong></span></p><p><span style="font-size: 18px;"><strong>তারপর একটা দীর্ঘশ্বাস ছাড়ুন। তবে মুখে মাস্ক থাকলে সমস্যা আছে। মাস্কের আড়াল থেকে দীর্ঘশ্বাস বোঝা যায় না। তাই জোরেশোরে দীর্ঘশ্বাস ছাড়ুন এবং সেটা আপনার চোখের মাধ্যমে ফুটিয়ে তুলুন। শরীরী ভাষায়ও যেন দীর্ঘশ্বাসের ছাপ থাকে।</strong></span></p><p><span style="font-size: 18px;"><strong><br></strong></span></p><p><span style="font-size: 18px;"><strong>এসবের মানে হলো, আপনি তরমুজ কেনার ব্যাপারে বিক্রেতার কাছে শতভাগ ‘সারেন্ডার’ করবেন। নিজের মধ্যে কোনো ভাবসাব রাখবেন না। হিংসা, বিদ্বেষ, রাগ, ক্ষোভ—সব ঝেড়ে ফেলুন। তরমুজ কিনতে গিয়ে ‘বেশি বুঝি বেশি জানি’ এমন ভাবই তরমুজ ভালো না হওয়ার প্রধান কারণ। তারপর তরমুজ বিক্রেতা তিনটি তরমুজ কানের কাছে নিয়ে তিনটি বাড়ি মারবেন। চতুর্থটা তিনি দেবেন আপনাকে। এবং তিনি বলবেন, ‘এইটা ভালো হবে, বিশ্বাস রাখেন।’</strong></span></p><p><span style="font-size: 18px;"><strong><br></strong></span></p><p><span style="font-size: 18px;"><strong>[img]https://i.imgur.com/HUCNGU0.jpg[/img]</strong></span></p><p><span style="font-size: 18px;"><strong><br></strong></span></p><p><span style="font-size: 18px;"><strong>বিক্রেতা তরমুজ দিলে তা নিয়ে সোজা বাসায় চলে আসবেন। ভুলেও জিজ্ঞেস করতে যাবেন না, ‘ভাই, কানের কাছে বাড়ি দিয়ে আপনি ক্যামনে বোঝেন, কোন তরমুজ ভালো?’</strong></span></p><p><span style="font-size: 18px;"><strong><br></strong></span></p><p><span style="font-size: 18px;"><strong>জিজ্ঞেস করেছেন তো মরেছেন। আপনার হাতের যে তরমুজ নিয়ে যাচ্ছেন, সেটা ভালো হবে না। এটা নিশ্চিত!</strong></span></p><p><span style="font-size: 18px;"><strong><br></strong></span></p><p><span style="font-size: 18px;"><strong>তারপর আর কি? বাসায় গিয়ে পরিবারের সবার উপস্থিতিতে তরমুজটা কাটুন। তরমুজ অবশ্যই ভালো হবে, লাল হবে এবং মিষ্টি হবে।</strong></span></p><p><span style="font-size: 18px;"><strong><br></strong></span></p><p><span style="font-size: 18px;"><strong>তবে ‘বাই অ্যানি চান্স’ ওই তরমুজ যদি ভালো না হয়, তাহলে দুঃখ পাবেন না। মনে রাখবেন, এই তরমুজই জীবনের সবকিছু নয়। পরের দিন আবার কিনুন। ওটা ভালো না হলে পরের দিন আবার কিনুন। এবং এভাবে কিনতেই থাকুন। একদিন না একদিন ভালো তরমুজ আপনি কিনতে পারবেনই পারবেন। হ্যাঁ, অবশ্যই পারবেন। কারণ, তরমুজ বিক্রেতা ভাই বলেছেন, ‘বিশ্বাস রাখেন।’ আর কে না জানেন, বিশ্বাসে মিলায় বস্তু।</strong><strong></strong></span></p>"
["tokens_select"] => string(15) "তরমুজ"
["tags"] => string(32) "রহস্য, তরমুজ"
["watch_thread"] => string(1) "1"
["_xfSet"] => array(1) {
["watch_thread"] => string(1) "1"
}
["nodeId"] => string(2) "39"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(32) "/forums/education.39/post-thread"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}