WordPress.org

Ready to get started?Download WordPress

Forums

Fatal error: Call to undefined function wp_unslash() (9 posts)

  1. ereid7114
    Member
    Posted 1 year ago #

    Hi

    I try to update my WordPress from 3.5.2 to 3.6 last weekend but it fail the updated. I have been getting the following error since then I do not know what to do to fix this issue can you?
    Fatal error: Call to undefined function wp_unslash() in /home/content/22/9442522/html/wp-admin/admin.php on line 85
    dvdvideosoft_test_button

  2. Tara
    Member
    Posted 1 year ago #

    Have you attempted ALL the troubleshooting steps recommended here: http://wordpress.org/support/topic/troubleshooting-wordpress-36-master-list?replies=5

  3. Frenkie
    Member
    Posted 12 months ago #

    Got the exact same problem, checked out the link tara posted but still couldn't find a solution. Anyone out there with some help?

  4. Puneet
    Member
    Posted 12 months ago #

    Have you tried to Upadate your WordPress Version? if not please update to latest version.

  5. Frenkie
    Member
    Posted 12 months ago #

    The problem occured after an update to 3.6 (after the most recent version). Most of the pages i try to reach in my backend give this message. I think there went something wrong with the update process.

    I updated a lot of wp installs but this is the only one giving problems...

  6. Puneet
    Member
    Posted 12 months ago #

    Yes, I already faced the same problem just a few hrs ago, alternatively you can revert back to WordPress 2.5.2, just overwrite all the files in your server.

  7. Frenkie
    Member
    Posted 11 months ago #

    I fixed the problem by updating manually all the files and maps from a clean wp 3.6 download, overwriting the existing ones (except for wp-content!).

    Hope this will help others.

  8. Rameez SOOMRO
    Member
    Posted 11 months ago #

    copy that function from http://core.trac.wordpress.org/browser/tags/3.6.1/wp-includes/formatting.php#L0 and paste on /wp-incluces/formatting.php

  9. hillaryhandwerger
    Member
    Posted 2 weeks ago #

    I am having a number of related problems.

    I disabled my plugins so I could figure out what is happening to my site-- arbordogdaycare.com.

    With most of the plugin enabled, I get this message
    Fatal error: Call to undefined function wp_register_plugin_realpath() in /home/content/a/r/b/arbordogcare/html/wp-settings.php on line 213

    However- when they get disabled, I can see the site
    BUT, when I then try to get into admin I get

    Fatal error: Call to undefined function wp_unslash() in /home/content/a/r/b/arbordogcare/html/wp-admin/admin.php on line 46

    The line(s) in question are
    43> do_action( 'after_db_upgrade' );
    44> } elseif ( get_option('db_version') != $wp_db_version && empty($_POST) ) {
    45> if ( !is_multisite() ) {
    46> wp_redirect( admin_url( 'upgrade.php?_wp_http_referer=' . urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ) ) );
    exit;

    I'm afraid to touch much else.
    It looks like I have version 3.9.1
    The theme for the site, which also seems to be causing some problems is twenty-eleven.

    There are other errors I am getting, the code/theme not recognizing the two "sidebars", but I'd really like to get the admin and plugins fixed first and then get back to tackling the rest. HELP!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.