Blawdi Posted May 2, 2016 Share Posted May 2, 2016 Hello, You have idea for cause to say : Chose Module is not a valid module name. in mode DEV? Only white page with message "Chose Module is not a valid module name." I have no idea Thank you Link to comment Share on other sites More sharing options...
Blawdi Posted May 4, 2016 Author Share Posted May 4, 2016 ?? Link to comment Share on other sites More sharing options...
Blawdi Posted May 5, 2016 Author Share Posted May 5, 2016 ??? Link to comment Share on other sites More sharing options...
Blawdi Posted May 5, 2016 Author Share Posted May 5, 2016 ??? Link to comment Share on other sites More sharing options...
Blawdi Posted May 7, 2016 Author Share Posted May 7, 2016 ???? Link to comment Share on other sites More sharing options...
endriu107 Posted May 7, 2016 Share Posted May 7, 2016 Simillar issue: https://www.prestashop.com/forums/topic/423377-prestashopexception-module-is-not-a-valid-module-name/ Link to comment Share on other sites More sharing options...
Blawdi Posted May 7, 2016 Author Share Posted May 7, 2016 (edited) Thank you, is not similare. M'y problem is solved, The problem is Module : pos Staticblocks pos Static Footer The choice of the module is compulsory even if you do not display it. Unfortunately it is possible to save even if it is not selected (*) Edited May 7, 2016 by Bladinium (see edit history) Link to comment Share on other sites More sharing options...
David MEYER Posted May 28, 2016 Share Posted May 28, 2016 I have the same and resolve it by changing some line in /model/Staticfooter.php line 57, replace foreach($object as $key=>$ob) { $nameModule = $ob['name_module']; $hookModule = $ob['hook_module']; $blockModule = $this->getModuleAssign($nameModule, $hookModule); $ob['block_module'] = $blockModule; By $blockModule= null; foreach($object as $key=>$ob) { $nameModule = $ob['name_module']; $hookModule = $ob['hook_module']; $insert_module = $ob['insert_module']; if($insert_module!=0){ $blockModule = $this->getModuleAssign($nameModule, $hookModule); } $ob['block_module'] = $blockModule; $description = $ob['description']; Link to comment Share on other sites More sharing options...
dedollyo Posted October 25, 2016 Share Posted October 25, 2016 Blawdi, how did you fixed the problem? What have you changed in BO? Link to comment Share on other sites More sharing options...
eloelic Posted February 8, 2018 Share Posted February 8, 2018 On 28. 5. 2016 at 3:11 PM, David MEYER said: I have the same and resolve it by changing some line in /model/Staticfooter.php line 57, replace foreach($object as $key=>$ob) { $nameModule = $ob['name_module']; $hookModule = $ob['hook_module']; $blockModule = $this->getModuleAssign($nameModule, $hookModule); $ob['block_module'] = $blockModule; By $blockModule= null; foreach($object as $key=>$ob) { $nameModule = $ob['name_module']; $hookModule = $ob['hook_module']; $insert_module = $ob['insert_module']; if($insert_module!=0){ $blockModule = $this->getModuleAssign($nameModule, $hookModule); } $ob['block_module'] = $blockModule; $description = $ob['description']; This is working. GJ! I have a problem with post megamenu too. Is not working. Link to comment Share on other sites More sharing options...
Butch0071 Posted May 10, 2023 Share Posted May 10, 2023 In my case message is shown only in dev mode. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now