WordPress.org

Ready to get started?Download WordPress

Forums

Basic Google Maps Placemarks
[resolved] Call to undefined function wp_get_current_user() (6 posts)

  1. jjorba
    Member
    Posted 3 years ago #

    this plugin brokes multissite network administration
    when i click to: 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/

  2. Ian Dunn
    Member
    Plugin Author

    Posted 3 years ago #

    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.

  3. Ian Dunn
    Member
    Plugin Author

    Posted 3 years ago #

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

  4. jjorba
    Member
    Posted 3 years ago #

    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

  5. Ian Dunn
    Member
    Plugin Author

    Posted 3 years ago #

    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?

  6. Ian Dunn
    Member
    Plugin Author

    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic