Title: Cannot redeclare load_template()
Last modified: August 18, 2016

---

# Cannot redeclare load_template()

 *  [cron](https://wordpress.org/support/users/cron/)
 * (@cron)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/cannot-redeclare-load_template/)
 * After installing [Coppermine Gallery ](http://coppermine-gallery.net/index.php)
   I get this error message :
 * Fatal error: Cannot redeclare load_template() (previously declared in /home/zaeatco/
   public_html/tokyocrew51/gallery/include/functions.inc.php:653) in /home/zaeatco/
   public_html/tokyocrew51/wp-includes/functions.php on line 2085
 * Does anyone have any sugestions? I know that wordpress and coppermine both have
   a function called load_template() and that they are intefering with each other.
   Does anyone know a work around?
 * Any help would be appreciated;
 * Cron

Viewing 1 replies (of 1 total)

 *  Thread Starter [cron](https://wordpress.org/support/users/cron/)
 * (@cron)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/cannot-redeclare-load_template/#post-320740)
 * I have found that there are quite a few functions that the same between wordpress
   and coppermine:
 * load_template()
    make_clickable() get_setings()
 * and more. I have tried putting cmg_ in front of the coppermine ones and wp_ in
   front of the wordpress ones but they are refrenced in a ton of diffrent files
   and I am afraid that this will ruin future proofing.
 * Is there any way I could use a plugin to automaticly put wp_ in front of all 
   the wordpress functions. That way it will automaticly re-refrence all the calls
   to that function and I can dissable it whenever I want.
 * Is this posible?

Viewing 1 replies (of 1 total)

The topic ‘Cannot redeclare load_template()’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [cron](https://wordpress.org/support/users/cron/)
 * Last activity: [20 years, 5 months ago](https://wordpress.org/support/topic/cannot-redeclare-load_template/#post-320740)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
