WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] pluggable.php getting error on line 770 (6 posts)

  1. askrocco
    Member
    Posted 5 years ago #

    I have recently switched servers and transferred my WP databases. All but one has transferred successfully. On my machine I keep getting this error: Warning: Cannot modify header information - headers already sent by (output started at /home6/cardioda/public_html/devchengkalath/wp-config.php:153) in /home6/cardioda/public_html/devchengkalath/wp-includes/pluggable.php on line 770 but on other machines it's just fine.

    The site is: http://devchengkalath.com

    Is this a problem in the code or is the server recognizing something else?

  2. stvwlf
    Member
    Posted 5 years ago #

    The problem is in your wp-config.php file. Remove any white space before or after the opening and closing PHP tags.

  3. askrocco
    Member
    Posted 5 years ago #

    You are awesome! Thank you. It was driving me crazy because I thought I was doing everything right and still an error...but it only happened on some machines not all. Thanks again!

  4. HHeflin
    Member
    Posted 5 years ago #

    I'm having the same problem but I don't know how to "remove any white spaces ..." How do I get that done?

    My error says:

    Warning: Cannot modify header information - headers already sent by (output started at /nfs/c04/h01/mnt/59212/domains/preparetogrow.com/html/wp-config.php:47) in /nfs/c04/h01/mnt/59212/domains/preparetogrow.com/html/wp-login.php on line 12

  5. stvwlf
    Member
    Posted 5 years ago #

    Hi

    "white space" means there is something, anything including spaces and blank lines before or after the closing php tags in that file

    The file should start with <?php and end with ?> Nothing should precede or follow those tags.

  6. gsawiris
    Member
    Posted 5 years ago #

    Thank You askrocco

Topic Closed

This topic has been closed to new replies.

About this Topic