Hi. I have an error that keeps popping up and it's the same username triggering it. This user was a moderator and it seems like this error is popping up since he was no longer moderator. It happens whether he is on or offline.
Here is the log
ErrorException: Argument 1 passed to XenForo_ReportHandler_Abstract:;PrepareReports() must be of the type array, boolean given, called in /library/XenForo/Model/Report.php on line 187 and defined - library/XenForo/ReportHandler/Abstract.php:145
#0 /library/XenForo/ReportHandler/Abstract.php(145): XenForo_Application::handlePhpError(4096, 'Argument 1 pass...', '/home/mysitecom/p...', 145, Array)
#1 /library/XenForo/Model/Report.php(187): XenForo_ReportHandler_Abstract->prepareReports(false)
#2 /library/XenForo/Model/Report.php(275): XenForo_Model_Report->getVisibleReportsForUser(Array, Array)
#3 /library/XenForo/ControllerPublic/Abstract.php(537): XenForo_Model_Report->getActiveReportsCountsForUser()
#4 /library/XenForo/ControllerPublic/Abstract.php(505): XenForo_ControllerPublic_Abstract->_updateModeratorSessionReportCounts()
#5 /library/XenForo/ControllerPublic/Abstract.php(34): XenForo_ControllerPublic_Abstract->_updateModeratorSessionCaches()
#6 /library/XenForo/Controller.php(310): XenForo_ControllerPublic_Abstract->_preDispatchType('Index')
#7 /library/XenForo/FrontController.php(368): XenForo_Controller->preDispatch('Index', 'XenForo_Control...')
#8 /library/XenForo/FrontController.php(152): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 /index.php(13): XenForo_FrontController->run()
#10 {main}
Also when he tried to log in yesterday he got the following error
error message: An unexpected error occurred. Please try again later.
Any idea what this might be?
I'm on 1.5.20.
Here is the log
ErrorException: Argument 1 passed to XenForo_ReportHandler_Abstract:;PrepareReports() must be of the type array, boolean given, called in /library/XenForo/Model/Report.php on line 187 and defined - library/XenForo/ReportHandler/Abstract.php:145
#0 /library/XenForo/ReportHandler/Abstract.php(145): XenForo_Application::handlePhpError(4096, 'Argument 1 pass...', '/home/mysitecom/p...', 145, Array)
#1 /library/XenForo/Model/Report.php(187): XenForo_ReportHandler_Abstract->prepareReports(false)
#2 /library/XenForo/Model/Report.php(275): XenForo_Model_Report->getVisibleReportsForUser(Array, Array)
#3 /library/XenForo/ControllerPublic/Abstract.php(537): XenForo_Model_Report->getActiveReportsCountsForUser()
#4 /library/XenForo/ControllerPublic/Abstract.php(505): XenForo_ControllerPublic_Abstract->_updateModeratorSessionReportCounts()
#5 /library/XenForo/ControllerPublic/Abstract.php(34): XenForo_ControllerPublic_Abstract->_updateModeratorSessionCaches()
#6 /library/XenForo/Controller.php(310): XenForo_ControllerPublic_Abstract->_preDispatchType('Index')
#7 /library/XenForo/FrontController.php(368): XenForo_Controller->preDispatch('Index', 'XenForo_Control...')
#8 /library/XenForo/FrontController.php(152): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 /index.php(13): XenForo_FrontController->run()
#10 {main}
Also when he tried to log in yesterday he got the following error
error message: An unexpected error occurred. Please try again later.
Any idea what this might be?
I'm on 1.5.20.