Jump to content

Fatal Error on Module.php on PS 1.5.4


Recommended Posts

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 by dwilden (see edit history)
Link to comment
Share on other sites

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 by dwilden (see edit history)
Link to comment
Share on other sites

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

  • 3 weeks later...

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 by lroven (see edit history)
Link to comment
Share on other sites

  • 1 year later...

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

×
×
  • Create New...