Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import only in PHP 5.4 #397

Open
arnoldproducts opened this issue Aug 8, 2017 · 4 comments
Open

Import only in PHP 5.4 #397

arnoldproducts opened this issue Aug 8, 2017 · 4 comments

Comments

@arnoldproducts
Copy link

arnoldproducts commented Aug 8, 2017

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
Copy link
Collaborator

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
Copy link
Author

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
Copy link
Collaborator

Simply download it from the releases tab.

@testBanana
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants