WordPress Import shows an error when uploading previously exported xml file

First time I faced this problem & trying to find out solution but it seems to me that it happens very few and that is why no more solution has been found like this & that is why I am here.

WordPress Import Message:

File is empty. Please upload something more
substantial. This error could also be caused by uploads being disabled
in your php.ini or by post_max_size being defined as smaller than
upload_max_filesize in php.ini.

I am getting above message when trying to import a previously imported file like the bellow image. Could you please tell me how to solve this?

enter image description here

I already tried to find the solution by googling but could not yet?

2 Answers
2

You need to increase the upload limit in your php.ini.

To increase the maximum upload file size, open your php.ini file in the “xampp/php/php.ini” directory. search for upload_max_filesize and increase the value like :

upload_max_filesize = 128M

Leave a Comment