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

The problem occurred after I had migrated a website.


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. :)



  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.

  2. Bridget says:

    Anyone will notice you acquired a nose job ‘ In case your nose requires
    a key change ‘ like eradicating an important bump ‘ folks all over
    the place may the truth is discover the difference within your nose.
    Rhinoplasty nicknamed because the nose job, can be done using either outside or closed technique.
    It may include small revisions or significant reshaping from the nose.

Speak Your Mind