We probably willAre there any plans / interest to update this add-on to support XenForo 2.0 in the future?
Yay, can't upgrade to 7.2 then :/.FYI, this add-on has some compatibility issues with php 7.2
It uses each() in some places which breaks in php 7.2
Template Errors: wf_widget_visitor_panel
Function create_function() is deprecated in /library/bdMedal/Model/Awarded.php, line 83
Function create_function() is deprecated in /library/bdMedal/Model/Awarded.php, line 112
With PHP 7.2.0
I got this errors on top:
This version fixes compatibility issues with PHP 7.2. Special thanks to @Xon for the pull request.
@xfrocks is this fixed in the new version?With debug mode enabled.
PHP:Server Error Log Error Info XenForo_Exception: No data - library/bdMedal/Helper/Template.php:84 Generated By: USER, 17 minutes ago Stack Trace #0 /library/bdMedal/Helper/Template.php(23): bdMedal_Helper_Template::_getCachedMedals(Array) #1 /library/XenForo/Template/Abstract.php(330): bdMedal_Helper_Template::renderCachedMedals('\n\t\t\t\t<a href="{...', Array, Object(XenForo_Template_Public)) #2 /internal_data/templates/S.3,L.1,wf_widget_visitor_panel.php(68): XenForo_Template_Abstract->callTemplateCallback('bdMedal_Helper_...', 'renderCachedMed...', '\n\t\t\t\t<a href="{...', Array) #3 /library/XenForo/Template/Abstract.php(260): include('/home/nginx/dom...') #4 /library/XenForo/Template/Abstract.php(191): XenForo_Template_Abstract->_renderInternal('/home/nginx/dom...', Array) #5 /library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render() #6 /library/WidgetFramework/WidgetRenderer/VisitorPanel.php(31): XenForo_Template_Public->render() #7 /library/WidgetFramework/WidgetRenderer.php(712): WidgetFramework_WidgetRenderer_VisitorPanel->_render(Array, 'thread_view', Array, Object(XenForo_Template_Public)) #8 /library/WidgetFramework/Core.php(519): WidgetFramework_WidgetRenderer->render(Array, 'thread_view', Array, Object(XenForo_Template_Public), Object(_WidgetFramework_ArrayOfString)) #9 /library/WidgetFramework/Core.php(481): WidgetFramework_Core->renderWidget(Array, 'thread_view', Array, Object(XenForo_Template_Public), Object(_WidgetFramework_ArrayOfString)) #10 /library/WidgetFramework/Core.php(448): WidgetFramework_Core->renderWidgets(Array, 'thread_view', Array, Object(XenForo_Template_Public), Object(_WidgetFramework_ArrayOfString)) #11 /library/WidgetFramework/Core.php(327): WidgetFramework_Core->_renderWidgetsFor('thread_view', Array, Object(XenForo_Template_Public), Object(_WidgetFramework_ArrayOfString)) #12 /library/WidgetFramework/Listener.php(121): WidgetFramework_Core->renderWidgetsFor('thread_view', Array, Object(XenForo_Template_Public), Array) #13 /library/XenForo/CodeEvent.php(58): WidgetFramework_Listener::template_post_render('thread_view', '\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n...', Array, Object(XenForo_Template_Public)) #14 /library/XenForo/Template/Abstract.php(195): XenForo_CodeEvent::fire('template_post_r...', Array, 'thread_view') #15 /library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render() #16 /library/XenForo/ViewRenderer/HtmlPublic.php(124): XenForo_Template_Public->render() #17 /library/XenForo/FrontController.php(639): XenForo_ViewRenderer_HtmlPublic->renderContainer(Object(XenForo_Template_Public), Array) #18 /library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array) #19 /index.php(13): XenForo_FrontController->run() #20 {main} Request State array(3) { ["url"] => string(70) "https://www.domain.com/t/thread-name.383928/" ["_GET"] => array(1) { ["/t/thread-name_383928/"] => string(0) "" } ["_POST"] => array(0) { } }
Yes, but I'm keeping the add-on disabled currently.We didn't fix it specifically for this version but this looks like some edge case where some user data is missing. Are you also experiencing this error?
Can you update and enable the add-on to get a fresh stack trace?Yes, but I'm keeping the add-on disabled currently.
Can you update and enable the add-on to get a fresh stack trace?
#0 /home/adept/public_html/library/bdMedal/Helper/Template.php(8): bdMedal_Helper_Template::_getCachedMedals(Array)
#1 [internal function]: bdMedal_Helper_Template::getCachedMedalsCount('', Array, Object(XenForo_Template_Public))
#2 /home/adept/public_html/library/XenForo/Template/Abstract.php(330): call_user_func(Array, '', Array, Object(XenForo_Template_Public))
#3 /home/adept/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code(455): XenForo_Template_Abstract->callTemplateCallback('bdMedal_Helper_...', 'getCachedMedals...', '', Array)
#4 /home/adept/public_html/library/XenForo/Template/Abstract.php(265): eval()
#5 /home/adept/public_html/library/XenForo/Template/Abstract.php(191): XenForo_Template_Abstract->_renderInternal('$__output = '';...', Array)
#6 /home/adept/public_html/library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render()
#7 /home/adept/public_html/library/XenForo/ViewRenderer/HtmlPublic.php(124): XenForo_Template_Public->render()
#8 /home/adept/public_html/library/XenForo/FrontController.php(639): XenForo_ViewRenderer_HtmlPublic->renderContainer(Object(XenForo_Template_Public), Array)
#9 /home/adept/public_html/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#10 /home/adept/public_html/index.php(13): XenForo_FrontController->run()
#11 {main}
@xfrocks Please let me know that this add-on database table name? If we choose to uninstall a legacy add-on from XF2 and any database alterations will remain. Database table need to remove manually.
Read more here: https://xenforo.com/community/threads/xf1-add-ons-uninstalling.138080/
We use essential cookies to make this site work, and optional cookies to enhance your experience.