Forums

Headers Already Sent (Already Checked FAQ) (4 posts)

  1. mme
    Member
    Posted 1 year ago #

    Hi,

    Whenever I attempt to activate (not deactivate) a plugin I get this error:

    Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/public_html/xxxxx/wp-content/themes/xxxx/functions.php:171) in /home/xxxx/public_html/xxxxx/wp-includes/pluggable.php on line 890

    If I manually change the the Theme to the default theme it does not have any problems.

    After checking the 'functions.php' file in my theme I made sure the first character was the <?php ands the last ?> I double checked this using a text editor.

    However the same result. Anything else I could have missed?

    Thanks,

    mme

  2. t-p
    Member
    Posted 1 year ago #

    If I manually change the the Theme to the default theme it does not have any problems.

    This is an indication that perhaps your theme is broken and not compatible with WP3.0.1

    Review this, see if it helps:

  3. mme
    Member
    Posted 1 year ago #

    Thanks for your reply,

    I have turned on WP_DEBUG

    now this error also shows with the one above:

    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in

    Any specific file / function / part that I should look for in the theme files?

    Thanks

  4. t-p
    Member
    Posted 1 year ago #

    Have you tried:

    If you have access to your admin panel, try deactivating all plugins. If you don’t have access to your admin panel, try manually resetting your plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    If your blog showed no signs of improvement after deactivating your plugins, then it’s time to move on to your currently active theme. If you have access to your admin panel, try switching to the Default theme (WordPress 1.5 – 2.9.2) or the Twenty Ten theme (WordPress 3.0 and higher). If you don’t have access to your admin panel, access your server via FTP or SFTP, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the Default theme (WordPress 1.5 – 2.9.2) or the Twenty Ten theme (WordPress 3.0 and higher) to activate and hopefully rule-out a theme-specific issue.

    If your blog showed no signs of improvement after deactivating your plugins and switching your theme, try downloading WordPress again and delete then replace your copies of everything except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    http://weblogtoolscollection.com/archives/2010/10/14/wordpress-general-troubleshooting/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags