avstudnitz / AvS_FastSimpleImport

Wrapper for Magento ImportExport functionality, which imports products and customers from arrays
306 stars 146 forks source link

Import only in PHP 5.4 #397

Open arnoldproducts opened 7 years ago

arnoldproducts commented 7 years ago

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

sprankhub commented 7 years ago

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...

arnoldproducts commented 7 years ago

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?

sprankhub commented 7 years ago

Simply download it from the releases tab.

testBanana commented 6 years ago

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?