Jump to content

[SOLVED] ERR_TOO_MANY_REDIRECTS - Deleting module manually


yeye412

Recommended Posts

Hi,

after the installation of the module ps_accounts (requested during the installation of the one_page_checkout module), i was not able to access the back office due to an error on the back office page.

As i'm wasn't able to login to the back office, i tried to delete manually the ps_accounts module from /module folder and remove it's references from db (ps_module, ps_module_group, ps_module_country, ps_hooks_module, ps_module_preference, ..).

 

From that time, i'm getting the ERR_TOO_MANY_REDIRECTS error on the back office page. 

Does someone have any idea on how to fix it or what could be the cause?
Sadly we've not any recent backup, so we cannot rollback all.
 

The only error i can see on the errors.log file is:
 

[04-Jul-2023 04:06:03 America/Chicago] PHP Fatal error:  Uncaught
 TypeError: array_key_exists(): Argument #2 ($array) must be of type array, 
Shop given in /home2/mainuser/public_html/src/Adapter/EntityMapper.php:99

Stack trace:
#0 /home2/mainuser/public_html/src/Adapter/EntityMapper.php(99): array_key_exists('id_shop', Object(Shop))
#1 /home2/mainuser/public_html/classes/ObjectModel.php(264): PrestaShop\PrestaShop\Adapter\EntityMapper->load('1', NULL, Object(Shop), Array, NULL, true)
#2 /home2/mainuser/public_html/classes/shop/Shop.php(128): ObjectModelCore->__construct('1', NULL, NULL)
#3 /home2/mainuser/public_html/classes/shop/Shop.php(413): ShopCore->__construct('1')
#4 /home2/mainuser/public_html/config/config.inc.php(119): ShopCore::initialize()
#5 /home2/mainuser/public_html/index.php(27): require('/home2/mainuser...')
#6 {main}

 

Thank you in advance for helping!


SOLVED 

After hours, i was able to solve the issue.. 
I was missing to remove ps_account module references on the ps_tab db table.

Hope this will help someone :) 

Edited by yeye412
Solved (see edit history)
Link to comment
Share on other sites

  • yeye412 changed the title to [SOLVED] ERR_TOO_MANY_REDIRECTS - Deleting module manually

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...