Title: Notice: Undefined variable: posts_to_fix
Last modified: December 4, 2017

---

# Notice: Undefined variable: posts_to_fix

 *  [Elvis Morales](https://wordpress.org/support/users/elvismdev/)
 * (@elvismdev)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/notice-undefined-variable-posts_to_fix/)
 * I’m getting this PHP notice when I go to the plugin’s page in the backend
 * `Notice: Undefined variable: posts_to_fix in /vagrant/public/wp-content/plugins/
   import-external-images/import-external-images.php on line 469`
 * See it here at this screenshot as well: [https://i.imgur.com/DWzgBdIl.png](https://i.imgur.com/DWzgBdIl.png)

Viewing 1 replies (of 1 total)

 *  [aiyaz Khorajia](https://wordpress.org/support/users/aiyaz/)
 * (@aiyaz)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/notice-undefined-variable-posts_to_fix/#post-9791585)
 * Hello Elvis,
 * Just add bellow code after `$count = 0;`
 * `$posts_to_fix = array();`

Viewing 1 replies (of 1 total)

The topic ‘Notice: Undefined variable: posts_to_fix’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/import-external-images_ffffff.svg)
 * [Import External Images](https://wordpress.org/plugins/import-external-images/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/import-external-images/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/import-external-images/)
 * [Active Topics](https://wordpress.org/support/plugin/import-external-images/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/import-external-images/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/import-external-images/reviews/)

## Tags

 * [PHP Notice](https://wordpress.org/support/topic-tag/php-notice/)
 * [undefined](https://wordpress.org/support/topic-tag/undefined/)
 * [variable](https://wordpress.org/support/topic-tag/variable/)

 * 1 reply
 * 2 participants
 * Last reply from: [aiyaz Khorajia](https://wordpress.org/support/users/aiyaz/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/notice-undefined-variable-posts_to_fix/#post-9791585)
 * Status: not resolved