Title: PHP Warning for Undefined Array Key
Last modified: October 2, 2025

---

# PHP Warning for Undefined Array Key

 *  [farnely](https://wordpress.org/support/users/farnely/)
 * (@farnely)
 * [7 months, 3 weeks ago](https://wordpress.org/support/topic/php-warning-for-undefined-array-key/)
 * Am running WP 6.8.3 and WordPress Importer 0.9.3.
 * After I’ve selected the file to be imported, under “Content Options”, the checkbox
   to rewrite URLs is automatically checked. If I leave it that way, no PHP warning
   is generated but if I uncheck it, I get this warning:-
 * PHP Warning: Undefined array key “rewrite_urls” in /home/xxxxx/public_html/wp-
   content/plugins/wordpress-importer/class-wp-import.php on line 78
 * This wasn’t happening with version 0.8.4.

The topic ‘PHP Warning for Undefined Array Key’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-importer/assets/icon.svg?rev=2791650)
 * [WordPress Importer](https://wordpress.org/plugins/wordpress-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-importer/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [farnely](https://wordpress.org/support/users/farnely/)
 * Last activity: [7 months, 3 weeks ago](https://wordpress.org/support/topic/php-warning-for-undefined-array-key/)
 * Status: not resolved