-4

I got this error in my site when I call this url www.website.com/blog/wp-admin :

Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/public_html/blog/wp-content/themes/theme-name/functions.php:2102) in /home/xxx/public_html/blog/wp-includes/pluggable.php on line 876

j0k
  • 22,600
  • 28
  • 79
  • 90
Zaid Sameer
  • 31
  • 2
  • 7

2 Answers2

1

You should NOT output anything before using a header function. Even 1 space is not allowed. Next time you ask a question you should better use the search function.

Reference - What does this error mean in PHP?

Community
  • 1
  • 1
Jordi Kroon
  • 2,607
  • 3
  • 31
  • 55
  • There is no white space befor or after .I am a regular user not expert and my English not so good, Please WHAT To DO, Thanks – Zaid Sameer Feb 13 '13 at 13:48
  • Read the reference then remove all whitespaces, echos and other returns before your header functions. – Jordi Kroon Feb 13 '13 at 13:50
1

Atleast search before asking. There are many pages associated to this problem. And it is on wordpress FAQ page.

Link

Jehanzeb.Malik
  • 3,332
  • 4
  • 25
  • 41