rhianblock
Forum Replies Created
-
I commented out that line and everything is working now!
Should I be worried about having to comment this line out? What does it do or is it written improperly?
Thanks again guys
Ok. I found this error when I enabled display_errors in my php.ini
<b>Fatal error</b>: Call to undefined function check_header() in <b>D:\HostingSpaces\rhianblock\RhianBlock.com\wwwroot\blog\wp-content\themes\divgrad-10\functions.php</b> on line <b>36</b>
Line 36 is the 3rd line right below and the one that starts with the $output check_header () code in it
function kubrick_head() {
$head = “<style type=’text/css’>\n<!–“;
$output = ”; check_header();
if ( kubrick_header_image() ) {
$url = kubrick_header_image_url() ;
$output .= “#header { background: url(‘$url’) no-repeat bottom center; }\n”;
}
if ( false !== ( $color = kubrick_header_color() ) ) {
$output .= “#headerimg h1 a, #headerimg h1 a:visited, #headerimg .description { color: $color; }\n”;
}
if ( false !== ( $display = kubrick_header_display() ) ) {
$output .= “#headerimg { display: $display }\n”;
}
$foot = “–></style>\n”;
if ( ” != $output )
echo $head . $output . $foot;
}add_action(‘wp_head’, ‘kubrick_head’);
function kubrick_header_image() {
return apply_filters(‘kubrick_header_image’, get_settings(‘kubrick_header_image’));
}Ok. Since I’m not an expert on template I don’t know why that is wrong either.
Must be one of the other template files causing the site to go blank… I am going to contact you directly outside of the forum via email. Thanks!
Sorry about that. Just pasted it. The link is
https://wordpress.pastebin.ca/841232Thanks
Any luck with looking over the code? Let me know if you need me to post any of the code from any of the other template pages. Thanks
Ok. I submitted the code with the problematic line uncommented. I am going to re-comment the line on my website to get it back up and running. Thanks!
https://wordpress.pastebin.com/f36aa8cf9
Hope you see some big boo boo in the code so I can hopefully get the blog fully functional!
I just clicked the wordpress button to Deactivate All Plugins. I then re-loaded the page and still get just the blue gradient of a backround ??
Do you see anything else now? If you have any time I would even be willing to just give you my login info.
Ok. I will just disable every plugin right now on the site. ?? Fingers Crossed
Ok. Thanks Otto. I just uncommented the code so it should be broken. I really like the look of the free theme from the first link so I am kind of bummed about the problem.
I appreciate all the help. Maybe somebody who is better at WordPress code then me could download the theme and see something right away with it. Thanks guys.https://www.rhianblock.com/blog
is the current blogof course I have commented out the <?php wp_head();?> code so that the page loads. If I uncomment all you will see is the blue gradient backround and nothing more.
Thanks!