[OzzModz] Badges

[OzzModz] Badges 2.2.1 Patch Level 3

No permission to download

btmgreg

Well-known member
Issue still persists, for some reason. Is it a table I'd need to drop or something? Driving my crazy :D

  • InvalidArgumentException: Error rendering widget: Unknown column cmtv_badges_badge_count on XF:User
  • src/XF/Mvc/Entity/Finder.php:1648
  • Generated by: smooth-c
  • Nov 9, 2021 at 6:50 PM

Stack trace​

#0 src/XF/Mvc/Entity/Finder.php(605): XF\Mvc\Entity\Finder->resolveFieldToTableAndColumn('cmtv_badges_bad...', true)
#1 src/XF/Mvc/Entity/Finder.php(1016): XF\Mvc\Entity\Finder->columnSqlName('cmtv_badges_bad...', true)
#2 src/addons/CMTV/Badges/MemberStat/MostBadges.php(18): XF\Mvc\Entity\Finder->order('cmtv_badges_bad...', 'DESC')
#3 src/XF/Service/MemberStat/Preparer.php(139): CMTV\Badges\MemberStat\MostBadges::getBadgeUsers(Object(XF\Entity\MemberStat), Object(NF\Calendar\XF\Finder\User))
#4 src/XF/Service/MemberStat/Preparer.php(202): XF\Service\MemberStat\Preparer->applyCallback('CMTV\\Badges\\Mem...', 'getBadgeUsers', Object(NF\Calendar\XF\Finder\User))
#5 src/XF/Service/MemberStat/Preparer.php(102): XF\Service\MemberStat\Preparer->getResultsData()
#6 src/XF/Entity/MemberStat.php(124): XF\Service\MemberStat\Preparer->getResults(false)
#7 src/XF/Widget/MemberStat.php(44): XF\Entity\MemberStat->getResults()
#8 internal_data/code_cache/widgets/_36_membersstat.php(5): XF\Widget\MemberStat->render()
#9 src/XF/Template/Templater.php(7509): XF\SubContainer\Widget->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, Array)
#10 src/XF/SubContainer/Widget.php(168): XF\Template\Templater->renderWidgetClosure(Object(Closure), Array)
#11 src/XF/Template/Templater.php(1928): XF\SubContainer\Widget->getCompiledWidget(Array, Array)
#12 internal_data/code_cache/templates/l1/s17/public/forum_list.php(219): XF\Template\Templater->widgetPosition('forum_list_side...', Array)
#13 src/XF/Template/Templater.php(1651): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, NULL)
#14 src/addons/MaZ/AMP/XF/Template/XF22/Templater.php(52): XF\Template\Templater->renderTemplate('forum_list', Array, true, NULL)
#15 src/XF/Template/Template.php(24): MaZ\AMP\XF\Template\XF22\Templater->renderTemplate('public:forum_li...', Array)
#16 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#17 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Forum\\Listin...', 'public:forum_li...', Array)
#18 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#19 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#20 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#21 src/XF/App.php(2345): XF\Mvc\Dispatcher->run()
#22 src/XF.php(512): XF\App->run()
#23 index.php(20): XF::runApp('XF\\Pub\\App')
#24 {main}

Request state​

array(4) {
["url"] => string(8) "/forums/"
["referrer"] => string(97) "https://www.behind-the-mask.net/showcase/michael-jackson-the-magic-the-madness-the-whole-story.1/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 

Painbaker

Well-known member
Issue still persists, for some reason. Is it a table I'd need to drop or something? Driving my crazy
You have errors from the previous add-on.
It needs to be disabled before installation and removed after you have successfully imported data.
 

btmgreg

Well-known member
Files might still be present.
Thank you. I think I figured it out. There was a folder left in addons despite it being uninstalled/not present in the addons section in the acp.

I've deleted it. No further errors as of yet - will keep an eye. :)
 

Danny88

Active member
@Ozzy47 May i get help? This badge will award members who are valid and have at least 1000 total reactions. I already run "Recalculate badge count" but still all members not get updated with badges. What did i missed?
 
Top