• 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

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

Error: Call to undefined method XF\Mvc\Reply\View::getEntityId()

#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) {


Chris D

XenForo developer
Staff member
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).