Jump to content

ERPLY synchronisation help needed


Recommended Posts

Hey,

 

I am wanting to integrate ERPLY with Prestashop. I am using ERPLY Synchronizer version 2.1. It appears on the modules, I can install it, but upon synchronising I receive this error:

 

Strict Standards: Declaration of ErplyMapping::add() should be compatible with ObjectModelCore::add($autodate = true, $null_values = false) in /var/www/html/toolsdirect.com.au/prestashop/modules/erply/Sync.php on line 3

 

Strict Standards: Declaration of ErplyMapping::update() should be compatible with ObjectModelCore::update($null_values = false) in /var/www/html/toolsdirect.com.au/prestashop/modules/erply/Sync.php on line 3

 

Fatal error: Call to undefined method Category::hideCategoryPosition() in /var/www/html/toolsdirect.com.au/prestashop/modules/erply/Sync/Categories.php on line 240

[PrestaShop] Fatal error in module Categories:

Call to undefined method Category::hideCategoryPosition()

 

I am working on behalf of a client, so any help would be much appreciated.

 

With thanks,

 

Stacey

Link to comment
Share on other sites

Hi, I'm not familiar with ERPLY, by i'll try to shed some light in your problem.

This "module" you're talking about is it a prestashop module (compatibility ? 1.4 / 1.5 ?) or the ERPLY module ?

 

The first two errors are most probably caused by your php error setting that enable E_STRICT (can be ignored), simply turn this off by setting your error_reporting to E_ALL | ~E_STRICT

 

The last error is fired because a method not found / undefined in your Category class, verify that method hideCategoryPosition() exists in your module, or it may have different name, maybe a typo or non-camel case.

Link to comment
Share on other sites

it is an ERPLY module (version 2.1) that I am attempting to install onto prestashop (version 1.5.4.1).

 

The information on how to install is here: http://erply.com/erply-prestashop-integration-module/

But to be honest this does not give any help on issues that may arise.

 

That says for version 1.5.3.1, so only slightly older. I've tried to comment out the category method, and once that is done the same error comes up about tax, which I also comment out, and then a long page of error code basically repeating this comes up:

 

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

 

I have tried contacting ERPLY but have yet to receive a response, was hoping to get this done by the end of the day as I have other tasks I need to move on to and this was assumingly the easiest of the two. I just don't understand how the module they provided could be coming up with errors, surely it should be working without any problems, especially as it shouldn't be that out-dated.

Link to comment
Share on other sites

Hi, those errors you posted is caused by improper method call for ObjectModelCore::existsInDatabase().

Make sure that /var/www/html/toolsdirect.com.au/prestashop/modules/erply/Sync/Abstract.php on line 104 called the method properly:

 

static existsInDatabase ( $  id_entity,
$  table
)   [static]

 

you need to specify 2 parameters for that, it seems that the module doesn't provide the $table parameter.

 

If the ERLY only supports 1.5.3, I recommend you switch back to 1.5.3, or have another installation of 1.5.3 and test the module there.

 

http://erply.com/erply-prestashop-integration-module/

  Quote

As the module is still in beta, please contact us at integrations@erply.com and we’ll give you the access and setup instructions.

Edited by swsindonesia (see edit history)
Link to comment
Share on other sites

Thank you, someone at ERPLY is just going to look into it for me and see if they are able to help. I originally contacted the email address you just provided, but after getting impatient I contacted the Australian email address, and got a reply within 15 minutes. If it is the case that I am unable to use it with this version, then I'll have to switch back. Thanks again.

Link to comment
Share on other sites

×
×
  • Create New...