Title: Installed today, error variable not found
Last modified: August 30, 2016

---

# Installed today, error variable not found

 *  Resolved [emorras](https://wordpress.org/support/users/emorras/)
 * (@emorras)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/installed-today-error-variable-not-found/)
 * Hello, I get this error on my frontpage after install and configure the widget:
 * Notice: Undefined variable: default in /var/…./home/html/wp-content/plugins/sp-
   news-and-widget/sp-news-and-widget.php on line 596
 * Create a news with Add News Item… Out in it the 3 news I want to post
 * I use the shortcode, the news are shown but with the error pasted above.
 * Any hint?
 * Thanks
 * [https://wordpress.org/plugins/sp-news-and-widget/](https://wordpress.org/plugins/sp-news-and-widget/)

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

 *  [anoopranawat](https://wordpress.org/support/users/anoopranawat/)
 * (@anoopranawat)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/installed-today-error-variable-not-found/#post-6582351)
 * Please send me your theme name and let me test it
 * Thanks
 *  Thread Starter [emorras](https://wordpress.org/support/users/emorras/)
 * (@emorras)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/installed-today-error-variable-not-found/#post-6582354)
 * I have disabled it, but want to use it.
 * WP Simple, from Nimbus
 *  Thread Starter [emorras](https://wordpress.org/support/users/emorras/)
 * (@emorras)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/installed-today-error-variable-not-found/#post-6582401)
 * Reinstalling it I get that and these errors when add the widget:
 *  Notice: Undefined index: date in /var/www/vhost/homepage.com/home/html/wp-content/
   plugins/sp-news-and-widget/sp-news-and-widget.php on line 224
    /> Display Date
 * Notice: Undefined index: show_category in /var/www/vhost/homepage.com/home/html/
   wp-content/plugins/sp-news-and-widget/sp-news-and-widget.php on line 228
    /> 
   Display Category
 * Category:
    Notice: Undefined index: category in /var/www/vhost/homepage.com/home/
   html/wp-content/plugins/sp-news-and-widget/sp-news-and-widget.php on line 234
 *  [anoopranawat](https://wordpress.org/support/users/anoopranawat/)
 * (@anoopranawat)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/installed-today-error-variable-not-found/#post-6582443)
 * Please give me 1 day time I am working on it and testing with your theme.
 *  [anoopranawat](https://wordpress.org/support/users/anoopranawat/)
 * (@anoopranawat)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/installed-today-error-variable-not-found/#post-6582465)
 * Hello,
 * Please download the latest v 3.2.1
 * Thanks

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

The topic ‘Installed today, error variable not found’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/sp-news-and-widget_91aebb.svg)
 * [WP News and Scrolling Widgets](https://wordpress.org/plugins/sp-news-and-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sp-news-and-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sp-news-and-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/sp-news-and-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sp-news-and-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sp-news-and-widget/reviews/)

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [anoopranawat](https://wordpress.org/support/users/anoopranawat/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/installed-today-error-variable-not-found/#post-6582465)
 * Status: resolved