Title: Fatal error: Cannot redeclare function
Last modified: November 16, 2016

---

# Fatal error: Cannot redeclare function

 *  [nestorsg](https://wordpress.org/support/users/nestorsg/)
 * (@nestorsg)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-function-2/)
 * Good morning,
 * I’ve changed a function in a php file of a pluggin and it’s work, but i have 
   to do all change in Genesis Extender Custom (GEC).
 * I wrote the changed function on GEC and put the original in the php file of the
   pluggin.
 * When I go to a page that use this function tell me:
 * Fatal error: Cannot redeclare function1() (previously declared in /home2/laieta/
   public_html/***/wp-content/uploads/genesis-extender/plugin/custom-functions.php:
   31) in /home2/laieta/public_html/***/wp-content/plugins/***/includes/views/file.
   php on line 285
 * I supouse I have to remove the original function or rename it but i cant edit
   the original file (I have to change all in GEC). It’s that possible?
 * Thanks in advance.

The topic ‘Fatal error: Cannot redeclare function’ is closed to new replies.

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [nestorsg](https://wordpress.org/support/users/nestorsg/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-function-2/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
