WordPress.org

Ready to get started?Download WordPress

Forums

Pronamic Google Maps
[resolved] Error : Call to undefined function get_currentuserinfo() (7 posts)

  1. funkolector
    Member
    Posted 3 years ago #

    I had this problem today, Call to undefined function get_currentuserinfo() and when i deactivate you rplugin everything works fine....

    Should have a look over there i guess....

    Hope you'll be able to provide a correction...!
    Thanx for your great work!

  2. Remco Tolsma
    Member
    Plugin Author

    Posted 3 years ago #

    We don't use the get_currentuserinfo() in our plugin.
    http://codex.wordpress.org/Function_Reference/get_currentuserinfo

    What is the complete error message including line number and file?

  3. funkolector
    Member
    Posted 3 years ago #

    Hello, and thanks for your answer.

    Well, then i'm a little lost, cause I only have this error when i activate Pronamic Google Maps Plugin....

    I use get_currentuserinfo() in my theme functions file. And when the plugin is in use, i get this error :

    Fatal error: Call to undefined function get_currentuserinfo() in /var/[...]/functions.php on line 13

    There must be an interaction i don't get yet....

  4. Remco Tolsma
    Member
    Plugin Author

    Posted 3 years ago #

    Maybe you use the function get_currentuserinfo() outside an action or filter hook function?

  5. funkolector
    Member
    Posted 3 years ago #

    You must be right, i'll get into it and come back to you.
    Tanx again

  6. BeatrizMendoza
    Member
    Posted 2 years ago #

    Can somebody share the solution please? I am having the same problem.

  7. Remco Tolsma
    Member
    Plugin Author

    Posted 2 years ago #

    @BeatrizMendoza You should probably not use the get_currentuserinfo() outside an action or filter function.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic