Title: [Plugin: Basic Google Maps Placemarks] Call to undefined function wp_get_current_user()
Last modified: August 20, 2016

---

# [Plugin: Basic Google Maps Placemarks] Call to undefined function wp_get_current_user()

 *  Resolved [jjorba](https://wordpress.org/support/users/jjorba/)
 * (@jjorba)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-basic-google-maps-placemarks-call-to-undefined-function-wp_get_current_user/)
 * this plugin brokes multissite network administration
    when i click to: [http://www.xxx.com/wp-admin/network/](http://www.xxx.com/wp-admin/network/)
   the screen show’s Fatal error: Call to undefined function wp_get_current_user()
   in /homez.95/grupoond/www/wp-includes/capabilities.php on line 1028 only whe 
   this plugin was active
 * [http://wordpress.org/extend/plugins/basic-google-maps-placemarks/](http://wordpress.org/extend/plugins/basic-google-maps-placemarks/)

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

 *  Plugin Author [Ian Dunn](https://wordpress.org/support/users/iandunn/)
 * (@iandunn)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-basic-google-maps-placemarks-call-to-undefined-function-wp_get_current_user/#post-2157357)
 * Thanks for letting me know. I haven’t tested it in MultiSite yet, but I’ll look
   into that and see if I can get it fixed for the next release.
 *  Plugin Author [Ian Dunn](https://wordpress.org/support/users/iandunn/)
 * (@iandunn)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-basic-google-maps-placemarks-call-to-undefined-function-wp_get_current_user/#post-2157530)
 * I did some testing on MultiSite and found several mutlisite bugs that I’ll fix
   for the next release, but I couldn’t reproduce the issue you mentioned.
 * I did some searching and found two common reasons for that error:
 * 1) An incomplete upgrade – see [http://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wp_get_current_user-in-homexxxxx](http://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wp_get_current_user-in-homexxxxx).
   Make sure you run the network-wide upgrade script after you upgraded.
 * 2) A plugin tries to access user info too early. I don’t see anywhere that my
   plugin is doing that, so I don’t think that’s the issue.
 * Can you disable the plugin and check to see if you still get the error? If you
   do, then it’s probably an incomplete upgrade. If you do still get the error, 
   then let me know if you’re trying to do a network-wide activation of the plugin
   or just for a single site.
 *  Thread Starter [jjorba](https://wordpress.org/support/users/jjorba/)
 * (@jjorba)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-basic-google-maps-placemarks-call-to-undefined-function-wp_get_current_user/#post-2157620)
 * i found other error when i try activate the plugin in the network in fresh wp
   3.1.4 multisite with subfolders type
 * Fatal error: Class ‘BGMPSettings’ not found in /xxx/xxx/xxx/xxxxxxxx/httpdocs/
   wp-content/plugins/basic-google-maps-placemarks/core.php on line 40
 * this u can see a screenshot
    [Screenshot](http://www.sweethomes.es/embeded/ERROR.jpg)
 *  Plugin Author [Ian Dunn](https://wordpress.org/support/users/iandunn/)
 * (@iandunn)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-basic-google-maps-placemarks-call-to-undefined-function-wp_get_current_user/#post-2157652)
 * Yeah, that’s one of the bugs I noticed last night. I’ve got it fixed on my development
   server. Version 1.1.3 won’t work in Multisite at all, but 1.1.4 will when it 
   comes out.
 * Did you get the “Fatal error: Call to undefined function wp_get_current_user()”
   in your fresh 3.1.4 install?
 *  Plugin Author [Ian Dunn](https://wordpress.org/support/users/iandunn/)
 * (@iandunn)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-basic-google-maps-placemarks-call-to-undefined-function-wp_get_current_user/#post-2157691)
 * Hey jjorba, I just release version 1.2, which should fix those issues. Let me
   know if you’re still seeing any problems after upgrading.

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

The topic ‘[Plugin: Basic Google Maps Placemarks] Call to undefined function wp_get_current_user()’
is closed to new replies.

 * ![](https://ps.w.org/basic-google-maps-placemarks/assets/icon-128x128.png?rev
   =1152531)
 * [Basic Google Maps Placemarks](https://wordpress.org/plugins/basic-google-maps-placemarks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/basic-google-maps-placemarks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/basic-google-maps-placemarks/)
 * [Active Topics](https://wordpress.org/support/plugin/basic-google-maps-placemarks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/basic-google-maps-placemarks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/basic-google-maps-placemarks/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Ian Dunn](https://wordpress.org/support/users/iandunn/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-basic-google-maps-placemarks-call-to-undefined-function-wp_get_current_user/#post-2157691)
 * Status: resolved