• Resolved fcaporal

    (@fcaporal)


    Hello, Just purchased the package, install it on the production site. Set WPReset to take snapshot when changing theme.

    Changed theme from Child to Parent

    Changed theme back from Parent to Child

    Got white screen of death

    Went in the WP restore script found the two snapshots

    Ran the restore and got that error (removed the full path):

    Restoring snapshot qrnoqi
    Fatal error: Uncaught Error: Call to undefined function get_theme_root() in /home/truffl9/public_html/wp-content/wpr_recovery_xhitfxvsdwiiyjxwepskiyiaqkhehkac.php:1805 Stack trace: #0 /home/truffl9/public_html/wp-content/wpr_recovery_xhitfx…php(1738): WPR_Emergency_Recovery->restore_snapshot_files(Array) #1 /home/truffl9/public_html/wp-content/wpr_recovery_xhitfx…c.php(1534): WPR_Emergency_Recovery->do_restore_snapshot(‘qrnoqi’) #2 /home/truffl9/public_html/wp-content/wpr_recovery_xhitfx….php(139): WPR_Emergency_Recovery->restore_snapshot(‘qrnoqi’) #3 /home/truffl9/public_html/wp-content/wpr_recovery_xhitfx….php(2789): WPR_Emergency_Recovery->__construct() #4 {main} thrown in?/home/truffl9/public_html/wp-content/wpr_recovery_xhitfx.php?on line?1805

    I had to restore the site from backup!

    What went wrong?

Viewing 1 replies (of 1 total)
  • Plugin Author Alexandru Tapuleasa

    (@talextech)

    Hi,

    This forum is for the free version only, for PRO support please contact us through the website or the support widget in the plugin.

    But that error is odd as get_theme_root() is a core WordPress function since WordPress 1.5.0 so I don’t know why it would be missing. Maybe some core WordPress files have also been affected by something. Since you are running the Emergency Recovery Script please check/reinstall core files as well.

Viewing 1 replies (of 1 total)
  • The topic ‘Restor Script fails’ is closed to new replies.