Closed (fixed)
Project:
Wordpress Import
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 Feb 2008 at 00:56 UTC
Updated:
18 Feb 2008 at 14:42 UTC
I have used cvs-version and I have got this error:
warning: Invalid argument supplied for foreach() in /var/www/html/.../sites/all/modules/cvs/wordpress_import.module on line 265.
I have uploaded WP-export-file and have choosen a users and pressed Submit.
Than I got this error.
Thanks.
Comments
Comment #1
vladsavitsky commentedAlso some empty categories was created while I did import some times.
Comment #2
vladsavitsky commentedI have used this plagun to export data from WP:
http://technosailor.com/wordpress-to-wordpress-import/
at line 265:
foreach ($wordpress['categories'] as $key => $value) {
I see an item 'categories' of array $wordpress. But in my case there are no items with name 'categories' in $wordpress.
This is a first lines of dump of $wordpress:
-----cut-----
Comment #3
yrocq commentedThis module imports only WXR files. They are generated by the "Export" menu available in recent versions of Wordpress. Could you try thie method and tell me if you have the same problem ? Thanks !
Comment #4
vladsavitsky commentedI have a WP 2.0.7 and there are no "Export" menu. Should I upgade?
Comment #5
vladsavitsky commentedI have upgraded to 2.3.3 and exported to WXR without problems. Thanks.