Fatal error: Call to undefined function get_currentuserinfo()
-
Hi.
I’m trying to duplicate my production website offline so that I can test new content. I worked my way through fixing up the config file and can get it to load fine and I can log in and everything.
This is all great until I try to load any of my custom pages using php, which returns:
Fatal error: Call to undefined function get_currentuserinfo()
I gave up and tried a clean install but I still get the error. I’ve been using this function to obtain the wp_users ID field forever without issue. I Googled and looked at other people’s issues. Haven’t found a solution. I looked up where the function comes from (pluggable.php) and that file appears fine. I used a clean copy. I used the copy from my production site. No luck.
Help please! I have no idea what has gone wrong or what I’m doing wrong.
- The topic ‘Fatal error: Call to undefined function get_currentuserinfo()’ is closed to new replies.