WordPress.org

Ready to get started?Download WordPress

Forums

Call to undefined function wp() (3 posts)

  1. digriz60
    Member
    Posted 8 years ago #

    I am testing a newly unzipped install of WP 2. I'm running IIS and installed the PHP package. I've already modified the wp-config file with my server logons. When I point to localhost/index.php I get the error

    Fatal Error: Call to Undefined Function WP()

    Any ideas? Is it not finding a linked php file?

    TIA,

    Steve

  2. Kafkaesqui

    Posted 8 years ago #

    Do you have a wp-includes/ directory? Are the files classes.php and functions.php located there, and are not corrupted or zero-byte in size?

  3. macrocosim
    Member
    Posted 8 years ago #

    OMG Thanks so much ... I have been digging for hours trying to find the reason I was getting this same error problem. For some reason my cach.php was zero-byte's ... WTF causes that? It turned my "famous 5 min instillation" into three hours of hell! lol .... anyways thanks for the tip ... I hope others are able to find this post as there is no refferenc to this issue in ANY of the wordpress documentation.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags