usados-madeira Posted March 19, 2016 Share Posted March 19, 2016 Hi everyone, I install a free module COD with tax and after that I cannot acess the modules in Backoffice and get this message: [PrestaShop] Fatal error in module file :/home/zb1j6is3/public_html/modules/inixframe/InixModule.php:Access level to Inix2Module::displayWarning() must be public (as in class ModuleCore) Can anyone help with this? regards, Carlos Link to comment Share on other sites More sharing options...
tuk66 Posted March 21, 2016 Share Posted March 21, 2016 Change private or protected to public in the first displayWarning function line in the /modules/inixframe/InixModule.php file. 1 Link to comment Share on other sites More sharing options...
usados-madeira Posted March 21, 2016 Author Share Posted March 21, 2016 Hello, thanks for your help, now I can acess the modules backoffice page, the problem now is that I install a module but this doesn´t apears on the modules list or even in the folders on backoffice, what should I do now? I´m using Prestashop 1.6.1.3 Thanks in advance, Carlos Link to comment Share on other sites More sharing options...
tuk66 Posted March 22, 2016 Share Posted March 22, 2016 There are many possibilities of this. 1 Link to comment Share on other sites More sharing options...
mithunv Posted August 8, 2016 Share Posted August 8, 2016 hi changed " protected function displayWarning($msg) " to public function displayWarning($msg) but still i cant access to module section in back end I am getting this error [PrestaShop] Fatal error in module file :/data/www/MyDomain*/modules/inixframe/InixModule.php:Access level to Inix2Module::displayWarning() must be public (as in class ModuleCore) pls help Link to comment Share on other sites More sharing options...
tuk66 Posted August 8, 2016 Share Posted August 8, 2016 It's there.Change the function keyword from private or protected to public. 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