April 19, 2022 at 11:59 am #50655RDAGuest
I made a backup before I made changes to my site (updating wordpress, theme, plugins, etc)… But there has been a critical error on the site and I do have any access. How do I roll back my site if I can’t get to my plugin?
RApril 19, 2022 at 12:31 pm #50660
Thanks for reaching out and thanks for using Total Upkeep backups and migrations plugin for WordPress!
In order to determine the best way to restore your backup we need to inspect the critical error message that it’s producing. We may be able to help you correct the error and regain access to your dashboard.
If you have a full backup (database + files) you can also create a fresh install of WordPress at your domain and then use the Total Upkeep backup to restore your content and database.
Could you please attach your URL here in the forum so that we can inspect your error message and give you our best suggestions on how to proceed?April 19, 2022 at 3:26 pm #50667RDAGuest
thank u.April 19, 2022 at 3:26 pm #50681
You’re most certainly welcome! Please let us know if there is anything else that we can answer for you.April 19, 2022 at 3:29 pm #50682RDAGuest
I’m sorry, I do not understand. I submitted my website link for more information on the critical error to see what solutions I might have.
RApril 19, 2022 at 3:39 pm #50684
My apologies I did not realize the URL was now attached, thank you for that! Okay what you need to do here to is enable the WP Debug Log to figure out which plugin is preventing you from accessing your “wp-admin“.
Total Upkeep also has a CLI option that can be used to restore a backup from the command line.
I hope this helps. Please reach back out if there’s anything else that we can answer for you.April 20, 2022 at 7:40 am #50691RDAGuest
thank u. how do i enable the WP Debug Log? and do I need to do this with the command line?April 20, 2022 at 7:58 am #50753
In order to enable debugging you need to log into the server provided by your web hosting provider and edit the wp-config.php file using File Manager, SSH, or your FTP client. Near the bottom of the file you’ll see this line of code:
To enable debugging you need to replace that line of code with these three lines and save:
define( 'WP_DEBUG', true ); define( 'WP_DEBUG_DISPLAY', false ); define( 'WP_DEBUG_LOG', true );
When an error is thrown in WordPress, it will write to a file titled debug.log. This file is located in your /wp-content/ directory and it should reveal the plugin that’s causing your error message.
The WordPress CLI is the command-line interface for WordPress. It allows you to update plugins, configure multi-site installations and much more, without using a web browser. The CLI makes it possible to deactivate a plugin, or restore a backup without having to login to the back-end of your site which is very helpful when you have an issue preventing you from doing so.
It’s quite possible that deactivating the faulty plugin revealed by WP_DEBUG will allow you to regain access to your WordPress site. If this is the case, you can perform your backup from the WordPress Dashboard like normal and there’s no need to use the CLI. It’s simply an alternative that may come in handy when other means of access are compromised.
I hope I’ve answered everything for you R. Please let us know if you have any other questions.
- The topic ‘How do I restore a backup from Total Upkeep when I can’t access WordPress dashboard?’ is closed to new replies.