11
Apr
2013

Solution: WordPress Fatal Error when importing XML file

Posted in: WordPress Comments Off

wordpress
These days most premium themes comes with some demo content in XML file which you can import in your WordPress website using wordpress inbuilt tool Import.

But if XML file is too large, you may encounter some error message like:

Maximum execution time of 60 seconds exceeded in wp-includes/class-http.php on line 950

If any particular file is producing such error message, just add below code at top of that page.

<?php
set_time_limit (0);
?>

Once you have successfully imported the XML file, delete those codes.

About the Author

Name: Ravi Shekhar
I love learning and sharing web stuffs.

Share this post

Twitter Facebook Google Buzz Digg StumbleUpon Delicious Technorati
Both comments and pings are currently closed.

Comments are closed.