curl – XTRA Tutorials https://xtratheme.com/docs Documentation of XTRA WordPress Theme Tue, 03 Sep 2024 08:06:26 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.2 How to Fix cURL and XML Errors When Importing Demo Data: A Step-by-Step Guide? https://xtratheme.com/docs/how-to/how-to-fix-curl-and-xml-errors-when-importing-demo-data-a-step-by-step-guide/ https://xtratheme.com/docs/how-to/how-to-fix-curl-and-xml-errors-when-importing-demo-data-a-step-by-step-guide/#respond Thu, 29 Aug 2024 14:30:04 +0000 https://xtratheme.com/docs/?p=3825

How to fix error while importing demo?

Step 1
XTRA

When you try to import a demo and faced following error:

 

  • XML file and cURL error 18, transfer closed with outstanding read data remaining, Please contact with your server/hosting support and ask them to fix cURL issue.

First please make sure your server PHP cURL and allow_url_fopen settings both are ON and works good. Then try again to import a demo. If still have the same problem, Try to restart your server PHP and then try again.

 

If still facing the same problem it seems your server blocking WP function wp_remote_get() to get and read files. Or your server do not allow the WordPress function from downloading and extracting demo data ZIP file.

]]>
https://xtratheme.com/docs/how-to/how-to-fix-curl-and-xml-errors-when-importing-demo-data-a-step-by-step-guide/feed/ 0