-
Notifications
You must be signed in to change notification settings - Fork 146
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
PHP Fatal error in prepareAttributesForSave #416
Comments
i am receiving the same error...did you find any solution to this issue? |
Hi @testBanana sorry but it's been too long, I do not remember well.. I think it was connected to a wrong data set, try to check if you are importing using an existing product type or something like that. |
ok....thanks ... i will check this.. |
Hi there, When we delete any product and try to import data that time we gets below error and unable to import data. Fatal error: Call to a member function prepareAttributesForSave() on null in /app/code/community/AvS/FastSimpleImport/Model/Import/Entity/Product.php on line 1434 If we use fresh Magento setup that time it is working fine but if we delete at-least 1 or more products and try to import that time it is not working and found above error. I hope someone have solution of this issue. |
i found the issue and it was just a encoding problem... and so the import didn't work. i've fixed it with iconv, like this... ..... now the import is working just fine... @pixlogix: check if you have malformed characters..., or try to import just some products... |
Hi @testBanana Thank you for your quick reply. Sometime it is working fine and sometime it's not working. We are already using iconv() function. Also we have tried to change $productType with static (http://prntscr.com/ktfgwu) and it is working fine but looks like frontend testing array value empty (http://prntscr.com/ktfim7) even products imports fine. We think, it might be many factors to fix issue. |
Using
AvS_FastSimpleImport_Model_Import->processProductImport([..])
I receiving this error:I think the input data in not correctly validated, it would be better to handle this kind of error instead of let it throwing a Fatal error.
The text was updated successfully, but these errors were encountered: