Magento Unsupported operand types in…

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.

3 thoughts on “Magento Unsupported operand types in…

  1. AlexeyD says:

    Awesome Fix! i ‘ve found it with 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.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s