Title: plugin function override problem
Last modified: August 19, 2016

---

# plugin function override problem

 *  [euschenk](https://wordpress.org/support/users/euschenk/)
 * (@euschenk)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/plugin-function-override-problem/)
 * I’ve got a super simple plugin that I can’t get working. It basically does one
   thing. It overrides the wp_get_current_user function (which wordpress docs say
   can be done. Unfortunately I’m getting the following error when I try and activate
   my plugin
 * Fatal error: Cannot redeclare wp_get_current_user() (previously declared in C:\
   wamp\www\eduweb\mypopstudio.com\mypopstudio.com\blog\wp-includes\pluggable.php:
   70) in C:\wamp\www\eduweb\mypopstudio.com\mypopstudio.com\blog\wp-content\plugins\
   mypop_login\mypop_login.php on line 56
 * Anyone have any ideas?
 * thanks.

The topic ‘plugin function override problem’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [euschenk](https://wordpress.org/support/users/euschenk/)
 * Last activity: [17 years, 6 months ago](https://wordpress.org/support/topic/plugin-function-override-problem/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
