• hi,
    i read many post but unable to resolve this, please can anyone help me on this-

    I brought a domain from auction and received the files & everything and have setup the c panel ,however while going to my website wp-admin login getting an error
    “Warning: Cannot modify header information – headers already sent by (output started at /home/admin0902/public_html/wp-includes/shortcodes.php:1) in /home/admin0902/public_html/wp-includes/pluggable.php on line 1228”

    i have checked Shortcode.php file and line one is nothing its just a <?php with no spaces before and after so what is wrong with this?

    Please help me on this.
    Tanmaya

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    You have unexpected whitespace (either a space or an entire line) on line 1 of the /wp-includes/shortcodes.php file. See this guide for more info.

    Alternatively, replacing the file with one from a fresh download may resolve the issue.

    Since you already checked the file, I recommend just replacing it with one from a fresh download: https://wordpress.org/download/

    Thread Starter tanmayaseth

    (@tanmayaseth)

    Hi James,

    Thanks for your comment

    i tried doing that,however still getting same error. Infant first i removed shortcake.php file and upload it as new then checked it was not woking so i removed pluggable.php as well and uploaded it as new but i don’t know why same error is coming.
    “Warning: Cannot modify header information – headers already sent by (output started at /home/admin0902/public_html/wp-includes/shortcodes.php:1) in /home/admin0902/public_html/wp-includes/pluggable.php on line 1228

    Should i try to replace complete folder of WP_include? will this impact my current website

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    The error might just be a symptom of a function conflict then.

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Need help on wp-admin page error’ is closed to new replies.