Troubleshooting Demo Import Failures: Understanding the Likely Causes and Solutions
If you’ve encountered a failed demo import, the culprit is likely to be low server limits. This article delves into the details of how to rectify this issue. Additionally, if you’re dealing with duplicate menu items or other redundant demo content, refer to our guide on “How To Remove Duplicate Demo Content After Import.”
Common Causes of Demo Import Failures
Demo imports can fail due to several common reasons:
- Low PHP Limits: Your PHP memory, maximum file upload size, and/or PHP time limit may be set too low.
- Web Host Restrictions: Some web hosts use process-watching software that restricts bulk processing on their web servers.
- WP Debug Enabled: Enabling WP Debug can also interfere with the import process. Refer to the WordPress codex for information on how to disable this feature.
Optimal PHP Limits for Successful Imports
When an import fails, a popup notification will alert you about the unsuccessful demo import. The notification will also provide initial troubleshooting suggestions to guide you on where to look for resolving the issue. Ensure that your PHP limits meet or exceed the following values to complete the import successfully. You can verify these values on the System Status page:
- max_execution_time: 180
- memory_limit: 128M
- post_max_size: 32M
- upload_max_filesize: 32M
By addressing these common causes and adhering to the recommended PHP limits, you can resolve demo import failures and ensure a smooth importing process for your WordPress website.