Make WordPress Core

Opened 14 years ago

Closed 13 years ago

#14524 closed defect (bug) (fixed)

Undefined index Notice WordPress importer

Reported by: briancolinger's profile briancolinger Owned by:
Milestone: WordPress.org Priority: normal
Severity: normal Version: 3.0.4
Component: Import Keywords:
Focuses: Cc:

Description

Undefined index: x-final-location ... Line 739.

Attachments (1)

wordpress-importer.patch (732 bytes) - added by briancolinger 14 years ago.

Download all attachments as: .zip

Change History (9)

#1 @briancolinger
14 years ago

  • Cc briancolinger@… added

#2 @ryan
14 years ago

  • Milestone changed from Awaiting Review to WordPress.org site

#3 @briancolinger
14 years ago

  • Keywords has-patch added

#4 @Otto42
13 years ago

  • Milestone WordPress.org site deleted

#5 @Otto42
13 years ago

  • Milestone set to WordPress.org site

#6 @nacin
13 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [15961]) Importer and exporter overhaul, mega props duck.

Exporter overhaul:

  • Add author information to export
  • Greater usage of slug identifiers
  • Don't export auto-drafts, spam comments, or edit lock/last meta keys
  • Inline documentation improvements
  • Remove filtering for now (@todo)
  • Bump WXR version to 1.1, but remain back compat in the importer

Importer overhaul (http://plugins.trac.wordpress.org/changeset/304249):

  • Use an XML parser where available (SimpleXML, XML Parser)
  • Proper import support for navigation menus
  • Many bug fixes, specifically improvements to category and custom taxonomy handling
  • Better author/user mapping

Fixes #5447 #5460 #7400 #7973 #8471 #9237 #10319 #11118 #11144 #11354 #11574 #12685 #13364 #13394 #13453 #13454 #13627 #14306 #14442 #14524 #14750 #15055 #15091 #15108.

See #15197.

#7 follow-up: @jneuenhaus
13 years ago

  • Keywords has-patch removed
  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Version set to 3.0.4

Is this broken again?

At time of test data import, running WordPress 3.0.4 locally; WP Importer Version 0.2 was the only plugin activated. It was a fairly fresh install, but five pages were created prior to import and a number of settings and widgets had also been customized (nothing crazy though).

The error occurred on each attachment. Prior to clicking Submit, the box for Download and import file attachments was checked.

Notice: Undefined index: x-final-location in C:\xampp\htdocs\proj\local_com\wordpress\wp-content\plugins\wordpress-importer\wordpress-importer.php on line 739

Call Stack
#	Time	Memory		Function			Location
1	0.0019	421112		{main}( )			..\admin.php:0
2	0.4796	25090960	call_user_func ( )		..\admin.php:192
3	0.4797	25090960	WP_Import->dispatch( )		..\admin.php:0
4	0.4805	25091120	WP_Import->import( )		..\wordpress-importer.php:892
5	0.4816	25096408	WP_Import->import_file( )	..\wordpress-importer.php:838
6	1.6531	25448584	WP_Import->process_posts( )	..\wordpress-importer.php:851
7	1.6531	25448888	WP_Import->get_entries( )	..\wordpress-importer.php:417
8	2.8688	25936864	call_user_func ( )		..\wordpress-importer.php:158
9	2.8688	25936912	WP_Import->process_post( )	..\wordpress-importer.php:0
10	2.8712	25943264	WP_Import->process_attachment( )..\wordpress-importer.php:516
11	2.8713	25943264	WP_Import->fetch_remote_file( )	..\wordpress-importer.php:651

Please forgive any lack of protocol, not very experienced with posting bugs here.

Last edited 13 years ago by jneuenhaus (previous) (diff)

#8 in reply to: ↑ 7 @nacin
13 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

Replying to jneuenhaus:

Please forgive any lack of protocol, not very experienced with posting bugs here.

Not a problem.

This was fixed in the development version of the importer, which we'll be doing a final release for when 3.1 comes out. You can download this from http://wordpress.org/extend/plugins/wordpress-importer/download/.

Note: See TracTickets for help on using tickets.