-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot create a user with an empty login name #66
Comments
On my 467 line I have |
It only worked when I changed the <wp:author><wp:author_id>237</wp:author_id><wp:author_login>John Doe</wp:author_login><wp:author_email>[email protected]</wp:author_email><wp:author_display_name><![CDATA[John Doe]]></wp:author_display_name><wp:author_first_name><![CDATA[John]]></wp:author_first_name><wp:author_last_name><![CDATA[Doe]]></wp:author_last_name></wp:author> |
Can you share the full XML file which was causing the error? |
Same here. I had that very same error message: Cannot create a user with an empty login name But my XML contained all valid users with proper usernames, so I was very uncertain on the cause. Spent a whole afternoon researching. Also, on my dev machine the import worked, whereas on the production server did not. Finally, after enabling:
A long series of this notice came up on screen during the import:
The line is:
I put a debug code before it such like this:
I relaunched the import and as expected it quitted with this text:
Googling "php Huge input lookup" gave me this thread: https://wordpress.org/support/topic/fix-for-warning-xml-error-1-internal-error-huge-input-lookup/ Where "britt" guy links this other thread: https://wordpress.org/support/topic/warning-xml-error-1-internal-error-huge-input-lookup-1/ So I applied the suggested fix in
Relaunched the import and it's running now, no more crash with that subtle message. note: the size of the XML file itself is ~14MB |
@ocean90 ^ |
This has been the solution of my problem too. You can find it here. |
Why closed? Has it been fixed in official importer? |
Not fixed yet, I had the same issue, this solution fixed it for me Thanks! |
2024 and just had this issue. #66 (comment) this fixed my issue |
Hello, I was importing 16 files generated with the wp-cli tool and also I was importing it with the same tool.
All files were imported fine except 2 files the 13th and the 16th.
Those are the errors that occured:
I tried to go the
parsers.php
file on the line it mentions but I don't think that the problem resides in this file but in the exporter somehow.I just want to know what kind of information can lead to this error, to se if I can fix it in the WXR (xml) file and also file an issue about it on the exporter.
The text was updated successfully, but these errors were encountered: