• toludan

    (@toludan)


    I attempted to restore my website from a backup, but the process didn’t complete. Now, I’m seeing the message: “There has been a critical error on this website” when I try to access the dashboard. How can I fix this?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • This error means that WordPress encountered a error, often due to a plugin, theme, or corrupted file especially after an incomplete restoration.

    You can try the following:

    1. Check the Error Email (If You Got One)
    Sometimes, WordPress sends a recovery link to your admin email address. Check that inbox it may allow you to log in using “Recovery Mode.”

    2. Restore From Backup Again (If It Failed Midway)

    Since you already have the backup and if you “can”, do a full reinstallation and restore your backup.

    • If the restore failed halfway, the site may be in a broken state.
    • Re-run the restore process using your backup plugin or manually upload a clean backup via FTP.
    • Please ensure, you:
      • Upload the full wp-content folder (themes, plugins, uploads).
      • Restore the correct database file (usually .sql).

    3. Disable All Plugins Manually
    Sometimes a plugin causes the crash.

    1. Go to wp-content/ folder.
    2. Rename the plugins folder to plugins-disabled.
    3. Try logging into the dashboard.

    If it works, then one of the plugins was causing the issue. Rename the folder back to plugins, then rename each plugin folder inside one by one to isolate the culprit. You can try the same thing with themes as well inside the theme directory.

    Onup Roy

    (@onuproy01)

    Hi @toludan
    Step:

    1. Enable WordPress Debug Mode

    FTP or Your hosting file manager.

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );

    2. Check for Incomplete Files

    Re-upload a fresh copy of WordPress:

    • Download WordPress
    • Unzip and upload only the wp-admin and wp-includes folders.
    • Do not overwrite wp-content.
    • Replace the root files like index.php, wp-load.php.

    3. Disable All Plugins Manually

    Open FTP, Rename the plugins folder to plugins-disabled.

    4. Theme Issues check

    Open wp-content/themes and rename the active theme folder (from megaonelagostheme to megaonelagostheme-old)

      WordPress will revert to a default theme (if available).

      What plugin did you use for any backups?

      Regards,

      Onup Roy!

      Moderator threadi

      (@threadi)

      The reason for the error should be visible in the error log. You can find it in your hosting area. If necessary, the support of your hosting can help you.

      Alternatively, you could also enable debugging in WordPress. How to do this is described here: https://ww.wp.xz.cn/support/article/debugging-in-wordpress/ – also here the support of your hosting can help you if necessary to edit the file accordingly.

      In both cases you should be able to see what the cause is in the logfile.

      Thread Starter toludan

      (@toludan)

      Thank you, everyone, for your help. I did the following, and it worked:

      Re-uploaded a fresh copy of WordPress:

      • Downloaded WordPress
      • Unzipped and uploaded only the wp-admin and wp-includes folders.
      • Did not overwrite wp-content.
      • Replace the root files like index.php, wp-load.php.

      Thank you, everyone, once again

    Viewing 4 replies - 1 through 4 (of 4 total)

    The topic ‘Error Restoring Backup’ is closed to new replies.