Not a bug Unknown column after upgrade

Snog

Well-known member
Affected version
2.0 Beta 1
I'm getting this error when I try to view a forum after upgrading to XF 2 Beta 1...

InvalidArgumentException: Unknown column addon_column on XF:Thread in src/XF/Mvc/Entity/Finder.php at line 1367

XF\Mvc\Entity\Finder->resolveFieldToTableAndColumn() in src/XF/Mvc/Entity/Finder.php at line 492
XF\Mvc\Entity\Finder->columnSqlName() in src/XF/Mvc/Entity/Finder.php at line 1199
XF\Mvc\Entity\Finder->getQuery() in src/XF/Mvc/Entity/Finder.php at line 1107
XF\Mvc\Entity\Finder->fetch() in src/XF/Pub/Controller/Forum.php at line 214
XF\Pub\Controller\Forum->actionForum() in src/XF/Mvc/Dispatcher.php at line 232
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 85
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1771
XF\App->run() in src/XF.php at line 319
XF::runApp() in index.php at line 13

The column 'addon_column' was added to the XF:Thread table while running XF 1.5 and does have a default value.
 
I'm not sure what it was, but I went into the node list and simply saved the node without changing anything and the forum displayed without error after that.
 
Top Bottom