dwilden Posted April 5, 2013 Share Posted April 5, 2013 (edited) Hi, I have Prestashop 1.5.4, when enter to the front end as guest or login as user from my country (spanish config on they profile), I dont have problem. But if login some customer with english language configure on they profile, show this error Fatal error: Call to a member function createData() on a non-object in /classes/module/Module.php on line 143 Please I need help. Thanks Edited April 8, 2013 by dwilden (see edit history) Link to comment Share on other sites More sharing options...
guest* Posted April 5, 2013 Share Posted April 5, 2013 Any third party module installed ? Link to comment Share on other sites More sharing options...
NemoPS Posted April 5, 2013 Share Posted April 5, 2013 Have you recently upgraded, or is it an out of the box version? Link to comment Share on other sites More sharing options...
Valérie Assetskaya Posted April 5, 2013 Share Posted April 5, 2013 Hi, The list of modified files can be checked in BO Advanced Parametres->Configuration Information->List of changed files. Best regards. Link to comment Share on other sites More sharing options...
dwilden Posted April 5, 2013 Author Share Posted April 5, 2013 (edited) This is a upgraded version of prestashop, from 1.5.3.1 to 1.5.4 Yes, I have some third party module installed. Valerie, I have upload all prestashop again, and continue show modified files... :-( Error continue, only with english users (my default store is spanish) Thanks for you help Edited April 5, 2013 by dwilden (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted April 5, 2013 Share Posted April 5, 2013 Did anything go wrong when upgrading? any error message' Anyway, save those third party modules somewhere, and delete them after uninstalling. One by one, and each time check if the error goes away Link to comment Share on other sites More sharing options...
dwilden Posted April 5, 2013 Author Share Posted April 5, 2013 Thanks Nemo1, I have uninstall all third party modules, but error continue :-( I dont have idea because this error Link to comment Share on other sites More sharing options...
NemoPS Posted April 6, 2013 Share Posted April 6, 2013 It seems that smarty has no context for some reason, or it's not set, here is the line $this->smarty = $this->context->smarty->createData($this->context->smarty); Link to comment Share on other sites More sharing options...
dwilden Posted April 7, 2013 Author Share Posted April 7, 2013 Hi, I have solved the problem. I dont have update my custom template for Prestashop 1.5.4 , and some javascript cause problems. I have updat my custom template with new code of the default prestashop 1.5.4 and work fine. Thanks very much to all :-) Rgs Link to comment Share on other sites More sharing options...
dwilden Posted April 8, 2013 Author Share Posted April 8, 2013 Hi, The error is back :-( I have desactivate the jirafe stats module and website work fine. Link to comment Share on other sites More sharing options...
NemoPS Posted April 8, 2013 Share Posted April 8, 2013 So it's in jirafe? It goes away if you disable jirafe? Link to comment Share on other sites More sharing options...
dwilden Posted April 8, 2013 Author Share Posted April 8, 2013 Yes Nemo, the problem is caused by Jirafe Module, over my custom template and default prestashop template too. Desactivated Jirafe Module = No problems. Link to comment Share on other sites More sharing options...
NemoPS Posted April 8, 2013 Share Posted April 8, 2013 Weird. Make a copy of it. then delete it. get a fresh 1.5.4, and grab the jirafe module that comes with it. See if you get the same error Link to comment Share on other sites More sharing options...
dwilden Posted April 8, 2013 Author Share Posted April 8, 2013 Hi, On a fresh 1.5.4 cant install Jirafe, show this error: The following module(s) were not installed properly: - jirafe : safe_mode should be turned off to use this module. Link to comment Share on other sites More sharing options...
NemoPS Posted April 8, 2013 Share Posted April 8, 2013 Safe mode is a PHP feature, but it was removed from 5.4, which version are you running? Anyway, ask your hosting to turn it off Link to comment Share on other sites More sharing options...
dwilden Posted April 8, 2013 Author Share Posted April 8, 2013 My hosting is PHP 5.2.17 I try contact with IT hosting for change php version.... I'll Be Back Link to comment Share on other sites More sharing options...
dwilden Posted April 8, 2013 Author Share Posted April 8, 2013 (edited) I had changed on test site PHP to 5.4.0, installed the Jirafe Mudule and all work fine. On Real Website, the problem continue with Jirafe Module, I have update php to 5.4.0, but dont work Edited April 8, 2013 by dwilden (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted April 9, 2013 Share Posted April 9, 2013 I assume you already tried a fresh module on that one...? Link to comment Share on other sites More sharing options...
dwilden Posted April 12, 2013 Author Share Posted April 12, 2013 I Nemo, sorry my delay. The error continues, I have install a fresh module from the Add-ons. I have uninstall this module and use Google Analitycs. I surrender. Link to comment Share on other sites More sharing options...
lroven Posted April 30, 2013 Share Posted April 30, 2013 (edited) I have this problem to I have installed the latest version. Can it be something wrong with these lines?: if (!in_array(ini_get('safe_mode'), array('Off', 'off', '0', 0, ''))) $this->_errors[] = $this->l('safe_mode should be turned off to use this module.'); if (!in_array(ini_get('allow_url_fopen'), array('On', 'on', '1', 1))) $this->_errors[] = $this->l('allow_url_fopen should be enabled on your server to use this module.'); Edited April 30, 2013 by lroven (see edit history) Link to comment Share on other sites More sharing options...
Guest Posted October 6, 2014 Share Posted October 6, 2014 I've found that in my case, having prestashop 1.5.4, the problem was caused by "Analytics for ecommerce" module, so I've just unninstalled it and it's fine now. Regards. Link to comment Share on other sites More sharing options...
Recommended Posts