error during import of users for large XML file
-
Hi, I’m using Local app to run a WordPress dev site on my local machine to test an import of a large XML file (400MB) that is over the limit for shared hosting file limit size. My goal is to import it locally and then make smaller export files. The import works perfectly when I increase the php.ini settings for max file size and memory. The problem is that when I run the import I get errors for every user that would be created (but isn’t because of the error). The error is:
Warning: Undefined array key 1 in /Users/carolyn/Local Sites/iparticles/app/public/wp-content/plugins/wordpress-importer/parsers/class-wxr-parser-regex.php on line 65
It still runs but it assigns my user account as the author of all the articles. There are about 300 authors that need to get imported and should remain the authors of their respective posts.
I ran smaller imports with the same number of users/authors and for these smaller XML imports it works perfectly, giving me the option to create a new user for each unique user (which is what I want) or assign to an existing user. But for the larger file I get the error and no ability to create the users during import.
The other difference between the large file and the smaller file is that the large file includes image attachments that I am downloading and the smaller file does not.
Is there any way to solve this, do I need to look at another method for import?
Thanks in advance for any pointers.
Best regards,
Carolyn V.
- The topic ‘error during import of users for large XML file’ is closed to new replies.