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

Duplicate ErrorException: Undefined variable: ignoredNames

Blue

Well-known member
#1
I have 18 pages of this error.

Error Info
ErrorException: Undefined variable: ignoredNames - library/XenForo/ControllerPublic/Member.php:258
Generated By: Unknown Account, 22 minutes ago
Stack Trace

#0 /home/public_html/community/library/XenForo/ControllerPublic/Member.php(258):

XenForo_Application::handlePhpError()
#1 /home/public_html/community/library/XenForo/FrontController.php(310):

XenForo_ControllerPublic_Member->actionMember(Object(XenForo_RouteMatch))
#2 /home/public_html/community/library/XenForo/FrontController.php(132):

XenForo_FrontController->dispatch()
#3 /home/public_html/community/index.php(13): XenForo_FrontController->run()
#4 {main}

Request State

array(3) {
["url"] => string(55) "http://sitename.com/community/members/acav.367/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 
R

ragtek

Guest
#2
That's a bug.

If a user isn't allowed to view profileposts, $ignoredNames isn't set.

fix:
search for XenForo_ControllerPublic_Member
PHP:
$canViewProfilePosts = false;
            $canPostOnProfile = false;
add under this:
PHP:
$ignoredNames = false;