Title: Fatal Error &#8211; Call to undefined function setup_userdata()
Last modified: August 20, 2016

---

# Fatal Error – Call to undefined function setup_userdata()

 *  [akmporter](https://wordpress.org/support/users/akmporter/)
 * (@akmporter)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-setup_userdata/)
 * I am trying to install WordPress. Actually I had attempted WordPress a year ago
   and I believe it was successful but did not end up using it. So now I am trying
   again installing from the beginning with the most recent version. I am trying
   to install it in a blog folder (domainname.com/blog). First I deleted ALL files
   that were previously installed. I deleted and recreated my MySQL database as 
   well as the username. I have downloaded WP 3.1.3, unzipped, edited the needed
   files with my database information and uploaded to my blog folder. I try to access
   teh install.php and I get the following error:
 * **Fatal error**: Call to undefined function setup_userdata() in C:…\**pluggable.
   php** on line 35
 * I have downloaded another new copy of 3.1.3 and tried again. Same error. Am I
   doing something wrong in trying to reinstall once I had an older version installed?
   Is there something else that I need to remove in order to install from the beginning?

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-setup_userdata/#post-2146805)
 * > Am I doing something wrong in trying to reinstall once I had an older version
   > installed
 * Which version are you trying to update?
 *  Thread Starter [akmporter](https://wordpress.org/support/users/akmporter/)
 * (@akmporter)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-setup_userdata/#post-2146863)
 * > Which version are you trying to update?
 * I did have version 2.9.2 installed a year ago but never used it. Now I am ready
   to use it and decided to start over with the newest version. I wanted to do a
   clean install again rather than try to update. So I deleted all files and database,
   copied WP 3.1.3, unzipped, edited files, copied to website directory and attempted
   to access wp-admin/install.php to finish the install. Then I receive the above
   error.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-setup_userdata/#post-2146868)
 * have you tried contacting your hosting provider if the if they have any problem
   at their end, if there are any limitations/restrictions …
 *  Thread Starter [akmporter](https://wordpress.org/support/users/akmporter/)
 * (@akmporter)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-setup_userdata/#post-2146870)
 * Yes but they were of no help. 🙁 I’m thinking of switching hosting companies.
   Now may be a good time.
 * Let me ask this…
 * It occurred to me last night that we have two separate domain names. Domain #
   1 is the one I am trying to install 3.1.3 and having errors. Domain #2 we don’t
   really use but I also installed wordpress 2.9.2 a year ago. We have two separate
   databases and usernames set up for these 2 domains – trying to keep them separate.
   Could an issue be caused by still having 2.9.2 on Domain #2 and trying to install
   3.1.3 on Domain#1?

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

The topic ‘Fatal Error – Call to undefined function setup_userdata()’ is closed 
to new replies.

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [pluggable.php](https://wordpress.org/support/topic-tag/pluggable-php/)
 * [undefined function](https://wordpress.org/support/topic-tag/undefined-function/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 4 replies
 * 2 participants
 * Last reply from: [akmporter](https://wordpress.org/support/users/akmporter/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-setup_userdata/#post-2146870)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
