Closed (fixed)
Project:
Wordpress Import
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Jul 2008 at 13:05 UTC
Updated:
9 Dec 2009 at 05:01 UTC
Hello,
I've installed a clean drupal 5.8 and trying to import a wordpress 2.1 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: array_merge() [function.array-merge]: Argument #2 is not an array in /var/www/shelly.org.il/drupal/sites/all/modules/wordpress_import/wordpress_import.module on line 312.
With the text "The Wordpress blog has been successfully imported" under it.
It didn't add any content or anything else.
Can you please help?
Thanks
Sol
Comments
Comment #1
solk commentedTook me 2 minutes to find the problem...
I assigned more then one imported user to a local drupal user..which seems to be a big no no.
At least now it'll will come up on google search if anyone else gets this problem.. :)
Thanks
Comment #2
jinky32 commentedHi,
I have exactly the same problem. However there was only ever one user on my WP blog (me) and i'm importing to a fresh drupal install again with only one user so i can't be assigning more than one user to a drupal user.
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?
Comment #3
yrocq commentedsolk : assigning multiple wordpress users to one drupal user shouldn't cause problem. I will investigate this bug.
jinky32 : Did you try to import your blog as stories or as a Drupal blog ?
Comment #4
jinky32 commentedHi yrocq
I've tried both with no joy.
I've opened a new thread http://drupal.org/node/318285 as this one's marked as closed.
Comment #5
jinky32 commentedOk, 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.
Comment #6
ontheriversedge commentedI just ran into this same problem.
Jinky32 listed the problematic code, but it disappeared when it wasn't surrounded by the
<code>tag.Is there a way this post can be edited?
Can anyone else tell me the solution?
Comment #7
lavamind commentedBranch 5.x is no longer supported.