• niclewis

    (@niclewis)


    I’m getting this error on the “update” page and on the “all users” page,can’t access either.
    I think it’s been there for some time, but the rest of the site functions fine, I just didn’t notice it until I tried to change one of the users status.

    Fatal error: Call to undefined method wpdb::esc_like() in /home/kcmjo925/public_html/wp-includes/user.php on line 1095

    I compared the user.php file with a fresh version, and they are different. I replaced it, and that caused a different error code in another php file.

    Should I just replace the entire folder (wp-includes)? Or should I replace more? Is it safe to do without loosing anything?

Viewing 1 replies (of 1 total)
  • Moderator Marius L. J.

    (@clorith)

    Hi,

    It sounds like you have an incomplete setup there.

    What I would do is download the latest version from wordpress.org and upload it overwriting any existing files it finds.

    You will not loose any content, your posts, plugins and themes will all be kept as they are.

Viewing 1 replies (of 1 total)

The topic ‘Fatal error in user.php’ is closed to new replies.