Title: Fatal error: Cannot redeclare sdec()
Last modified: August 30, 2016

---

# Fatal error: Cannot redeclare sdec()

 *  [tomdelavida](https://wordpress.org/support/users/tomdelavida/)
 * (@tomdelavida)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-sdec/)
 * Hi everyone,
 * **All** my WordPress sites on my server are showing this message:
 *     ```
       Fatal error: Cannot redeclare sdec() (previously declared in /home/.../wp-includes/vars.php:110) in /home/.../wp-includes/vars.php on line 177
       ```
   
 * I’ve tried a Google search and can’t even seem to find what sdec() function is.
 * Many thanks for your time.
 * Tom

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

 *  [SJW](https://wordpress.org/support/users/whitsey/)
 * (@whitsey)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-sdec/#post-6319669)
 * Odd error – try this:
 * 1. Update to latest version 4.2.2
    If it’s still a problem (or you already have)
   2. Download WordPress 4.2.2 and open zip file. Extract /wp-includes/vars.php 
   and upload over the old file.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-sdec/#post-6319670)
 * consider the possibility that your site or server might have been hacked –
 * [https://codex.wordpress.org/FAQ_My_site_was_hacked](https://codex.wordpress.org/FAQ_My_site_was_hacked)

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

The topic ‘Fatal error: Cannot redeclare sdec()’ 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
 * 3 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-sdec/#post-6319670)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
