• 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.