• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Comment reply as guest does not work

Affected version
2.0.0 Beta 1
#1
Hi,

when i am hitting the "Reply"-button as a guest this error appears:

Code:
Error: Call to undefined method XF\Mvc\Reply\View::getEntityId()
src/addons/XFMG/Pub/Controller/AbstractComment.php:80

#0 /www/demo/src/XF/Mvc/Dispatcher.php(232): XFMG\Pub\Controller\AbstractComment->actionComment(Object(XF\Mvc\ParameterBag))
#1 /www/demo/src/XF/Mvc/Dispatcher.php(85): XF\Mvc\Dispatcher->dispatchClass('XFMG:MediaComme...', 'Comment', 'html', Object(XF\Mvc\ParameterBag), 'xfmg')
#2 /www/demo/src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#3 /www/demo/src/XF/App.php(1771): XF\Mvc\Dispatcher->run()
#4 /www/demo/src/XF.php(319): XF\App->run()
#5 /www/demo/index.php(13): XF::runApp('XF\\Pub\\App')
#6 {main}

array(3) {
  ["url"] => string(93) "/demo/index.php?media/media-comments/image-987462-galleryv9-jhrf-987462-jpg.7/comment&quote=1"
  ["_GET"] => array(2) {
    ["media/media-comments/image-987462-galleryv9-jhrf-987462-jpg_7/comment"] => string(0) ""
    ["quote"] => string(1) "1"
  }
  ["_POST"] => array(0) {
  }
}
 

Attachments

Chris D

XenForo developer
Staff member
#2
This is a bug because the Reply link shouldn’t show at all in the first instance but also the error shouldn’t happen.

Both issues have already been fixed (fixed here too).