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.

Advertisements