Text us: 480.389.6596

Fixing WordPress Failed to Import: Invalid Post Type

Reposted from: https://wordpress.org/support/topic/failure-to-import-and-invalid-post-type-errors



Anyone having the issue where author’s are NOT being recognized or the XML import data is failing…

I am not certain if this is something missing on the certain servers or if it’s the plugin itself is buggy as this it works for me on some server and not others using identical environments.

If your import is failing try the following (this method resolved this issue for me):

1) Download and Install 7zip.
2) Right click on your .XML file -> 7zip -> Add to Archive
3) Change the “Archive format” to gzip and hit “OK”
4) Try to import the file again (using the .gz you just created) and it should work.

NOTE: May have to do the below. I didn’t.

I also had to bump up the following settings in my php.ini (these settings might be a bit excessive but my importer step 2 was going to a “page not found” front end error until I did this):

memory_limit = 64M
default_socket_timeout = 600
pfpro.defaulttimeout = 600

%d bloggers like this:
Dolor aliquet augue augue sit magnis, magna aenean aenean et! Et tempor, facilisis cursus turpis tempor odio putonius mudako empero brutto populius giten facilisis cursus turpis balocus tredium todo.
Thank You. We will contact you as soon as possible.
Worry No More!
Complimentary Threat Analysis

Got a Question?
By communicating with me, downloading my installer or scheduling with me in any way shape or form you hold me free of any and all liability, confirm you understand my rates, FAQ, as well as agree to my terms of service and hiring.
We're here to help!
To prove it, just by visiting the site you can get FREE data backups and a COMPLIMENTARY threat checkup.
Our goal is to see you happy!
Text Us:

Email Us:
[email protected]
Click above to schedule an appointment for a free consult and a month free of our worry free plan.
Our goal is to see you happy!
Text Us:

Email Us:
[email protected]