XF 2.2 Profile Reply Error?

onthefly

Active member
I keep getting this error when trying to reply to a profile post, any ideas?

XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'attach_count' in 'field list' in src/XF/Db/AbstractStatement.php at line 230
XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 198
XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 41
XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 56
XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 223
XF\Db\AbstractAdapter->insert() in src/XF/Mvc/Entity/Entity.php at line 1514
XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1246
XF\Mvc\Entity\Entity->save() in src/XF/Service/ProfilePostComment/Creator.php at line 114
XF\Service\ProfilePostComment\Creator->_save() in src/XF/Service/ValidateAndSavableTrait.php at line 42
XF\Service\ProfilePostComment\Creator->save() in src/XF/Pub/Controller/ProfilePost.php at line 313
XF\Pub\Controller\ProfilePost->actionAddComment() in src/XF/Mvc/Dispatcher.php at line 352
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 263
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2351
XF\App->run() in src/XF.php at line 517
XF::runApp() in index.php at line 20
 
Can you run this query and paste the results: SHOW CREATE TABLE `xf_profile_post` .

You can use phpMyAdmin and select show full text to see the output.
 
Top Bottom