Support » Plugin: UpdraftPlus WordPress Backup Plugin » “delete old directories” destroyed my website

  • Resolved azilvl

    (@azilvl)


    I had a backup from 2 days ago and when I tried to restore it, some message popped up that said I have to delete old directories and when I clicked on the damn button the website got destroyed. Now I get this when I try to go to /admin
    Fatal error: Uncaught Error: Call to undefined function get_user_by() in /home/lyncmedia/public_html/wp-includes/meta.php:1308 Stack trace: #0 /home/lyncmedia/public_html/wp-includes/meta.php(162): get_object_subtype('user', 2) #1 /home/lyncmedia/public_html/wp-includes/user.php(825): update_metadata('user', 2, 'kdxgs_capabilit...', Array, '') #2 /home/lyncmedia/public_html/wp-includes/class-wp-user.php(659): update_user_meta(2, 'kdxgs_capabilit...', Array) #3 /home/lyncmedia/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/setup/sitepress-schema.php(438): WP_User->add_cap('wpml_manage_tra...') #4 /home/lyncmedia/public_html/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(97): icl_enable_capabilities() #5 /home/lyncmedia/public_html/wp-content/plugins/sitepress-multilingual-cms/sitepress.php(149): SitePress->__construct() #6 /home/lyncmedia/public_html/wp-settings.php(305): include_once('/home/lyncmedia...') #7 /home/lyncmedia/public_html/wp-config.php(89): require_once('/home/lyncmedia...') in /home/lyncmedia/public_html/wp-includes/meta.php on line 1308
    https://image.ibb.co/iwks0A/fa.png

    the front end is all F ed up too

    • This topic was modified 1 year ago by azilvl.
Viewing 1 replies (of 1 total)
  • Plugin Contributor aporter

    (@aporter)

    Hi,

    What version of WordPress are you running?

    The functions it’s trying to call there are all built in WordPress functions.

    get_user_by() was added in version 2.8.0

    The plugin trying to call these functions appears to be Sitepress-multilingual-cms

    What happens if you disable that plugin do the errors disappear

    Best Wishes,

    Ashley

Viewing 1 replies (of 1 total)
  • The topic ‘“delete old directories” destroyed my website’ is closed to new replies.