• Resolved Thijs

    (@thijs)


    Hi,

    I’ve wordpress running for about a while, but now I want to change some things and build some things on it. For some of this I need to get things like user name and e-mail etc. .
    Now I tried using get_currentuserinfo();, like http://codex.wordpress.org/get_currentuserinfo says, but this gives me an error: Call to undefined function.

    Does anyone know what the problem is and how i can solve it?

    Thijs

Viewing 3 replies - 1 through 3 (of 3 total)
  • what version?

    If youre using 2.x that function is inside pluggable-fucntions.php which, in my own experience, has caused problems.

    What I did was move everything out of that file and into one of the other core files, like plain ole functions.php

    There might be other ways to get around that error, thats just the way I overcame it.

    Thread Starter Thijs

    (@thijs)

    I’m using 2.0.4. I’ll try if this works for me. I keep you posted

    Thread Starter Thijs

    (@thijs)

    This worked for me. I only used require_once(dirname(__FILE__).’/pluggable-functions.php’); instead of copying everything to functions.php

    Thanks anyway!:)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Userinformation’ is closed to new replies.