Get the Best WordPress Backup
& Migration Plugin Today
Get Duplicator Now

Duplicator Documentation

Documentation, Reference Materials, and Tutorials for Duplicator

Resolving Various HTTP Status Codes

Having trouble with various http status codes using Duplicator Pro? This guide provides practical solutions to troubleshoot and resolve the issues effectively.

To begin with, make sure you are using the latest version of Duplicator Pro. Please check the changelog and system requirements.

Understanding HTTP Status Codes

When using Duplicator, you may encounter various HTTP error codes while performing backups, migrations, or installations. These codes indicate whether an HTTP request was successful or failed. They are grouped into five categories:

  1. 1xx – Informational (Request received, processing continues)
  2. 2xx – Success (Request was successfully completed)
  3. 3xx – Redirection (Further action is needed to complete the request)
  4. 4xx – Client Errors (Issues with the request from the user’s end)
  5. 5xx – Server Errors (Issues on the hosting/server side)

If you receive an HTTP error message (especially in AJAX responses), understanding the error code will help diagnose and resolve the issue.

500 Internal Server Errors

The 500 Internal Server Error is a general error message indicating that something went wrong on the server, but the server cannot specify the exact issue. Common causes include:

  • Incorrect file permissions or ownership issues.
  • Misconfigured server settings (e.g., PHP, firewall, proxy rules).
  • Errors in the .htaccess file.
  • Plugin or theme conflicts.
  • Corrupt or missing files.

Solutions

Checking the error logs can provide critical clues about the cause of a 500 error. Here’s where to look:

WordPress Debug Log: Enable debugging to capture WordPress-specific errors. Add the following to your wp-config.php file:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
@ini_set('log_errors', 1);

Note: The log file will be saved at /wp-content/debug.log.

cPanel Error Log: If your hosting provider uses cPanel, look for the “Errors” section to find recent error messages.

Web Server Logs

  • Apache/Nginx Logs: Contact your host or check /var/log/apache2/error.log or /var/log/nginx/error.log.
  • PHP Error Log: Many hosts store this file separately (e.g., /var/log/php_errors.log).

If the error messages seem unclear, try searching Google for the specific error text along with your hosting provider’s name for possible solutions.

500 Error During Backup Creation

Disable Plutgins: Some security and caching plugins may interfere with backup processes. Temporarily deactivate them and try again.

Filter Problematic Files: Exclude specific directories that may contain problematic files.

Use this setting: Duplicator Pro » Backups » File Filters to add filters for large or unnecessary files.

Check PHP Configuration (open_basedir): If your server has open_basedir restrictions enabled, it may block certain PHP processes. Contact your host to disable or adjust it.

500 Error During Installation

Disable Plugins Before Backup: If you see a 500 error during installation, try creating the backup with all caching and security plugins disabled.

Use Directory Filters: Duplicator allows you to exclude cache-related directories to prevent conflicts. Use this setting: Duplicator Pro » Backups » File Filter » Cache to exclude cache folders.

Check Related Articles: If you encounter an issue on Step 3 of the installer, see:

500 Error After Migration (Post-Install Issues)

If your site fails to load after installation, follow these steps:

  • Check Error Logs: Use the logs mentioned above to pinpoint the issue.
  • Reset Permalinks: Go to WordPress Dashboard » Settings » Permalinks and click Save Changes.
  • Fix File Permissions: Ensure correct file permissions.
  • Increase PHP Limits: Some servers have strict limits that cause timeouts. Increase these values in php.ini:
    • memory_limit = 512M
    • max_execution_time = 300
    • post_max_size = 256M
    • upload_max_filesize = 256M

Note: If you can’t edit php.ini, ask your hosting provider to adjust these settings for you.

Contact Your Hosting Provider

If you cannot resolve a 500 error using the steps above, your hosting provider can investigate further since they have access to advanced logs and configurations.

Tips for Dealing with Hosting Support:

  • Ask them to check the error logs for details about the issue.
  • If one support agent can’t help, try speaking with another—skill levels vary between technicians.
  • If your hosting provider is unhelpful, consider switching to a more reliable provider.

Additional Resources

HTTP 500 errors are often caused by server misconfigurations, permission issues, or conflicts with plugins and themes. By systematically checking error logs, disabling problematic plugins, and adjusting server settings, you can often resolve the issue.

Was this article helpful?

Related Articles