Jump to content

Database Error occurs in backoffice after deleting store group


May Zin

Recommended Posts

Hi,

I'm newbie in prestashop.  I switched on multi store, then created shop group and shops. Those all works well in this stage. After that, my curious mind forced me to delete the store group and got database exception error  in backoffice immediately but the front one is still pretty fine.   May I know the related tables in creating or deleting store or Could someone please help to get out of this? I got that error as follows. 

Screenshot from 2019-12-12 14-41-44.png

Link to comment
Share on other sites

DbCore->displayError('SELECT h.`name` as hook, m.`id_module`, h.`id_hook`, m.`name` as moduleFROM `ps_module` m INNER JOIN ps_module_shop module_shop ON (module_shop.id_module = m.id_module AND module_shop.id_shop IN () AND module_shop.enable_device & 1)INNER JOIN `ps_module_shop` `ms` ON ms.`id_module` = m.`id_module`INNER JOIN `ps_hook_module` `hm` ON hm.`id_module` = m.`id_module`INNER JOIN `ps_hook` `h` ON hm.`id_hook` = h.`id_hook`WHERE (h.`name` != "paymentOptions") AND (hm.`id_shop` = 1)GROUP BY hm.id_hook, hm.id_moduleORDER BY hm.`position`')in classes/db/Db.php (line 385)

DbCore->query('SELECT h.`name` as hook, m.`id_module`, h.`id_hook`, m.`name` as moduleFROM `ps_module` m INNER JOIN ps_module_shop module_shop ON (module_shop.id_module = m.id_module AND module_shop.id_shop IN () AND module_shop.enable_device & 1)INNER JOIN `ps_module_shop` `ms` ON ms.`id_module` = m.`id_module`INNER JOIN `ps_hook_module` `hm` ON hm.`id_module` = m.`id_module`INNER JOIN `ps_hook` `h` ON hm.`id_hook` = h.`id_hook`WHERE (h.`name` != "paymentOptions") AND (hm.`id_shop` = 1)GROUP BY hm.id_hook, hm.id_moduleORDER BY hm.`position`')in classes/db/Db.php (line 613)

DbCore->executeS('SELECT h.`name` as hook, m.`id_module`, h.`id_hook`, m.`name` as moduleFROM `ps_module` m INNER JOIN ps_module_shop module_shop ON (module_shop.id_module = m.id_module AND module_shop.id_shop IN () AND module_shop.enable_device & 1)INNER JOIN `ps_module_shop` `ms` ON ms.`id_module` = m.`id_module`INNER JOIN `ps_hook_module` `hm` ON hm.`id_module` = m.`id_module`INNER JOIN `ps_hook` `h` ON hm.`id_hook` = h.`id_hook`WHERE (h.`name` != "paymentOptions") AND (hm.`id_shop` = 1)GROUP BY hm.id_hook, hm.id_moduleORDER BY hm.`position`')in classes/Hook.php (line 670)

Screenshot from 2019-12-12 16-14-44.png

Link to comment
Share on other sites

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...