XF 2.1 [E_NOTICE] Trying to get property 'user_id' of non-object

NOLAWebPro

Member
I'm getting the following errors in the server log. Is there a fix for this?

Server error log
  • ErrorException: [E_NOTICE] Trying to get property 'user_id' of non-object
  • src/addons/XF301VB/Mvc/Router.php:245
  • Generated by: Unknown account
  • Jun 24, 2021 at 9:15 PM

Stack trace​

#0 src/addons/XF301VB/Mvc/Router.php(245): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/mnt/stor4-wc1-...', 245, Array)
#1 src/addons/DBTech/Redirect/XF/Mvc/Router.php(43): XF301VB\Mvc\Router->routeToController('members/dr-detr...', Object(XF\Http\Request))
#2 src/XF/Mvc/Dispatcher.php(65): DBTech\Redirect\XF\Mvc\Router->routeToController('members/dr-detr...', Object(XF\Http\Request))
#3 src/XF/Mvc/Dispatcher.php(336): XF\Mvc\Dispatcher->route('members/dr-detr...')
#4 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Member', 'DrDetroit', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Member), NULL)
#5 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Member), NULL)
#6 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#7 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#8 src/XF.php(391): XF\App->run()
#9 index.php(20): XF::runApp('XF\\Pub\\App')
#10 {main}

Request state​

array(4) {
["url"] => string(66) "/forums/members/dr-detroit.html?s=455d0a26acc43f729279d979fcb58064"
["referrer"] => bool(false)
["_GET"] => array(1) {
["s"] => string(32) "455d0a26acc43f729279d979fcb58064"
}
["_POST"] => array(0) {
}
}
 
Back
Top Bottom