Fatal error: Call to undefined function wp() /wp-blog-header.php on line 14

The problem occurred after I had migrated a website.

Symptoms:

The homepage shows a white page with just this error.  If I visit the WordPress login page, I get another white page with a similar error.

Fix that worked for me:

I checked the wp-config.php file.

I found that it was incomplete!

This is all that was in it:

Fatal error  Call to undefined function error

I copied the original wp-config.php file and edited it to show the new DB name, user and password. Problem solved!

I hope this works for you too. :)

 

Comments

  1. cennik koszenia says:

    Nice post. I was checking continuously this blog and I’m impressed! Very helpful information particularly the last part :) I care for such information much. I was looking for this particular info for a long time. Thank you and good luck.

Speak Your Mind

*