AvS_FastSimpleImport icon indicating copy to clipboard operation
AvS_FastSimpleImport copied to clipboard

Import only in PHP 5.4

Open arnoldproducts opened this issue 7 years ago • 4 comments

Hello, we used this tool now since 5 years and it works fine. Now we have a problem that we have at our magento 1.9.3 Version the search Extension "Elasticsearch" which run with PHP 5.5 but Fast simple Import run in our installation only with PHP 5.4. This is not so good for us to make daily updates from our article data.

Do you know this problem or do you have a solution/ idea for that?

Following Error message: Fatal error: call to a member funktion prepareAttributesForSave () on a non-object in public_html/app/code/community/AVS/FastSimpleImport/Model/Import/Entity/Product.php on line 1285

arnoldproducts avatar Aug 08 '17 12:08 arnoldproducts

Do you use the latest version 0.8.2 of the extension? It is fully compatible with PHP 5.5. What is around line 1285 in your version of the extension? I guess this is not really related to PHP 5.4 vs. PHP 5.5...

sprankhub avatar Aug 08 '17 15:08 sprankhub

Hi, thanks for your info. We used the Version 0.7.0 which are downloadeble at https://github.com/avstudnitz/AvS_FastSimpleImport. Where we can get the new version of the fast Simple Import?

arnoldproducts avatar Aug 09 '17 06:08 arnoldproducts

Simply download it from the releases tab.

sprankhub avatar Aug 09 '17 06:08 sprankhub

we have installed the newest version of FastSimpeImport...

but we still get the Fatal Error: Uncaught Error: call to a member function prepareAttributesForSave() on null ...

in the Product.php file on Line 1436:
$rowData = $this->_productTypeModels[$productType]->prepareAttributesForSave( $rowData, !isset($this->_oldSku[$rowSku]) );

but only if we import a certain number of products...

any idea what is the issue here?

testBanana avatar Sep 05 '18 13:09 testBanana