Error when upgrading, Key column "Like_user_id" doesn't exist in table.

Malcolm

New Member
Hello,

I tried updating the add-on using the built in installer from Xenforo and I keep getting this error.

Exception: xf_liked_content: MySQL query error [1072]: Key column 'like_user_id' doesn't exist in table
 
What version of XenForo? What version of the add-on where you attempting to upgrade from and to?

I need the full error message, including stack trace.
 
To answer your questions:
  • XenForo 2.1
  • Content Ratings · 1.2.5 -> 1.3.14.2
Here you go!

Code:
XF\Db\InvalidQueryException: xf_liked_content: MySQL query error [1072]: Key column 'like_user_id' doesn't exist in table in src/XF/Db/AbstractStatement.php at line 217
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 77
XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 89
XF\Db\AbstractAdapter->query() in src/XF/Db/Schema/AbstractDdl.php at line 151
XF\Db\Schema\AbstractDdl->apply() in src/XF/Db/SchemaManager.php at line 149
XF\Db\SchemaManager->alterTable() in src/addons/SV/ContentRatings/Setup.php at line 56
SV\ContentRatings\Setup->installStep2() in src/addons/SV/ContentRatings/Setup.php at line 412
SV\ContentRatings\Setup->upgrade1030705Step6() in src/XF/AddOn/StepRunnerUpgradeTrait.php at line 122
SV\ContentRatings\Setup->upgradeStepRunner() in src/XF/AddOn/StepRunnerUpgradeTrait.php at line 71
SV\ContentRatings\Setup->upgrade() in src/XF/Admin/Controller/AddOn.php at line 575
XF\Admin\Controller\AddOn->actionUpgrade() in src/XF/Mvc/Dispatcher.php at line 321
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 248
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 100
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 50
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2177
XF\App->run() in src/XF.php at line 390
XF::runApp() in admin.php at line 13
 

Users who are viewing this thread

Back
Top