WordPress.org

Ready to get started?Download WordPress

Forums

Business lite
[resolved] Cannot modify header information ERROR (6 posts)

  1. eastbayjosh
    Member
    Posted 1 year ago #

    Regarding a site I built and recently updated (http://www.curtbulloch.com/) I now am having trouble with. Sometimes I can not access the site at all without putting in the "www" and I also can't login to the admin side.

    I get the following error:

    Warning: Cannot modify header information - headers already sent by (output started at /home/curtbull/public_html/wp-content/themes/business-lite/core/actions/footer-actions.php:1) in /home/curtbull/public_html/wp-includes/pluggable.php on line 876

    Anybody know why? All I did was update the theme and I did remove the following footer code from the footer-actions.php file:
    <a href="http://cyberchimps.com/" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/achimps.png" alt="credit" /></a>

    Appreciate any help

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    You may have inadvertently added space to the top of that file:

    http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F

    If you can't login, you'll need to use FTP to access the site and deactivate that theme - it should then default to the default WP theme and allow you to login again. Then fix the file in question.

    http://codex.wordpress.org/Login_Trouble#Deactivate_Theme

    Are you using a child theme for these changes to theme files? It's never recommended to modify theme files directly...

    http://codex.wordpress.org/Child_Themes

  3. eastbayjosh
    Member
    Posted 1 year ago #

    Thanks for your help WPyogi. I actually replaced the footer-action.php file with a fresh copy and that did the trick. Somehow when I tried to remove the CyberChimps link from the footer it caused the problem.

    Do you have any idea how I can safely remove that without causing such a ruckus?

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    I'd suggest checking around and/or asking on the developers website:

    http://cyberchimps.com/businesslite/

  5. eastbayjosh
    Member
    Posted 1 year ago #

    Yes, I did find the solution here in case anybody else needs it too.
    http://cyberchimps.com/forum-topic/remove-cyberchimps-logo-in-footer/

  6. faultrocks
    Member
    Posted 1 year ago #

    In the following directory
    /wp-content/themes/business-lite/core/actions

    change the link at the very bottom of the footer-actions.php file

    in the section starting with
    function business_secondary_footer_credit() {
    ?>
    <div id="credit" class="six columns">

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic