I need urgent help ASAP please, my site is i trouble

Discussion in 'Databases' started by eduoku, Mar 12, 2010.

  1. #1
    Hi, i just realised 2 days ago that my site which is a blog does not load. i get a fatal error message instead. the message is below.

    Fatal error: Call to undefined function get_post_types() in /home/gamegist/public_html/wp-includes/query.php on line 2051

    i don't know if tis a database error, am not such a good techie. please i need urgent to resolve this, thanks
     
    eduoku, Mar 12, 2010 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #2
    Try replacing the file with an original for your WP version.
     
    RHS-Chris, Mar 12, 2010 IP
  3. alldaylinks

    alldaylinks Active Member

    Messages:
    692
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    85
    #3
    Do you have newest version of WP? Otherwise could be a hack...

    I would do this:

    1) Deactivate all plugins. Improvement?

    2) Change theme. Improvement?

    3) Reinstall WP. Improvement?

    ....
     
    alldaylinks, Mar 12, 2010 IP
  4. eduoku

    eduoku Peon

    Messages:
    530
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks pal,i did just that and the site is back and running
     
    eduoku, Mar 12, 2010 IP
  5. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #5
    Glad it worked :)
     
    RHS-Chris, Mar 12, 2010 IP
  6. alldaylinks

    alldaylinks Active Member

    Messages:
    692
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    85
    #6
    Good work RHS-Chris! :)
     
    alldaylinks, Mar 13, 2010 IP