Title: Get E_ERROR when creating a schedule
Last modified: November 12, 2023

---

# Get E_ERROR when creating a schedule

 *  Resolved [mschnyde](https://wordpress.org/support/users/mschnyde/)
 * (@mschnyde)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/get-e_error-when-creating-a-schedule/)
 * Fehler-Details ============== Ein Fehler vom Typ E_ERROR wurde in der Zeile 20
   der Datei /xy/xyz/www/myhomepage.com/wp-content/plugins/wp-crontrol/src/schedule.
   php verursacht. Fehlermeldung: Uncaught TypeError: Cannot access offset of type
   string on string in /xy/xyz/www/myhomepage.com/wp-content/plugins/wp-crontrol/
   src/schedule.php:20 Stack trace: #0 ~/wp-content/plugins/wp-crontrol/src/bootstrap.
   php(430): Crontrol\Schedule\add(‘every_10_minute…’, 300, ‘Every 10 Minute…’) #
   1 ~/wp-includes/class-wp-hook.php(324): Crontrol\action_handle_posts(”) #2 ~/
   wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #3 ~/
   wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 ~/wp-settings.php(643):
   do_action(‘init’) #5 ~/wp-config.php(108): require_once(‘/xy/xyz/…’) #6 ~/wp-
   load.php(50): require_once(‘/xy/xyz/…’) #7 ~/wp-admin/admin.php(34): require_once(‘/
   xy/xyz/…’) #8 ~/wp-admin/options-general.php(10): require_once(‘/xy/xyz/…’) #
   9 {main} thrown

Viewing 1 replies (of 1 total)

 *  Plugin Author [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * (@johnbillion)
 * WordPress Core Developer
 * [2 years, 6 months ago](https://wordpress.org/support/topic/get-e_error-when-creating-a-schedule/#post-17211889)
 * Thanks for the report. It looks like something might have corrupted the value
   of the `crontrol_schedules` option because this should always be an array.
 * Can you delete the `crontrol_schedules` option from your database and try again?

Viewing 1 replies (of 1 total)

The topic ‘Get E_ERROR when creating a schedule’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/get-e_error-when-creating-a-schedule/#post-17211889)
 * Status: resolved