• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed XF1.5.14 - 2.0.0 Beta 2 (upgrade XFMG - 1.1.13)

Robru

Well-known member
#1
Affected version
2.0.0 Beta 2
Code:
XF\Db\Exception: MySQL query error [1062]: Duplicate entry '3-0-xfmg-approveUnapprove' for key 'unique_permission' in src/XF/Db/AbstractStatement.php at line 183

    XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 66
    XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 67
    XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 227
    XF\Db\AbstractAdapter->update() in src/addons/XFMG/Setup.php at line 1662
    XFMG\Setup->upgrade902000010Step23() in src/XF/AddOn/StepRunnerUpgradeTrait.php at line 143
    XFMG\Setup->upgradeStepRunner() in src/XF/AddOn/StepRunnerUpgradeTrait.php at line 79
    XFMG\Setup->upgrade() in src/XF/Admin/Controller/AddOn.php at line 424
    XF\Admin\Controller\AddOn->actionUpgrade() 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 1777
    XF\App->run() in src/XF.php at line 320
    XF::runApp() in admin.php at line 13