Fixed Error analyzing node permissions

Snog

Well-known member
Affected version
2.0 RC 1
While the permissions do get analyzed, this error appears sever time in the error log...

(user name and ID redacted)
Code:
    ErrorException: [E_NOTICE] Undefined index: class src/XF/Template/Templater.php:1673 

    Generated by: Snog Nov 8, 2017 at 6:44 PM 

Stack trace

#0 src/XF/Template/Templater.php(1673): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/var/www/client...', 1673, Array)
#1 src/XF/Template/Templater.php(1652): XF\Template\Templater->getDefaultAvatarHtml('user name', 'avatar-u####-s', Array)
#2 src/XF/Template/Templater.php(1608): XF\Template\Templater->getDynamicAvatarHtml('user name', 'avatar-u####-s', Array)
#3 [internal function]: XF\Template\Templater->fnAvatar(Object(XF\Template\Templater), false, Object(XFRM\XF\Entity\User), 'xxs', false, Array)
#4 src/XF/Template/Templater.php(819): call_user_func_array(Array, Array)
#5 src/XF/Admin/View/User/Find.php(18): XF\Template\Templater->fn('avatar', Array)
#6 src/XF/Mvc/Renderer/AbstractRenderer.php(77): XF\Admin\View\User\Find->renderJson()
#7 src/XF/Mvc/Renderer/Json.php(60): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('XF:User\\Find', '', Array)
#8 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Json->renderView('XF:User\\Find', '', Array)
#9 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#11 src/XF/App.php(1852): XF\Mvc\Dispatcher->run()
#12 src/XF.php(328): XF\App->run()
#13 admin.php(13): XF::runApp('XF\\Admin\\App')
#14 {main}

Request state

array(4) {
  ["url"] => string(176) "/admin.php?users/find&q=User%20Name&_xfRequestUri=%2Fadmin.php%3Fpermissions%2Fanalyze&_xfWithData=1&_xfToken=1510184665%2C2bf0d6d6905611c2714745cfe0877f10&_xfResponseType=json"
  ["referrer"] => string(51) "https://snogssite.com/admin.php?permissions/analyze"
  ["_GET"] => array(6) {
    ["users/find"] => string(0) ""
    ["q"] => string(9) "User Name"
    ["_xfRequestUri"] => string(30) "/admin.php?permissions/analyze"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(43) "1510184665,2bf0d6d6905611c2714745cfe0877f10"
    ["_xfResponseType"] => string(4) "json"
  }
  ["_POST"] => array(0) {
  }
}
 
This was fixed not long after the package was released yesterday. Re-download from the customer area and re-upload the files and that error should go away.
 
Back
Top Bottom