Closed (fixed)
Project:
Wordpress Import
Version:
6.x-1.0
Component:
User interface
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Feb 2009 at 16:12 UTC
Updated:
23 Dec 2009 at 05:10 UTC
I'm trying to import a Wordpress 2.5.1 blog into Drupal 6, but I'm getting error messages at the mapping step.
* warning: Invalid argument supplied for foreach() in /var/www/html/newauthor/sites/all/modules/wordpress_import/wordpress_import.module on line 838.
* warning: Invalid argument supplied for foreach() in /var/www/html/newauthor/sites/all/modules/wordpress_import/wordpress_import.module on line 182.
In the user mapping fieldset, I don't have any options, even though there are users in my Wordpress blog, and I created users in my Drupal installation.
Any ideas on what I need to do in order to get this module to work?
Comments
Comment #1
yrocq commentedI need the wxr file to investigate this bug. Could you send me a private message with a link from which I could get it ?
Comment #2
jesss commentedSent. Let me know if you need anything else, or if there's anything I can do to help track this down.
Comment #3
lacrosse_20 commentedI have the same problem. I get those warnings, then, if I proceed with the import, I end up with:
Was this ever figured out?
Comment #4
aharown07 commentedI am having almost exactly the same problem as #2. (By "almost exactly" I mean that so far I don't see anything different).
Edit: our wordpress db has not been converted from anything else prior to that as far as I know.
Comment #5
aharown07 commentedComment #6
lacrosse_20 commentedIt may help to know that we tried to follow the procedure outlined here: http://jms.suite505.com/?q=node/9
Comment #7
aharown07 commentedI made another attempt. Not sure what I did differently, but this time the import proceeded normally until some time after keying in email addresses for the newly created accounts.
Then I got the white screen of death.
Error log indicated timeout in pathauto. So I'm not sure I have this particular issue anymore.
Edit: Some things I did differently that may be helpful to some... ran my upgrade from 2.0.6 to 2.5 again (my Wordpress is too old to export). Also emptied some tables. Namely, emptied comments. We use a forum for comments so everything in there was spam anyway. Also emptied links. (I don't know if that is a standard wp table or created by some plugin, but we have a different setup in Drupal so... no need for them).
Comment #8
lavamind commentedThe issues raised in the report are most likely fixed in 6.x-2.x-dev
Feel free to reopen if you still have these problems.