• Resolved artdept

    (@artdept)


    I am getting this error on my website marrakeshhaircare.com – on both the live site and the wordpress back end. I went into my FTP and found a document in there labelled “error_log” opened it and it says the following:

    [15-Aug-2016 11:27:30 America/Denver] PHP Fatal error: Call to undefined function wp() in /home/marrakf2/public_html/wp-blog-header.php on line 16

    I opened this file and on line 15 and 16 it says:
    15 // Set up the WordPress query.
    16 wp();

    what should the correct function be there?
    Any help is appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator James Huff

    (@macmanx)

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter artdept

    (@artdept)

    Hi I just tried both of those and I’m still getting the http error 500 page

    Moderator James Huff

    (@macmanx)

    Ok, try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, and delete then replace your copies of everything on the server except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings.

    Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    Thread Starter artdept

    (@artdept)

    That seems to have worked- thanks!

    Moderator James Huff

    (@macmanx)

    You’re welcome!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘HTTP Error 500’ is closed to new replies.