• pab1953

    (@pab1953)


    Re: http://lyingdognews.net

    I decided I didn’t want comments on my WP site so I cut the “comment” code from its various places in the various supporting files (looking back, I should have just commented the code out, not cut it).

    Now I’ve changed my mind, want comments, and tried to replace the code. And made a mistake (or three) along the way.

    Now I get this sort of error all the time:

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/l/y/i/lyingdognews/html/wp-content/themes/jq/functions.php:2) in /home/content/l/y/i/lyingdognews/html/wp-includes/pluggable.php on line 868

    BTW, this is line 868: header(“Location: $location”, true, $status);

    The error message above is stopping me logging into the site.

    Very dumb of me. Any suggestions for a solution?

    (Note: I have a custom home page and header. Also, you can reproduce the error above when you click on the “LDN” logo in the upper left of the site. The Home button in the navbar works fine, however.)

    Beyond this initial crisis, I still need to figure how to get comments back into the site, if anyone has any ideas.

Viewing 1 replies (of 1 total)
  • Thread Starter pab1953

    (@pab1953)

    Solved the error problem. Now working on the comments issue.

Viewing 1 replies (of 1 total)
  • The topic ‘Help! Code Changes Cause Major Problems with Site’ is closed to new replies.