First of all an apology for posting my question in a closed thread (http://drupal.org/node/282052)- I was being a dumbass and didn't notice it was closed!

I've installed a clean drupal 5.10 and trying to import a wordpress 2.2 wxr file.
The upload is ok, I am getting to the page where I'm being asked to map the users, click next and then I get:

warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/.wynette/stuartbrown/onlinecomversations/modules/wordpress_import/wordpress_import.module on line 280.

With the text "The Wordpress blog has been successfully imported" under it.

I think there may be some issue with the user i'm exporting from WP (there is only one) - it shows up as wordpress user ">admin: and asks me to map it to a drupal user. It looks like there's an error somewhere cos I'm sure the "> shouldn't be part of the name!

If i go to content management>content in the admin section, then in the category drop-down menu I can see the tags that I used to use in my WP blogs but none of the posts.
Any ideas how i can fix this?

Comments

jinky32’s picture

Ok, i've fixed the problem. It was this code:

Which came before the closing tag in admin. Must be some WordPress module I had installed.

yrocq’s picture

Assigned: Unassigned » yrocq
Status: Active » Closed (fixed)