Title: Fatal Error cannot redeclare getHtml()
Last modified: July 11, 2018

---

# Fatal Error cannot redeclare getHtml()

 *  Resolved [rmsgreig](https://wordpress.org/support/users/rmsgreig/)
 * (@rmsgreig)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-gethtml/)
 * Hello I am having issues with a website, it was working fine until yesterday 
   but now I have the dreaded white screen after turning debug to true I get this
   message:
    Fatal error: Cannot redeclare getHtml() (previously declared in /home/
   sites/strathnairncbf.com/public_html/index.php:10) in /home/sites/strathnairncbf.
   com/public_html/wp-includes/functions.php on line 23
 * When I check the index.php getHtml() is not declared there it is the normal silence
   is golden
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-cannot-redeclare-gethtml%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [7 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-gethtml/#post-10483930)
 * Please show the file /home/sites/strathnairncbf.com/public_html/index.php
 *  Thread Starter [rmsgreig](https://wordpress.org/support/users/rmsgreig/)
 * (@rmsgreig)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-gethtml/#post-10487480)
 * thanks for replying, turned out the website had been hacked.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal Error cannot redeclare getHtml()’ is closed to new replies.

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [rmsgreig](https://wordpress.org/support/users/rmsgreig/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-gethtml/#post-10487480)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
