• Resolved NickNack27

    (@nicknack27)


    Yesterday my website was working fine, but today when I went to open the home page this message popped up. Any thoughts?

    Fatal error: Can’t use function return value in write context in /home4/nick/public_html/wp-content/themes/guardian/header.php on line 25

    Nothing has been changed or altered since, however I did notice yesterday that some boxes around my pictures had gone away, and I hadn’t changed any of the coding there either.

Viewing 1 replies (of 1 total)
  • hi

    Find the given line of code :

    <?php if(! empty(get_header_image())){ ?><img src=”<?php echo get_header_image(); ?>” height=”<?php echo get_custom_header()->height; ?>” width=”<?php echo get_custom_header()->width; ?>” alt=”image” /><?php } ?>

    Replce by below given line code

    <?php if(get_header_image()){ ?><img src=”<?php echo get_header_image(); ?>” height=”<?php echo get_custom_header()->height; ?>” width=”<?php echo get_custom_header()->width; ?>” alt=”image” /><?php } ?>

    Save the changes

Viewing 1 replies (of 1 total)
  • The topic ‘Problems getting into website’ is closed to new replies.