Bug - Threads, posts and conversations per page 2.0.4

I think there is a bug for those who migrated from XF1.5.

When i'm in the user preferences pane and attempt to adjust any preferences, I get the below error,

Code:
Oops! We ran into some problems.
XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'dpp_custom_config' in 'field list' in src/XF/Db/AbstractStatement.php at line 228
XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 39
XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 54
XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 94
XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 322
XF\Db\AbstractAdapter->update() in src/XF/Mvc/Entity/Entity.php at line 1468
XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1195
XF\Mvc\Entity\Entity->save() in src/XF/Mvc/Entity/Entity.php at line 1213
XF\Mvc\Entity\Entity->save() in src/XF/Mvc/FormAction.php at line 69
XF\Mvc\FormAction->XF\Mvc\{closure}() in src/XF/Mvc/FormAction.php at line 187
XF\Mvc\FormAction->run() in src/XF/Pub/Controller/Account.php at line 312
XF\Pub\Controller\Account->actionPreferences() in src/addons/AVForums/PrefixEssentials/XF/Pub/Controller/Account.php at line 19
AVForums\PrefixEssentials\XF\Pub\Controller\Account->actionPreferences() in src/XF/Mvc/Dispatcher.php at line 350
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2184
XF\App->run() in src/XF.php at line 391
XF::runApp() in index.php at line 20


Truonglv - I think it's your code, as that's the only file referencing the column in question

Code:
[21:40][[EMAIL][email protected][/EMAIL] community]# grep -rlw -e "dpp_custom_config" /home/nginx/domains/hometheaterforum.com/public/community/
/home/nginx/domains/hometheaterforum.com/public/community/src/addons/Truonglv/DiscussionsPerPage/XF/Entity/UserOption.php
/home/nginx/domains/hometheaterforum.com/public/community/src/addons/Truonglv/DiscussionsPerPage/XF/Pub/Controller/Account.php
/home/nginx/domains/hometheaterforum.com/public/community/src/addons/Truonglv/DiscussionsPerPage/Listener.php
/home/nginx/domains/hometheaterforum.com/public/community/src/addons/Truonglv/DiscussionsPerPage/Job/Migrate206.php
/home/nginx/domains/hometheaterforum.com/public/community/src/addons/Truonglv/DiscussionsPerPage/Setup.php
/home/nginx/domains/hometheaterforum.com/public/community/src/addons/Truonglv/DiscussionsPerPage/Callback.php
[21:43][[EMAIL][email protected][/EMAIL] community]#
[code]
 
Back
Top