Support » Installing WordPress » error line 1320. WP won’t install

  • Hi everyone,

    I uploaded WP, changed the config file, went to install and got this error message:

    Fatal error: Call to undefined function is_wp_error() in C:\Sites\Single10\jasonde\webroot\wordpress\wp-includes\functions.php on line 1320

    I read a thread in this forum that discusses the issue, but nothing was resolved. Here’s the thread:

    I’m not an expert nor a noob. I followed the directions exactly. The config file is triple checked. This looks like a problem with the coding.

    HUNCH: I’m on a Windows server. I can switch to linux if necessary.

    Second hunch: I placed the WP folder in my webroot, but the directions weren’t clear on whether I had to unpack the files from the folder. I assume the folder structure needs to stay intact. Before I start experimenting I figured I’d ask the community what you think.

Viewing 15 replies - 1 through 15 (of 17 total)
  • You can install WordPress in a subfolder, such as wordpress, or you elect to install directly into your web-root folder. Either way, the wp-admin, wp-content, wp-includes and the other 22 or so files should all remain at the same directory level.

    Your problem is probably ‘poor uploaded’ files meaning some files are either not uploaded or not uploaded successfully. You should reupload the WordPress files.

    Also see Giving WordPress Its Own Directory.




    its not an issue with uploaded files, Michael

    Oops. Sorry.

    Maybe this is the fix then:

    Please note that changeset is for both 2.2 and the next release–called trunk now.

    (initially reported on Trac ticket 4308)




    ohh finally, that will please a lot of ppl 🙂

    For 2.2, in wp-includes/functions.php, at line 1320,

    change from:

    if ( is_wp_error( $message ) ) {


    if ( function_exists( 'is_wp_error' ) && is_wp_error( $message ) ) {

    I did as you suggested and replaced line 1320, and this is the error I got:

    Fatal error: Call to undefined function did_action() in C:\Sites\Single10\jasonde\webroot\wordpress\wp-includes\functions.php on line 1347

    I solved the problem by asking a pro to install WP. Off to blogging….

    Just as a note, I had no problems installing radowl’s blog. And I just used the files from with no special changes.


    I’ve been trying to install WP and have gotten the same errors:
    – First the 1320 error
    – Then I tried changing the code and received the same 1347 error
    – I’ve deleted and reuploaded WP 2.2 (downloaded on May 31) 3 times all with the same errors as radowl

    Could you please help me?

    I’m also having this issue in a new blog I’m installing on a server that doesn´t have “one-click install”… Exactly the same as Fivemcclungs

    I am getting the same error but it is on Vista. Was there any resolution for this error message?


    There was no resolution per se — when I did the installation for fivemcclungs, the installation worked perfectly (same with radowl). Have you tried from a different computer (lame I know, but that’s about the only thing I can come up with!).

    I have only one laptop and it has Vista on it. Looks like I may have to get VMWare and go the Linux route. Blogging is lot more technical than just merely publishing. It is sort of frustrating though!

    Or get a host from this list: if you want to host your own blog, or visit and get a free blog there (no technical knowlege required).

    You forgot to rename wp-config-sample.php to wp-config.php.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘error line 1320. WP won’t install’ is closed to new replies.