Jump to content

Module made for version 1.5.3.1 not working for 1.5.4.1 - please help


Recommended Posts

Hiya,

 

So I've got a module (ERPLY integration) that was made for prestashop version 1.5.3.1. The module doesn't work when installed, and will display this error;

 

Fatal error: Call to undefined method Category::hideCategoryPosition()

 

The method does exist, but I'm assuming it must be to do with the fact prestashop is a newer version, than what it was intended for. If I comment that method out, it then brings up the same error but for tax. If I again comment it out then I get this error come up basically repeating itself down the page;

 

Warning: Missing argument 2 for ObjectModelCore::existsInDatabase(), called in /var/www/html/toolsdirect.com.au/prestashop/modules/erply/Sync/Abstract.php on line 104 and defined in /var/www/html/toolsdirect.com.au/prestashop/classes/ObjectModel.php on line 1356

 

Notice: Undefined variable: table in /var/www/html/toolsdirect.com.au/prestashop/classes/ObjectModel.php on line 1359

 

Notice: Undefined variable: table in /var/www/html/toolsdirect.com.au/prestashop/classes/ObjectModel.php on line 1360

 

Notice: Undefined variable: table in /var/www/html/toolsdirect.com.au/prestashop/classes/ObjectModel.php on line 1361

 

If I then turn error reporting off, it half works, but it doesn't always load. Or it will synchronise the products, and not bring over the quantities in stock, or the picture image, and it will duplicate the products every time I press the button. It will also bring over the brands as categories, and not the actual categories defined in Erply. So I can't really leave it barely working like this. I've contacted Erply and they reckon there looking into it, but I haven't got forever to wait, this needs to be done by tomorrow. Anyhelp in how to get this to work would be greatly appreciated, as my knowledge is lacking to say the least.

 

Stacey

Link to comment
Share on other sites

  • 5 months later...
×
×
  • Create New...