WordPress.org

Forums

[resolved] Headers already sent warning problem? (8 posts)

  1. majid786
    Member
    Posted 2 years ago #

    I am receiving this error please tell me how to resolve it pleas

    Warning: Cannot modify header information - headers already sent by (output started at /home/dealpko/public_html/wp-content/themes/ClassiPress/functions.php:2) in /home/dealpko/public_html/wp-includes/option.php on line 563

    Warning: Cannot modify header information - headers already sent by (output started at /home/dealpko/public_html/wp-content/themes/ClassiPress/functions.php:2) in /home/dealpko/public_html/wp-includes/option.php on line 564

    please

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Try reviewing Solving "headers already sent" warnings

    Hint: the problem is within your current theme.

  3. Mohd Rafie
    Member
    Posted 2 years ago #

    If you're making changes on the file, revert it back. Else, you can try re-install the theme.

  4. majid786
    Member
    Posted 2 years ago #

    how to revert

  5. Mohd Rafie
    Member
    Posted 2 years ago #

    Re-upload the theme file again. But first, make sure you have create the backup

  6. majid786
    Member
    Posted 2 years ago #

    i reupload but same problem how to resolve please
    this code shows in admin penal

    and this shows on main page

    Warning: Cannot modify header information - headers already sent by (output started at /home/dealpko/public_html/wp-content/themes/ClassiPress/functions.php:2) in /home/dealpko/public_html/wp-content/themes/ClassiPress/tpl-add-new.php on line 18

  7. Mohd Rafie
    Member
    Posted 2 years ago #

    First things first

    1. What are you doing that cause this error?
    2. Have you try deactivating all plugins and check if the issue persist?
    3. Have you cleared your browser cache?

  8. majid786
    Member
    Posted 2 years ago #

    i have resolve it thanks mohdrafie

    there was no (?>) at end of function.php

    thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.