Resolving to correct page header errors

This topic contains 2 replies, has 2 voices, and was last updated by  Steve 8 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #224955

    Steve
    Full Member
    Post count: 1019

    Today I started to get error messages when trying to login. At first it stated that I did not have permissions.
    I contacted BlueHost and they suggested I delete the .htaccess file and create a new one. I did. I was able to regain access to the admin dashboard.

    Also, I have been deleting plugins one at at time searching for the conflict. When I click on delete plugin it takes me to the “are you sure?” page. I click on “yes” and I get a white screen. I can get back to the plugins page by clicking on the back arrow.

    I am getting a similar white screen when I try to post an event. When I click on publish I get the white screen and the event will not post.

    [10-Jul-2016 04:44:27 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/****user name omitted****/public_html/wp-content/themes/GDF_child/functions.php:29) in /home/today002/public_html/wp-includes/pluggable.php on line 1167

    I did poke around the functions by mistake. I meant to tweak the MH theme functions. Here is what I have for GD currently:

    <?php
    /*#############################################
    HERE YOU CAN ADD YOUR OWN FUNCTIONS OR REPLACE FUNCTONS IN THE PARENT THEME
    #############################################*/

    // Here we defind the textdomain for the child theme, if changing you should also replace it in the function below.
    if (!defined(‘GDF_CHILD’)) define(‘GDF_CHILD’, ‘gdf_child’);

    add_action(‘after_setup_theme’, ‘gdfc_theme_setup’);
    function gdfc_theme_setup(){
    // load_child_theme_textdomain( GDF_CHILD, get_stylesheet_directory() . ‘/languages’ ); // uncomment this if you plan to use translation
    }

    // This allows tables on the custom field “Table”
    add_filter(‘geodir_save_post_key’,”my_allow_html_tags”,10,2);
    function my_allow_html_tags($tags, $pkey){
    // $pkey is “geodir_” followed by the field HTML variable name, eg: “geodir_Table”
    if($pkey==’post_desc’||$pkey==’geodir_team_members’||$pkey==’geodir_teams’||$pkey==’geodir_team_standings’||$pkey==’geodir_about_our_league’||$pkey==’geodir_other_rules’||$pkey==’basic_rules’){ $tags .= ‘<table><tbody><tr><td>’;}
    return $tags;
    }
    ?>

    #225515

    Kor
    Moderator
    Post count: 16516

    Hi lonewolf95665,

    Could you please share WP admin access and FTP access for us to check this further? You can post the details here using the private reply option below.

    Thanks!

    #225646

    Steve
    Full Member
    Post count: 1019

    Please close file. I installed a back up from a time period long ago and it is working fine now. I believe it was a plugin causing the issued.

Viewing 3 posts - 1 through 3 (of 3 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount