Jump to content

Edit History

Yulia Vitun

Yulia Vitun

On 12/17/2021 at 1:35 PM, Iberactiv said:

@SchmidtSon

I had a similar problem, on Prestashop 1.7.8.7 . I solved it by editing the file classes/hook.php, in lines 483 - 484:

 $results = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(
            'SELECT h.id_hook, h.name as h_name, title, description, h.position, hm.position as hm_position, m.id_module, m.name, active

Just changed active by h.active, like this:

 $results = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(
            'SELECT h.id_hook, h.name as h_name, title, description, h.position, hm.position as hm_position, m.id_module, m.name, h.active

 

PS 1.7.6.5 - changes to be done in line 404 - it Works !

Yulia Vitun

Yulia Vitun

On 12/17/2021 at 1:35 PM, Iberactiv said:

@SchmidtSon

I had a similar problem, on Prestashop 1.7.7.8 . I solved it by editing the file classes/hook.php, in lines 483 - 484:

 $results = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(
            'SELECT h.id_hook, h.name as h_name, title, description, h.position, hm.position as hm_position, m.id_module, m.name, active

Just changed active by h.active, like this:

 $results = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(
            'SELECT h.id_hook, h.name as h_name, title, description, h.position, hm.position as hm_position, m.id_module, m.name, h.active

 

PS 1.7.6.5 - changes to be done in line 404 - it Works !

×
×
  • Create New...