twilight7 Posted May 2, 2016 Share Posted May 2, 2016 Vroeg mij af als iemand deze foutmelding kan toelichten. Ik gebruik prestashop 1.6.1.3, en op het moment dat ik de analytics module inschakel. gaat de site offline. als ik de debug aan zet, krijg ik vervolgens dit te zien: Fatal error: Call to a member function isRegisteredInHook() on boolean in /customers/b/d/0/httpd.www/modules/ganalytics/ganalytics.php on line 451 op line 451 van ganalytics vind ik dit terug: /** * hook home to display generate the product list associated to home featured, news products and best sellers Modules */ public function isModuleEnabled($name) { if (version_compare(_PS_VERSION_, '1.5', '>=')) if(Module::isEnabled($name)) { $module = Module::getInstanceByName($name); return $module->isRegisteredInHook('home'); } else return false; else { $module = Module::getInstanceByName($name); return ($module && $module->active === true); } } /** Het zegt mij helemaal niks.. iemand een idee hoe ik dit kan oplossen? Link to comment Share on other sites More sharing options...
tuk66 Posted May 4, 2016 Share Posted May 4, 2016 Het lijkt erop dat de ganalytics module is niet correct geïnstalleerd. Probeer het te verwijderen en opnieuw te installeren. It seems the ganalytics module isn't properly installed. Try to uninstall it and install again. Link to comment Share on other sites More sharing options...
twilight7 Posted May 4, 2016 Author Share Posted May 4, 2016 Have try that several time's Same problem everytime. Link to comment Share on other sites More sharing options...
tuk66 Posted May 5, 2016 Share Posted May 5, 2016 OK, so there is a problem with the code. It needs a direct action in your shop. Link to comment Share on other sites More sharing options...
Cedric31 Posted October 27, 2016 Share Posted October 27, 2016 Hello, I have a same bug, Have you resolved this problem ? 1 Link to comment Share on other sites More sharing options...
twilight7 Posted October 30, 2016 Author Share Posted October 30, 2016 Not really resolved.. i have the line 451 turned out with \\ No error anymore, the site stays online. And Analytics works Link to comment Share on other sites More sharing options...
Cedric31 Posted October 30, 2016 Share Posted October 30, 2016 Hello, I don't understand the bug resolved with // Could you explain ? 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