Title: Error
Last modified: August 20, 2016

---

# Error

 *  Resolved [Li-An](https://wordpress.org/support/users/li-an/)
 * (@li-an)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/error-122/)
 * Fatal error: Call to undefined function wp_get_current_user() in /home/**/wp-
   content/plugins/admin-in-english-with-switch/admin-in-english-with-switch.php
   on line 13
 * [http://wordpress.org/extend/plugins/admin-in-english-with-switch/](http://wordpress.org/extend/plugins/admin-in-english-with-switch/)

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

 *  [Amanda & Steve](https://wordpress.org/support/users/supersonic/)
 * (@supersonic)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/error-122/#post-3416740)
 * Hi Li-an
 * I believe Facebook did something and broke this, and similar plugins.
 * Please take a look at this thread –> [http://wordpress.org/support/topic/plugin-not-working-with-wordpress-351](http://wordpress.org/support/topic/plugin-not-working-with-wordpress-351)
 *  Plugin Author [A.D.](https://wordpress.org/support/users/dontcare/)
 * (@dontcare)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/error-122/#post-3416789)
 * Hi Li-An,
 * did you try including the following line of code in wp-includes/capabilities.
   php on line 2?
 * `require_once('pluggable.php');`
 *  Thread Starter [Li-An](https://wordpress.org/support/users/li-an/)
 * (@li-an)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/error-122/#post-3416806)
 * You mean change the WP core ?
 *  Plugin Author [A.D.](https://wordpress.org/support/users/dontcare/)
 * (@dontcare)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/error-122/#post-3416807)
 * Yes, the core. Although I understand that tweaking the core is not recommended,
   calling the wp_get_current_user() function in the latest builds of WP causes 
   the error message. I am looking for the workaround, however this is the only 
   one I found so far.
 *  Plugin Author [A.D.](https://wordpress.org/support/users/dontcare/)
 * (@dontcare)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/error-122/#post-3416808)
 * Ok, I was able to solve the issue without tweaking the core. Version 1.1 should
   work fine. Any feedback is appreciated.

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

The topic ‘Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/admin-in-english-with-switch.svg)
 * [Admin in English with Switch](https://wordpress.org/plugins/admin-in-english-with-switch/)
 * [Support Threads](https://wordpress.org/support/plugin/admin-in-english-with-switch/)
 * [Active Topics](https://wordpress.org/support/plugin/admin-in-english-with-switch/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/admin-in-english-with-switch/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/admin-in-english-with-switch/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [A.D.](https://wordpress.org/support/users/dontcare/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/error-122/#post-3416808)
 * Status: resolved