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

XF 2.0 Server error

#1
Just upgraded from beta 6 to Beta 7 and get this error in my admin cp

Code:
Server error log

    ErrorException: [E_RECOVERABLE_ERROR] Argument 2 passed to XF\Finder\Post::inThread() must be of the type array, boolean given, called in /home/mysite/public_html/xf/src/XF/Repository/Post.php on line 14 and defined src/XF/Finder/Post.php:9

    Generated by: Unknown account Oct 19, 2017 at 17:16

Stack trace

#0 src/XF/Finder/Post.php(9): XF::handlePhpError(4096, 'Argument 2 pass...', '/home/newlibar/...', 9, Array)
#1 src/XF/Repository/Post.php(14): XF\Finder\Post->inThread(Object(NF\TrashCan\XF\Entity\Thread), true)
#2 src/XF/Pub/Controller/Thread.php(35): XF\Repository\Post->findPostsForThreadView(Object(NF\TrashCan\XF\Entity\Thread))
#3 src/addons/XenRemi/WhoReadTheDiscussion/XF/Pub/Controller/Thread.php(19): XF\Pub\Controller\Thread->actionIndex(Object(XF\Mvc\ParameterBag))
#4 src/addons/XFMG/XF/Pub/Controller/Thread.php(11): XenRemi\WhoReadTheDiscussion\XF\Pub\Controller\Thread->actionIndex(Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(249): XFMG\XF\Pub\Controller\Thread->actionIndex(Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(89): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'index', 'html', Object(XF\Mvc\ParameterBag), 'forums', Object(NF\TrashCan\XF\Pub\Controller\Thread), NULL)
#7 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(1844): XF\Mvc\Dispatcher->run()
#9 src/XF.php(328): XF\App->run()
#10 index.php(13): XF::runApp('XF\\Pub\\App')
#11 {main}

Request state

array(4) {
  ["url"] => string(35) "/xf/index.php?threads/rezultati.38/"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["threads/rezultati_38/"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
Is it maybe some bug?

regards

bosss

No panic
 

Chris D

XenForo developer
Staff member
#2
There are a number of add ons mentioned in that trace but I honestly haven’t had the chance to check our code, yet.

Is the error consistently reproducible. And if it is, does it continue if you disable all add ons in the Admin CP?
 

Chris D

XenForo developer
Staff member
#4
In that case it may have just been some sort of issue that happened while the files were uploaded and partially incomplete.

If it happens again, let us know.