Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mbaker

    (@mbaker)

    There is also a problem in html-importer.php on lines 640 and 641.
    The are:

    if ( !is_wp_error( $previous_import ) && !empty( $previous_import ) 
     		&& $previous_import->post_title = $my_post['post_title'] ) {

    They should be:

    if ( !is_wp_error( $previous_import ) && !empty( $previous_import ) 
     		&& $previous_import->post_title == $my_post['post_title'] ) {

    That is on line 641 the operator should be == (equals) instead of = (assignment).

    Thread Starter mbaker

    (@mbaker)

    The problem is in html-importer.php at line 1090.
    It is:
    $this->table = '';
    It should be:
    $this->table = array();
    After making this change my import worked.

Viewing 2 replies - 1 through 2 (of 2 total)