Fatal error: Unsupported operand types in /app/code/core/Mage/ImportExport/Model/Export/Entity/Product.php on line 873
If you are getting above error while exporting products in Magento 1.7.X
The fix is simple.
Open this file /app/code/core/Mage/ImportExport/Model/Export/Entity/Product.php and go to line number 873.
/* Find */ $dataRow += $stockItemRows[$productId]; /*Replace with*/ $dataRow = array_merge($dataRow,$stockItemRows[$productId]);
It should be working now.
Awesome Fix! i ‘ve found it with 1.9.2.4. Works Perfectly! Thanks a lot. Now my import is freezing with over 15 rows by CSV file… Hope i will find the solution about this issue soon.
Open this file /app/code/core/Mage/ImportExport/Model/Export/Entity/Product.php and go to line number 873.
And do WHAT?
Read comments in code 🙂