cancel
Showing results for 
Search instead for 
Did you mean: 

Export product error only for particular product - Magento 1.9

Export product error only for particular product - Magento 1.9

Hi,

 

I am a newbie to Magento, trying to export products from system> import/export.

I want to export the product of a particular brand which does not export and shows me below error:

Screenshot from 2020-06-17 18-09-29.png

While the same works for all other brands. Please help

4 REPLIES 4

Re: Export product error only for particular product - Magento 1.9

Hello @kesariatejdb61 

 

i am not able to view your screenshot

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Export product error only for particular product - Magento 1.9

Hello @kesariatejdb61 

 

please add below code into index.php

 

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

so it will show error msg 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Export product error only for particular product - Magento 1.9

@kesariatejdb61This could be due to PHP timeout/memory error. It works for other brands as those brands may have less number of product as compare to the one gives error. You can find more details in PHP error log for the same time.

 

Hope this can help you find the exact cause of the issue.

- Tarandeep
Problem solved?Please give 'Kudos' and accept 'Answer as Solution'.

Re: Export product error only for particular product - Magento 1.9

On turning error display I am getting below error

 

Warning: file_get_contents(http://ipinfo.io/162.158.165.129): failed to open stream: HTTP request failed! HTTP/1.0 429 Too Many Requests in /home/stageserver5.babysouk.com/public_html/index.php on line 87

Notice: Trying to get property of non-object in /home/stageserver5.babysouk.com/public_html/index.php on line 89

Fatal error: Uncaught Error: Unsupported operand types in /home/stageserver5.babysouk.com/public_html/app/code/core/Mage/ImportExport/Model/Export/Entity/Product.php:948 Stack trace: #0 /home/stageserver5.babysouk.com/public_html/app/code/core/Mage/ImportExport/Model/Export/Entity/Product.php(570): Mage_ImportExport_Model_Export_Entity_Product->_prepareExport() #1 /home/stageserver5.babysouk.com/public_html/app/code/core/Mage/ImportExport/Model/Export.php(193): Mage_ImportExport_Model_Export_Entity_Product->exportFile() #2 /home/stageserver5.babysouk.com/public_html/app/code/core/Mage/ImportExport/controllers/Adminhtml/ExportController.php(84): Mage_ImportExport_Model_Export->exportFile() #3 /home/stageserver5.babysouk.com/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_ImportExport_Adminhtml_ExportController->exportAction() #4 /home/stageserver5.babysouk.com/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('export') #5 in /home/stageserver5.babysouk.com/public_html/app/code/core/Mage/ImportExport/Model/Export/Entity/Product.php on line 948