Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8211563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T10:28:04+00:00 2026-06-07T10:28:04+00:00

In my Magento 1.6.2.0 I get an error when exporting the customers: a:5:{i:0;s:156:Cannot send

  • 0

In my Magento 1.6.2.0 I get an error when exporting the customers:

a:5:{i:0;s:156:"Cannot send headers; headers already sent in .../Mage/Eav/Model/Resource/Entity/Attribute/Option/Collection.php, line 1";i:1;s:1385:"
#0 /home/mysite/public_html/lib/Zend/Controller/Response/Abstract.php(148): Zend_Controller_Response_Abstract->canSendHeaders(true)
#1 .../Mage/Core/Controller/Response/Http.php(105): Zend_Controller_Response_Abstract->setRedirect('http://mysite...', 302)
#2 .../Mage/Adminhtml/Controller/Action.php(336): Mage_Core_Controller_Response_Http->setRedirect('http://mysite...')
#3 .../Mage/ImportExport/controllers/Adminhtml/ExportController.php(98): Mage_Adminhtml_Controller_Action->_redirect('*/*/index')
#4 .../Mage/Core/Controller/Varien/Action.php(420): Mage_ImportExport_Adminhtml_ExportController->exportAction()
#5 .../Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('export')
#6 .../Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#7 .../Mage/Core/Model/App.php(349): Mage_Core_Controller_Varien_Front->dispatch()
#8 /home/mysite/public_html/app/Mage.php(640): Mage_Core_Model_App->run(Array)
#9 /home/mysite/public_html/index.php(80): Mage::run('', 'store')
#10 {main}";s:3:"url";s:99:"/index.php/admin/export/export/key/.../entity/customer/file_format/csv";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:5:"admin";}

Same Error after saving a new or edited product. The product is saved but before there is an error:

a:5:{i:0;s:156:"Cannot send headers; headers already sent in .../core/Mage/Eav/Model/Resource/Entity/Attribute/Option/Collection.php, line 1";i:1;s:1420:"
#0 /home/mysite/public_html/lib/Zend/Controller/Response/Abstract.php(148): Zend_Controller_Response_Abstract->canSendHeaders(true)
#1 .../core/Mage/Core/Controller/Response/Http.php(105): Zend_Controller_Response_Abstract->setRedirect('http://mysite...', 302)
#2 .../core/Mage/Adminhtml/Controller/Action.php(336): Mage_Core_Controller_Response_Http->setRedirect('http://mysite...')
#3 .../local/CJM/ColorSelectorPlus/controllers/Override/Admin/Catalog/ProductController.php(92): Mage_Adminhtml_Controller_Action->_redirect('*/*/', Array)
#4 .../core/Mage/Core/Controller/Varien/Action.php(420): CJM_ColorSelectorPlus_Override_Admin_Catalog_ProductController->saveAction()
#5 .../core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('save')
#6 .../core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#7 .../core/Mage/Core/Model/App.php(349): Mage_Core_Controller_Varien_Front->dispatch()
#8 /home/mysite/public_html/app/Mage.php(640): Mage_Core_Model_App->run(Array)
#9 /home/mysite/public_html/index.php(80): Mage::run('', 'store')
#10 {main}";s:3:"url";s:82:"/index.php/admin/catalog_product/save/id/246/key/.../";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:5:"admin";}

Cannot send headers; headers already sent…

…means that there is a header redirect but there was an output before. But where the hell can that be in core/Mage/Eav/Model/Resource/Entity/Attribute/Option/Collection.php ?

Some ideas? Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T10:28:06+00:00Added an answer on June 7, 2026 at 10:28 am

    Found it and it’s stupid. I was confused beacause of

    Cannot send headers; headers already sent in .../Mage/Eav/Model/Resource/Entity/Attribute/Option/Collection.php, line 1

    headers already sent in … Line 1. It was a encoding error of the file. So, if you’re working with notepadd++ don’t forget to use utf-8 with BOM, it saves you a lot of time searching for wired errors.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this problem with Headers already sent with Magento. I get this error:
I get the following error within Magento CE 1.6.1.0 Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot
I am creating a custom Magento module, and I cannot get the setup resource
Magento 1.4.2 Having compilation errors and the page doesn't render. I get errors but
Magento 1.6.1 I am trying to get form data on my observer. I tried
I need to get Current page Identifier and current module in Magento. I used
i am working on a magento project and i need to get the value
How to get latest order No. from onepageController.php in checkout module in Magento? Or
I'm setting up Magento installation (using bitnami magento image 1.7.0) and can't get PayPal
This is very basic magento question i guess. I want to first get all

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.