Title: Problem: Cannot modify header information
Last modified: August 20, 2016

---

# Problem: Cannot modify header information

 *  [mohzz](https://wordpress.org/support/users/mohzz/)
 * (@mohzz)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/problem-cannot-modify-header-information-1/)
 * Hello, i have this problem in my new theme
    when i login in wp dashboard i get
   this message
 * ———————————————–
    **Warning**: Invalid argument supplied for foreach() in **/
   home/sitemysql/public_html/wordpress/wp-content/themes/listings/includes/theme-
   functions.php** on line **2373**
 * **Warning**: Cannot modify header information – headers already sent by (output
   started at **/home/sitemysql/public_html/wordpress/wp-config.php:1) in /home/
   sala7/public_html/wordpress/wp-includes/functions.php** on line **861**
 * **Warning**: Cannot modify header information – headers already sent by (output
   started at **/home/sitemysql/public_html/wordpress/wp-config.php:1) in /home/
   sitemysql/public_html/wordpress/wp-includes/functions.php** on line **862**
 * **Warning**: Invalid argument supplied for foreach() in **/home/sitemysql/public_html/
   wordpress/wp-content/themes/listings/includes/theme-options.php** on line **103**
   ———————————————–
 * and in the blog homepage i get this message
 * ———————————————–
    **Warning**: Invalid argument supplied for foreach() in **/
   home/sitemysql/public_html/wordpress/wp-content/themes/listings/includes/theme-
   functions.php** on line **2373** ———————————————–
 * i try all ways to fix it and i can’t, please help
    thanks and sorry for my english

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [14 years, 1 month ago](https://wordpress.org/support/topic/problem-cannot-modify-header-information-1/#post-2688323)
 * > Warning: Cannot modify header information – headers already sent by
 * Please give this a read.
 * [http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F](http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F)
 * Most likely it is a blank space or line in your `wp-config.php` file.
 *  Thread Starter [mohzz](https://wordpress.org/support/users/mohzz/)
 * (@mohzz)
 * [14 years ago](https://wordpress.org/support/topic/problem-cannot-modify-header-information-1/#post-2688474)
 * could i attach the config file to you to see it?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problem: Cannot modify header information’ is closed to new replies.

## Tags

 * [Cannot modify header information](https://wordpress.org/support/topic-tag/cannot-modify-header-information/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [mohzz](https://wordpress.org/support/users/mohzz/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/problem-cannot-modify-header-information-1/#post-2688474)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
