Fixed Embedded videos do not appear in the trending widget.

Code:
InvalidArgumentException: Accessed unknown getter 'message' on XFMG:MediaItem[10] src/XF/Mvc/Entity/Entity.php:228
Code:
#0 src/XF/Mvc/Entity/Entity.php(140): XF\Mvc\Entity\Entity->get('message')
#1 internal_data/code_cache/templates/l2/s1/public/trending_content_item_xfmg_media.php(189): XF\Mvc\Entity\Entity->offsetGet('message')
#2 src/XF/Template/Templater.php(1093): XF\Template\Templater->{closure}(Object(DigitalPoint\Cloudflare\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#3 src/XF/Template/Templater.php(1029): XF\Template\Templater->renderExtensionInternal('snippet', Array, Array, Object(XF\Template\ExtensionSet))
#4 internal_data/code_cache/templates/l2/s1/public/content_display_macros.php(338): XF\Template\Templater->renderExtension('snippet', Array, Object(XF\Template\ExtensionSet))
#5 src/XF/Template/Templater.php(922): XF\Template\Templater->{closure}(Object(DigitalPoint\Cloudflare\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#6 src/XF/Template/Templater.php(913): XF\Template\Templater->callMacro('content_display...', 'carousel', Array, Array, Object(XF\Template\MacroState))
#7 src/XF/Template/Templater.php(913): XF\Template\Templater->callMacro('trending_conten...', 'carousel', Array, Array, Object(XF\Template\MacroState))
#8 src/XF/Template/Templater.php(967): XF\Template\Templater->callMacro('trending_conten...', 'carousel', Array, Array)
#9 src/XF/TrendingContent/AbstractHandler.php(51): XF\Template\Templater->renderMacro('public:trending...', 'carousel', Array)
#10 src/XF/Entity/TrendingResult.php(69): XF\TrendingContent\AbstractHandler->render(Object(XF\Entity\TrendingResult), Object(XFMG\Entity\MediaItem), 'carousel', 500)
#11 src/XF/Template/Templater.php(1283): XF\Entity\TrendingResult->renderContent(Object(XFMG\Entity\MediaItem), 'carousel', 500)
#12 internal_data/code_cache/templates/l2/s1/public/widget_trending_content.php(44): XF\Template\Templater->method(Object(XF\Entity\TrendingResult), 'renderContent', Array)
#13 src/XF/Template/Templater.php(1792): XF\Template\Templater->{closure}(Object(DigitalPoint\Cloudflare\XF\Template\Templater), Array, NULL)
#14 src/XF/Widget/WidgetRenderer.php(62): XF\Template\Templater->renderTemplate('widget_trending...', Array)
#15 src/XF/Widget/WidgetRenderer.php(67): XF\Widget\WidgetRenderer->render()
#16 src/XF/Template/Templater.php(2137): XF\Widget\WidgetRenderer->__toString()
#17 internal_data/code_cache/templates/l2/s1/public/forum_list.php(219): XF\Template\Templater->widgetPosition('forum_list_abov...', Array)
#18 src/XF/Template/Templater.php(1792): XF\Template\Templater->{closure}(Object(DigitalPoint\Cloudflare\XF\Template\Templater), Array, NULL)
#19 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('forum_list', Array)
#20 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#21 src/XF/Mvc/Dispatcher.php(471): XF\Mvc\Renderer\Html->renderView('XF:Forum\\Listin...', 'public:forum_li...', Array)
#22 src/XF/Mvc/Dispatcher.php(453): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#23 src/XF/Mvc/Dispatcher.php(412): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#24 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#25 src/XF/App.php(2767): XF\Mvc\Dispatcher->run()
#26 src/XF.php(798): XF\App->run()
#27 index.php(23): XF::runApp('XF\\Pub\\App')
#28 {main}
Code:
array(4) {
  ["url"] => string(1) "/"
  ["referrer"] => string(22) "https://********.net/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XFMG release (2.3.0).

Change log:
Use poster URL for non-image featured and trending media widgets
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom