[wpmu-trac] Re: [WordPress MU Trac] #405: Foreach error in the wordpress importer

WordPress MU Trac wpmu-trac at lists.automattic.com
Tue Oct 16 23:21:37 GMT 2007


#405: Foreach error in the wordpress importer
------------------------+---------------------------------------------------
 Reporter:  GIGALinux   |        Owner:  donncha 
     Type:  defect      |       Status:  closed  
 Priority:  high        |    Milestone:  WPMU 1.0
Component:  component1  |      Version:  1.0     
 Severity:  critical    |   Resolution:  fixed   
 Keywords:              |  
------------------------+---------------------------------------------------
Changes (by ktlee):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 When user try to import xml file from wordpress the error will occur if
 the file only has one author, and the php use foreach() try to read it as
 an array.

 After going through the file, there are just too many errors in the file.
 Specifically author mapping was not implemented at all. (I think this is
 the older version)

 To fix this, just replace the current wp importer to the new wp importer
 from WP2.3. It will work.

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/405#comment:3>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list