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

Status
Not open for further replies.

nolawebpro

Customer
Do you know why I am getting this error in Xenforo 2.2? Someone said it looks like it might be something with the DB redirects?

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) {
}
}
Quote Reply
 
That's because your old member URL formats did not contain the [user_id] parameter. You can't use the redirect add-on for this reason.
 
A developer set that up when I had him migrate from vBulletin to Xenforo. Are you saying that Add-on isn't working and I should just disable it?
 
Yeah, unfortunately it cannot function with member URLs or forum URLs without the user ID and forum ID respectively. You will not be able to redirect your old SEO URLs to XenForo.
 
Hello @nolawebpro,

We hope your ticket regarding DragonByte SEO has been addressed to your satisfaction. This ticket has now been scheduled to be closed.

If your ticket has not been resolved, you can reply to this thread at any point in the next 7 days in order to reopen the ticket, afterwards this thread will be closed.

Please do not reply to this thread if your ticket has been resolved.

Thank you.


- DragonByte Technologies, Ltd.
 
Hello @nolawebpro,

As we have not heard back from you, your ticket regarding DragonByte SEO has now been closed.

If your ticket has not been resolved, please feel free to start a new support ticket and link back to this ticket.

Thank you.


- DragonByte Technologies, Ltd.
 
Status
Not open for further replies.

Legacy DragonByte SEO

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
7,172
Customer rating
5.00 star(s) 1 ratings
Back
Top