Recently upgraded phpBB Plugin Error

Recently upgraded plugin from 2.4.0 to 4.5.2 and got error upon activating plugin
A module already exists: OA_SOCIAL_LOGIN_ACP

I tried to rename the module OA_SOCIAL_LOGIN_ACP and activate then got error
The update process errored

Again revert back to same module name, still getting
The update process errored

Please provide urgent solution.

Answers

  • Ashish_PatelAshish_PatelMember
    edited April 2018

    Here is the error:

    Fatal error: Uncaught exception 'phpbb\module\exception\module_exception' with message 'CANNOT_REMOVE_MODULE' in /home/mysite/public_html/forum/phpbb/module/module_manager.php:448 Stack trace: #0 /home/mysite/public_html/forum/phpbb/db/migration/tool/module.php(371): phpbb\module\module_manager->delete_module(548, 'acp') #1 [internal function]: phpbb\db\migration\tool\module->remove('acp', 'ACP_CAT_DOT_MOD...', 'OA_SOCIAL_LOGIN...') #2 /home/mysite/public_html/forum/phpbb/db/migration/tool/module.php(405): call_user_func_array(Array, Array) #3 [internal function]: phpbb\db\migration\tool\module->reverse('add', 'acp', 'ACP_CAT_DOT_MOD...', 'OA_SOCIAL_LOGIN...') #4 /home/mysite/public_html/forum/phpbb/db/migrator.php(711): call_user_func_array(Array, Array) #5 /home/mysite/public_html/forum/phpbb/db/migrator.php(680): phpbb\db\migrator->run_step(Array, false, true) #6 /home/mysite/public_html/forum/phpbb/db/migrator.php(436): phpbb\db\migrator->process_data_step(Array, Array) #7 /home/mysite/public_html/forum/ in /home/mysite/public_html/forum/phpbb/module/module_manager.php on line 448

  • Claude_SchlesserClaude_SchlesserAdministratorOneAll Team
    edited April 2018

    Hello,

    to get rid of this error:

    A module already exists: OA_SOCIAL_LOGIN_ACP

    You can execute the following query in your database:

    DELETE FROM phpbb_modules WHERE module_langname LIKE 'OA_SOCIAL_LOGIN%'

    Then you should be able to do a clean installation of the plugin.

Welcome!

Please sign in to your OneAll account to ask a new question or to contribute to the discussions.

Please click on the link below to connect to the forum with your OneAll account.