Truemag

  • Categories
    • Tips And Tricks
    • Internet
    • PHP
    • Javascript
    • CSharp
    • SQL Server
    • Linux
  • Lastest Videos
  • Our Demos
  • About
  • Contact
  • Home
  • Write With Us
  • Job Request
Home PHP Magento Fatal error: Unsupported operand types

Magento Fatal error: Unsupported operand types

Fatal error when do exporting products in Magento:

Fatal error: Unsupported operand types in D:\_$projects\23. MIREI\23.1 mirei.vn\Magento\app\code\core\Mage\ImportExport\Model\Export\Entity\Product.php on line 875

In order to fix this issue:

  • 1. Open the file Product.php in the folder Magento\app\code\core\Mage\ImportExport\Model\Export\Entity\
  • 2. Find the line
    $dataRow += $stockItemRows[$productId];

    In Magento Community 1.9.1.1, it should be line #875

  • 3. Replace with:
    $dataRow = array_merge($dataRow,$stockItemRows[$productId]);
    

The new code should be:

//$dataRow += $stockItemRows[$productId];
$dataRow = array_merge($dataRow,$stockItemRows[$productId]);
Aug 30, 2015Hoan Huynh
Ionic bower the name contains uppercase lettersEffects of bullying in school essay
You Might Also Like:
  • PHP Magento Get Manufacturer Name And ID From Magento Product ID
  • Fatal error: Using $this when not in object context
  • Fatal error: Uncaught CurlException: 60: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed thrown
  • Application pool ‘abc’ suffered a fatal communication error with the Windows Process Activation Service
  • Top 8 Magento extensions that’ll grow your E-store visitor count
  • Magnanimous Magento – Why it is so popular!
  • sphinx install error access is denied
  • PHP Error Log File Location
  • How To Save PHP Error Log To File In IIS
  • Show Error Message On WordPress Custom Login Template Page
Hoan Huynh

Hoan Huynh is the founder and head of 4rapiddev.com. Reach him at [email protected]

6 years ago PHPMagento768
0
GooglePlus
0
Facebook
0
Twitter
0
Digg
0
Delicious
0
Stumbleupon
0
Linkedin
0
Pinterest
Most Viewed
PHP Download Image Or File From URL
24,550 views
Notepad Plus Plus Compare Plugin
How To Install Compare Text Plugin In Notepad Plus Plus
21,886 views
Microsoft SQL Server 2008 Attach Remove Log
Delete, Shrink, Eliminate Transaction Log .LDF File
17,740 views
JQuery Allow only numeric characters or only alphabet characters in textbox
15,063 views
C# Read Json From URL And Parse/Deserialize Json
11,795 views
4 Rapid Development is a central page that is targeted at newbie and professional programmers, database administrators, system admin, web masters and bloggers.
Recent Posts
  • Things to Learn about Installingderm Loan Type S
  • Online Photo Editor – Free Photoediting Software
  • A Guide to Finding the Best Paper Sellers
  • Photoediting in Home Isn’t Hard to Do!

  • Free Photo Editor Online
Categories
  • CSharp (45)
  • Facebook Graph API (19)
  • Google API (7)
  • Internet (87)
  • iPhone XCode (8)
  • Javascript (35)
  • Linux (27)
  • MySQL (16)
  • PHP (84)
  • Problem Issue Error (29)
  • Resources (32)
  • SQL Server (25)
  • Timeline (5)
  • Tips And Tricks (141)
  • Uncategorized (647)
Recommended
  • Custom Software Development Company
  • Online Useful Tools
  • Premium Themes
  • VPS
2014 © 4 Rapid Development