Title: Bad php code has locked site
Last modified: August 21, 2016

---

# Bad php code has locked site

 *  [Ruthie](https://wordpress.org/support/users/erdmanre/)
 * (@erdmanre)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/bad-php-code-has-locked-site/)
 * I tried adding some code to the functions.php file and I believe I did something
   incorrectly. Now whenever I try to access the dashboard the entire webpage is
   blank. This happened once before with another site I was working on. How do I
   go about having the php code removed?

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

 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/bad-php-code-has-locked-site/#post-3757002)
 * Download a copy of your theme to your local computer. Then use FTP (or other 
   file manager) to access the files on your server – you can there replace the 
   functions.php file with a new copy – and that should fix the problem.
 *  Thread Starter [Ruthie](https://wordpress.org/support/users/erdmanre/)
 * (@erdmanre)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/bad-php-code-has-locked-site/#post-3757057)
 * The only problem is that I can’t pull up the dashboard. For example, when I try
   to go to [http://www.richmondchamberplayers.org/wp-admin](http://www.richmondchamberplayers.org/wp-admin).
   My Internet browser just remains blank and the same thing happens if you try 
   to visit the site directly.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/bad-php-code-has-locked-site/#post-3757058)
 * You do not access to your WordPress dashboard to use FTP.

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

The topic ‘Bad php code has locked site’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [12 years, 12 months ago](https://wordpress.org/support/topic/bad-php-code-has-locked-site/#post-3757058)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
