Robru
Well-known member
Recently, after the update of XF 2.2.4, I started to see the following errors. How do I fix this?
Code:
XF\Db\Exception: MySQL statement prepare error [1146]: Table 'import_table_name' doesn't exist src/XF/Db/AbstractStatement.php:228
Generated by: Unknown account Mar 30, 2021 at 7:27 AM
Code:
Stack trace
SELECT new_id
FROM import_table_name
WHERE content_type = ?
AND old_id = ?
------------
#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL statement...', 1146, '42S02')
#1 src/XF/Db/Mysqli/Statement.php(39): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1146, '42S02')
#2 src/XF/Db/Mysqli/Statement.php(54): XF\Db\Mysqli\Statement->prepare()
#3 src/XF/Db/AbstractAdapter.php(94): XF\Db\Mysqli\Statement->execute()
#4 src/XF/Db/AbstractAdapter.php(150): XF\Db\AbstractAdapter->query('
SELECT new_...', Array)
#5 src/addons/XF301VB/Repository/ImportLookup.php(47): XF\Db\AbstractAdapter->fetchOne('
SELECT new_...', Array)
#6 src/addons/XF301VB/Pub/Controller/Redirect.php(114): XF301VB\Repository\ImportLookup->lookupId('blog_user', NULL)
#7 src/addons/XF301VB/Pub/Controller/Redirect.php(86): XF301VB\Pub\Controller\Redirect->redirectContent(Object(XF\Mvc\ParameterBag), 'blog_user', 'XF:Node', 'forums')
#8 src/XF/Mvc/Dispatcher.php(350): XF301VB\Pub\Controller\Redirect->actionBlogUser(Object(XF\Mvc\ParameterBag))
#9 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF301VB:Redirec...', 'BlogUser', Object(XF\Mvc\RouteMatch), Object(XF301VB\Pub\Controller\Redirect), NULL)
#10 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF301VB\Pub\Controller\Redirect), NULL)
#11 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#12 src/XF/App.php(2326): XF\Mvc\Dispatcher->run()
#13 src/XF.php(488): XF\App->run()
#14 index.php(20): XF::runApp('XF\\Pub\\App')
#15 {main}
Code:
Request state
array(4) {
["url"] => string(43) "/community/blogs/schmuel/542-fotoshoot.html"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}