AnjaC
Active member
Hi there,
it would be fantastic to get help.
The update to the latest version of XFMG stopped with this error:
UPDATE
------------
#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL statement...', 1054, '42S22')
#1 src/XF/Db/Mysqli/Statement.php(39): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1054, '42S22')
#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(326): XF\Db\AbstractAdapter->query('UPDATE `xf_mg_...', Array)
#5 src/XF/Install/InstallHelperTrait.php(85): XF\Db\AbstractAdapter->update('xf_mg_album', Array, 'like_users = ?', Array)
#6 src/XF/Install/InstallHelperTrait.php(43): XF\AddOn\AbstractSetup->tableColumnsToJson('xf_mg_album', Array, Array, 0, Array, false, '^([abCdioOsS]:|...', 1000)
#7 src/addons/XFMG/Setup.php(2410): XF\AddOn\AbstractSetup->entityColumnsToJson('XFMG:Album', Array, 0, Array)
#8 src/XF/AddOn/StepRunnerUpgradeTrait.php(122): XFMG\Setup->upgrade902010010Step1(Array)
#9 src/XF/AddOn/StepRunnerUpgradeTrait.php(71): XFMG\Setup->upgradeStepRunner(902010010, 1, Array, NULL)
#10 src/XF/Admin/Controller/AddOn.php(576): XFMG\Setup->upgrade(Array)
#11 src/XF/Mvc/Dispatcher.php(321): XF\Admin\Controller\AddOn->actionUpgrade(Object(XF\Mvc\ParameterBag))
#12 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:AddOn', 'Upgrade', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\AddOn), NULL)
#13 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\AddOn), NULL)
#14 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#15 src/XF/App.php(2178): XF\Mvc\Dispatcher->run()
#16 src/XF.php(390): XF\App->run()
#17 admin.php(13): XF::runApp('XF\\Admin\\App')
#18 {main}
Status der Anfrage
array(4) {
["url"] => string(37) "/forum/admin.php?add-ons/XFMG/upgrade"
["referrer"] => string(62) "https:***/admin.php?add-ons/XFMG/upgrade"
["_GET"] => array(1) {
["add-ons/XFMG/upgrade"] => string(0) ""
}
["_POST"] => array(7) {
["_xfProcessing"] => string(1) "1"
["continue"] => string(1) "1"
["confirm"] => string(1) "1"
["params"] => string(2) "[]"
["count"] => string(1) "1"
["finished"] => string(1) "0"
["_xfToken"] => string(8) "****"
}
}
Any idea how to fix this?
Greetings
Klaus
it would be fantastic to get help.
The update to the latest version of XFMG stopped with this error:
- XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'like_users' in 'where clause'
- src/XF/Db/AbstractStatement.php:217
- Generiert von: klaus harms
- 27 September 2019 um 18:22
UPDATE
xf_mg_album
SET like_users
= ? WHERE like_users = ?------------
#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL statement...', 1054, '42S22')
#1 src/XF/Db/Mysqli/Statement.php(39): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1054, '42S22')
#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(326): XF\Db\AbstractAdapter->query('UPDATE `xf_mg_...', Array)
#5 src/XF/Install/InstallHelperTrait.php(85): XF\Db\AbstractAdapter->update('xf_mg_album', Array, 'like_users = ?', Array)
#6 src/XF/Install/InstallHelperTrait.php(43): XF\AddOn\AbstractSetup->tableColumnsToJson('xf_mg_album', Array, Array, 0, Array, false, '^([abCdioOsS]:|...', 1000)
#7 src/addons/XFMG/Setup.php(2410): XF\AddOn\AbstractSetup->entityColumnsToJson('XFMG:Album', Array, 0, Array)
#8 src/XF/AddOn/StepRunnerUpgradeTrait.php(122): XFMG\Setup->upgrade902010010Step1(Array)
#9 src/XF/AddOn/StepRunnerUpgradeTrait.php(71): XFMG\Setup->upgradeStepRunner(902010010, 1, Array, NULL)
#10 src/XF/Admin/Controller/AddOn.php(576): XFMG\Setup->upgrade(Array)
#11 src/XF/Mvc/Dispatcher.php(321): XF\Admin\Controller\AddOn->actionUpgrade(Object(XF\Mvc\ParameterBag))
#12 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:AddOn', 'Upgrade', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\AddOn), NULL)
#13 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\AddOn), NULL)
#14 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#15 src/XF/App.php(2178): XF\Mvc\Dispatcher->run()
#16 src/XF.php(390): XF\App->run()
#17 admin.php(13): XF::runApp('XF\\Admin\\App')
#18 {main}
Status der Anfrage
array(4) {
["url"] => string(37) "/forum/admin.php?add-ons/XFMG/upgrade"
["referrer"] => string(62) "https:***/admin.php?add-ons/XFMG/upgrade"
["_GET"] => array(1) {
["add-ons/XFMG/upgrade"] => string(0) ""
}
["_POST"] => array(7) {
["_xfProcessing"] => string(1) "1"
["continue"] => string(1) "1"
["confirm"] => string(1) "1"
["params"] => string(2) "[]"
["count"] => string(1) "1"
["finished"] => string(1) "0"
["_xfToken"] => string(8) "****"
}
}
Any idea how to fix this?
Greetings
Klaus
Last edited: