• I can’t login to my site https://www.chdhomes.com/wp-login.php I get this error message below. I tried searching other parts of the WP forum and have not found anything related to this specific issue. I did try to rename the plugins folder (while creating an empty plugins folder)

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/69/5020169/html/chdhomes/wp-includes/class-wp-error.php:1) in /home/content/69/5020169/html/chdhomes/wp-includes/pluggable.php on line 937

    I’ve run into similar issues before but they have always mentioned which plugin is responsible for the error. Now it say class-wp-error.php:1

    I did check my wp-config.php file and that seems to be set up properly. I also checked the header.php file and there was no strange looking code in there.

    I could really use some help!
    Thanks in advance
    -phil

Viewing 11 replies - 1 through 11 (of 11 total)
  • Moderator t-p

    (@t-p)

    Thread Starter PhillieG

    (@phillieg)

    Thank you Tara!!!
    I had to take out a leading space on about 6 different php files but it seems to be OK now.

    Any idea how/why this is caused?

    Moderator t-p

    (@t-p)

    Inadvertently while editing? Hard to tell

    I am glad you got it sorted ??

    Thread Starter PhillieG

    (@phillieg)

    Gremlins!
    Thanks for your help and quick response Tara.
    Have a Happy!

    Thread Starter PhillieG

    (@phillieg)

    Still having trouble! When I try to update a page I get this error message

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/69/5020169/html/chdhomes/wp-includes/class-wp-admin-bar.php:1) in /home/content/69/5020169/html/chdhomes/wp-admin/post.php on line 242

    I didn’t see any extra spaces in either php file.
    Any ideas?

    Try replacing class-wp-admin-bar.php with a new one.

    Thread Starter PhillieG

    (@phillieg)

    That didn’t work ??

    Now I’m getting this message:

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator and inform them of the time the error occurred, and the actions you performed just before this error.
    More information about this error may be available in the server error log.
    Apache Server at https://www.chdhomes.com Port 80

    I was getting a “too many redirects” message earlier but that seems to have gone away. Now it’s just the Internal Server Error message.
    It’s driving me crazy. Does anyone have any other ideas?

    Thread Starter PhillieG

    (@phillieg)

    Would doing a reinstall of WP ruin everything?
    I would make a backup copy but I still can’t get into the site and today I’m getting this error:

    Fatal error: require() [function.require]: Cannot redeclare class wp_admin_bar in /home/content/69/5020169/html/chdhomes/wp-includes/admin-bar.php on line 25

    I have tried replacing the admin-bar.php file but it didn’t help.

    Bueller??? Anyone???

    Hi PhillieG,

    You can go ahead with the reinstallation and remember to backup.

    Thread Starter PhillieG

    (@phillieg)

    This may sound like a freshman question but what’s the safest way to back it up? Should I make a copy of the directory?

    Hi PhillieG,

    Learn how to backup files and backup database before reinstalling.

    Thanks.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘class-wp-error.php error’ is closed to new replies.