WordPress.org

Support

Support » Installation » Call to undefined function wp()

Call to undefined function wp()

  • 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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?

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Call to undefined function wp()’ is closed to new replies.