Title: [Plugin: Advanced Recent Posts Widget] Multiple Undefined Index errors
Last modified: August 20, 2016

---

# [Plugin: Advanced Recent Posts Widget] Multiple Undefined Index errors

 *  [sickhippie](https://wordpress.org/support/users/sickhippie/)
 * (@sickhippie)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-advanced-recent-posts-widget-multiple-undefined-index-errors/)
 * This plugin throws 11 separate “Undefined Index” errors when viewing wp-admin/
   widgets.php (regardless of whether the widget is active or inactive). The issue
   seems to be in the function form ($instance) section, where you’re calling variables
   that won’t be set until the widget is moved into a widget area and set up. They’ll
   need set similar to how you have $title, $number, and so on set inside function
   form().
 * This is a great plugin, and I’ll be fixing it up to use on a production site,
   but in development I run with WP_DEBUG set to TRUE and I hate seeing my logs 
   fill up with errors or notices. Additionally, there’s nearly 200 extraneous empty
   lines that don’t denote actual breaks in the code, which makes it a lot more 
   difficult to go through and modify.
 * [http://wordpress.org/extend/plugins/advanced-recent-posts-widget/](http://wordpress.org/extend/plugins/advanced-recent-posts-widget/)

The topic ‘[Plugin: Advanced Recent Posts Widget] Multiple Undefined Index errors’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/advanced-recent-posts-widget.svg)
 * [Advanced Recent Posts Widget](https://wordpress.org/plugins/advanced-recent-posts-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-recent-posts-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-recent-posts-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-recent-posts-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-recent-posts-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-recent-posts-widget/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [sickhippie](https://wordpress.org/support/users/sickhippie/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-advanced-recent-posts-widget-multiple-undefined-index-errors/)
 * Status: not resolved