Title: Undefined index in scripts.php
Last modified: September 2, 2020

---

# Undefined index in scripts.php

 *  Resolved [hazelln](https://wordpress.org/support/users/hazelln/)
 * (@hazelln)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/undefined-index-in-scripts-php/)
 * I am getting the following error :
 * PHP Notice: Undefined index: two_hours in /var/www/vhosts/********/httpdocs/wp-
   content/plugins/wp-rss-aggregator/includes/scripts.php on line 88
 * Can you help?

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

 *  [Naweed Chougle](https://wordpress.org/support/users/hypersonic/)
 * (@hypersonic)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/undefined-index-in-scripts-php/#post-13354045)
 * Could you please let us know which version of our plugin you are using? Are you
   using any of our premium add-ons? If so, could you tell us the versions? You 
   can copy over part of the information at RSS Aggregator > Tools > System Info.
 * However, please note that further discussions related to premium add-ons are 
   not allowed according to the rules of this forum. Hence, you’ll have to get in
   touch with us through our website.
 * Based on this information, we’ll record the issue and plan a fix.
 * Thanks.
 *  Thread Starter [hazelln](https://wordpress.org/support/users/hazelln/)
 * (@hazelln)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/undefined-index-in-scripts-php/#post-13355810)
 * Thanks. I am using WP RSS aggregator Version 4.17.7
 *  [Naweed Chougle](https://wordpress.org/support/users/hypersonic/)
 * (@hypersonic)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/undefined-index-in-scripts-php/#post-13359912)
 * Thanks, could you please also specify where exactly you’re witnessing this PHP
   Notice? We’d like to know the exact admin screens. Also, does the notice coincide
   with any specific actions that you remember taking?
 * Thanks.
 *  Thread Starter [hazelln](https://wordpress.org/support/users/hazelln/)
 * (@hazelln)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/undefined-index-in-scripts-php/#post-13362304)
 * I am seeing this in the WordPress debug log. It seems to occur regularly not 
   related to something I am doing.
 *  [Naweed Chougle](https://wordpress.org/support/users/hypersonic/)
 * (@hypersonic)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/undefined-index-in-scripts-php/#post-13375081)
 * Thanks for sharing further information.
 * The issue is that you have your Update Interval option set to a schedule that
   doesn’t exist.
 * This usually happens when you have other plugins installed that add custom schedules,
   such as “every 2 hours” (as indicated in the notice: `two_hours`). If that plugin
   is later removed, the 2 hour schedule will no longer exist, and you will see 
   this notice.
 * The solution is to go to **RSS Aggregator > Settings > General** and set the **
   Update Interval** to a desired schedule and save the settings.
 * Let us know if this helps.
 *  Thread Starter [hazelln](https://wordpress.org/support/users/hazelln/)
 * (@hazelln)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/undefined-index-in-scripts-php/#post-14135203)
 * Thanks. This hasn’t solved the issue I’m afraid

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

The topic ‘Undefined index in scripts.php’ is closed to new replies.

 * ![](https://ps.w.org/wp-rss-aggregator/assets/icon-256x256.gif?rev=3157090)
 * [RSS Aggregator - RSS Import, News Feeds, Feed to Post, and Autoblogging](https://wordpress.org/plugins/wp-rss-aggregator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-rss-aggregator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-rss-aggregator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-rss-aggregator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-rss-aggregator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-rss-aggregator/reviews/)

## Tags

 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 6 replies
 * 2 participants
 * Last reply from: [hazelln](https://wordpress.org/support/users/hazelln/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/undefined-index-in-scripts-php/#post-14135203)
 * Status: resolved