Title: Fatal Error: Cannot redeclare preview_theme()
Last modified: August 30, 2016

---

# Fatal Error: Cannot redeclare preview_theme()

 *  Resolved [EMILIO NOTARIO](https://wordpress.org/support/users/emilio-notario/)
 * (@emilio-notario)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-preview_theme/)
 * Today update wordpress to the last versión in mode automatic. I have Plesk in
   Godaddy.
 * The error is:
 * Fatal error: Cannot redeclare preview_theme() (previously declared in G:\PleskVhosts\***********.
   es\httpdocs\wordpress\wp-includes\theme.php:650) in G:\PleskVhosts\***********.
   es\httpdocs\wordpress\wp-includes\deprecated.php on line 3506
 * Please help me.

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

 *  [theerin](https://wordpress.org/support/users/theerin/)
 * (@theerin)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-preview_theme/#post-6450232)
 * I’m receiving the same error. Dedicated server, ftp updating
 *  Thread Starter [EMILIO NOTARIO](https://wordpress.org/support/users/emilio-notario/)
 * (@emilio-notario)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-preview_theme/#post-6450243)
 * yes, ftp update and all ok.
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [10 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-preview_theme/#post-6450246)
 * Perform a manual update via FTP, and make sure you update ALL the files properly.
 * [https://codex.wordpress.org/Updating_WordPress#Manual_Update](https://codex.wordpress.org/Updating_WordPress#Manual_Update)
 *  [Bill Smith](https://wordpress.org/support/users/bsmith821/)
 * (@bsmith821)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-preview_theme/#post-6450476)
 * Emilio : I am on Gadaddy/Plesk
    Getting this error (500) : PHP Fatal error: Cannot
   redeclare preview_theme() (previously declared in G:\PleskVhosts\wesmith104.com\
   httpdocs\cattlepointfoundation\wp-includes\theme.php:650) in G:\PleskVhosts\wesmith104.
   com\httpdocs\cattlepointfoundation\wp-includes\deprecated.php on line 3507
 * I tried to refresh the WordPress installation – uses Godaddy wordpress installations/
   refresh . But no go. I have disabled to plugins and switch Template – still getting
   same error.
 * I tried to follow YOUR instructions but it is unclear how to reinstall from within
   Godaddy.
 * You write – Replacing with the latest wordpress files helped. it is the automatic
   update setting caused the issue. Now my site is back. Thanks.
 * Detailed guidance appreciated. I spent 60 minutes with godaddy website hosting
   support, but after trying everything they said I should reinstall.

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

The topic ‘Fatal Error: Cannot redeclare preview_theme()’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 4 participants
 * Last reply from: [Bill Smith](https://wordpress.org/support/users/bsmith821/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-preview_theme/#post-6450476)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
