Support » Fixing WordPress » Posting problem with my-hacks.php

  • I received this error when I went to post in the upgraded 1.2 WP blog in draft mode:
    Warning: Cannot modify header information – headers already sent by (output started at /home/public_html/my-hacks.php:81) in /home/public_html/wp-admin/post.php on line 340
    Line 340 is:
    header (‘Location: ‘ . $location); // Send user on their way while we keep working
    I like using the draft mode when I have one post for a day. Any help would be great.
    I also cannot post in the publish mode. I receive this error:
    Warning: Cannot modify header information – headers already sent by (output started at /home/public_html/my-hacks.php:81) in /home/public_html/wp-admin/post.php on line 146
    Line 146 is:
    header(“Location: $location”); // Send user on their way while we keep working
    Obviously there is a problem with that part of the code.
    I like using the my-hacks.php and want to keep using it. Please help…
    It does keep it in the draft mode, there is just an error.
    Thanks,
    Sara
    🙂

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Posting problem with my-hacks.php’ is closed to new replies.