Title: Fatal error: Cannot redeclare zerif_setup() (previously declared in &#8230; function
Last modified: February 22, 2018

---

# Fatal error: Cannot redeclare zerif_setup() (previously declared in … function

 *  Resolved [freatz](https://wordpress.org/support/users/freatz/)
 * (@freatz)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-zerif_setup-previously-declared-in-function/)
 * Hi!
    I’m using a child theme and I uploaded the file functions.php from the parent
   theme. Now it says: Fatal error: Cannot redeclare zerif_setup() (previously declared
   in /home/sergiocarranza/public_html/aulacanina.com/wp-content/themes/zerif-lite-
   child/functions.php:18) in /home/sergiocarranza/public_html/aulacanina.com/wp-
   content/themes/zerif-lite/functions.php on line 464
 * What can I do?
 * 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-zerif_setup-previously-declared-in-function%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-zerif_setup-previously-declared-in-function/#post-10001481)
 * your `zerif-lite-child` themes seems to be the error.
 * Repair or replace the /wp-content/themes/zerif-lite-child/functions.php file.
 * If you need immediate access to the dashboard, access your server via FTP/ SFTP,
   or a file manager in your hosting account’s control panel (consult your hosting
   provider’s documentation for specifics on these), navigate to /wp-content/themes/
   and switch to the default theme by renaming your current theme’s folder by adding"-
   old" to the end of the folder name. Alternately, you can remove other themes 
   except the default theme (Twenty Seventeen, etc.). That will force your site 
   to use it.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-zerif_setup-previously-declared-in-function/#post-10001491)
 * read [https://codex.wordpress.org/Child_Themes#Using_functions.php](https://codex.wordpress.org/Child_Themes#Using_functions.php)
 * > Do not copy the full content of functions.php of the parent theme into functions.
   > php in the child theme.
 * to get your site working again, try and use FTP [https://codex.wordpress.org/FTP_Clients](https://codex.wordpress.org/FTP_Clients)
   to remove the content of functions.php in the child theme.
 * if you are trying to use functions.php to change something in your child theme,
   please post the question in your parent theme’s forum at [https://wordpress.org/support/theme/zerif-lite](https://wordpress.org/support/theme/zerif-lite)
 *  Thread Starter [freatz](https://wordpress.org/support/users/freatz/)
 * (@freatz)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-zerif_setup-previously-declared-in-function/#post-10001529)
 * Thank you very very much!!!!!!!

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

The topic ‘Fatal error: Cannot redeclare zerif_setup() (previously declared in …
function’ is closed to new replies.

## Tags

 * [cannot redeclare](https://wordpress.org/support/topic-tag/cannot-redeclare/)
 * [child](https://wordpress.org/support/topic-tag/child/)
 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [file](https://wordpress.org/support/topic-tag/file/)
 * [parent](https://wordpress.org/support/topic-tag/parent/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [upload](https://wordpress.org/support/topic-tag/upload/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [freatz](https://wordpress.org/support/users/freatz/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-zerif_setup-previously-declared-in-function/#post-10001529)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
