Content Ratings for XF2.1+ Media Gallery

Content Ratings for XF2.1+ Media Gallery 2.0.0

No permission to download

51463

Well-known member
oh no, that other add-on isn't free, looks like i can't make my own dislike button after all, :(

oh well
 

Xon

Well-known member
Please post a full stack trace from the admincp, the simple error message isn't helpful on debugging this.
 

Xon

Well-known member
Yes, this add-on adds an importer which can migrate XF1 Post Rating contents to this add-on's format
 

vbuser

Active member
I know you haven't upgraded this to support xenforo 2.1 but I upgraded and getting an error. Would love if you update add as well.

Code:
Error: Call to undefined method XFMG\Entity\MediaItem::canLike() src/addons/SV/ContentRatings/Entity/Ratable.php:301
Generated by: Unknown account Jan 31, 2019 at 5:10 AM
Stack trace
#0 src/addons/SV/ContentRatings/Entity/Ratable.php(284): SV\ContentRatingsXFMG\XFMG\Entity\MediaItem->canLike(NULL)
#1 [internal function]: SV\ContentRatingsXFMG\XFMG\Entity\MediaItem->canRate()
#2 src/XF/Template/Templater.php(978): call_user_func_array(Array, Array)
#3 internal_data/code_cache/templates/l1/s16/public/xfmg_media_view.php(312): XF\Template\Templater->method(Object(SV\ContentRatingsXFMG\XFMG\Entity\MediaItem), 'canRate', Array)
#4 src/XF/Template/Templater.php(1294): XF\Template\Templater->{closure}(Object(SV\ContentRatings\XF\Template\Templater), Array)
#5 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('xfmg_media_view', Array)
#6 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#7 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Html->renderView('XFMG:Media\\View', 'public:xfmg_med...', Array)
#8 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#9 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#11 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#12 src/XF.php(390): XF\App->run()
#13 index.php(20): XF::runApp('XF\\Pub\\App')
#14 {main}
Request state
array(4) {
  ["url"] => string(39) "/forum/media/i-adore-this-picture.2158/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Top