Support » Installation » Local install XP, XAMPP functions.php error

Local install XP, XAMPP functions.php error

  • Hi, I’m new to WordPress but generally pretty careful about following instructions. I’m trying to set up WordPress locally using XAMPP, following the instructions on this page:


    I got to the point where I was instructed to enter http://localhost/wordpress/wp-admin/install.php into my browser (tried this first using Firefox, then IE … same result for both). I get the following error message:

    Fatal error: Call to undefined function is_wp_error() in C:\xampp\htdocs\wordpress\wp-includes\functions.php on line 1320

    I deleted everything once and carefully went back through the setup process again. Same result.

    Any help would be greatly appreciated.

Viewing 15 replies - 1 through 15 (of 16 total)
  • whooami



    might want to delete your copy of wp-includes/classes.php and grab a fresh one out of the zip.

    or make sure you have one.


    I just checked. classes.php was there, so I went ahead and grabbed a fresh copy out of the zip file.

    Still get the same error message.

    According to the error message I’d replace the wp-includes\functions.php file.




    wrong moshu, that function is defined in the file I said to replace. its merely being called from inside functions.php

    you can try anything, but i highly doubt that’s going to fix that error.

    Thanks for the responses. I replace functions.php and got the same error message. I also redownloaded the Zip file to make sure I was getting a clean version, then later the .tar.gz file. Each time I extracted and then copied over a new functions.php file I got the same error.




    very odd.

    If you crack open classes.php and scroll down about 1/2 way to line 380 you do see this, right?

    function is_wp_error($thing) {
    	if ( is_object($thing) && is_a($thing, 'WP_Error') )
    		return true;
    	return false;

    and the file is about 22k in size?

    Yep and yep.




    i’m at a loss for what else to suggest.

    Thanks very much whooami and moshu for your suggestions. Any chance there’s anyone else who’d like to take a crack at helping me out?

    Thanks for your consideration!

    I’m getting the same error message, went through the same steps to check it out. Has anyone figured out the problem?

    Xp iis 5.1 download the same problem. Also wordpress2.2

    Win2k3 completely above normal

    I’m doing a new install of wordpress for a friend and am getting the same error. I’ve tried the suggestions here (and in other threads) and have also tried doing a fatastico install on the server to see if it was something on my end.

    I’m mentioning this just in case it’s a bug that needs to be noted.

    One thing to think about here is the recent upgrade. Question: are all of the people getting this error message using a Windows host server?




    yes, these are all windows servers 😛

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Local install XP, XAMPP functions.php error’ is closed to new replies.
Skip to toolbar