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;
}
?>