Title: plugin causing issue in cron.php
Last modified: April 21, 2018

---

# plugin causing issue in cron.php

 *  Resolved [rwpett](https://wordpress.org/support/users/rwpett/)
 * (@rwpett)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/plugin-causing-issue-in-cron-php/)
 * I was getting the following error: Warning: array_merge(): Argument #1 is not
   an array in /homepages/3/d88752171/htdocs/app578897945/wp-includes/cron.php on
   line 439
    Disabling the WP Spell Check Plug in resulted in the error going away.
   Any thoughts on how to fix this?

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

 *  [Tailored Media](https://wordpress.org/support/users/tailoredweb/)
 * (@tailoredweb)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/plugin-causing-issue-in-cron-php/#post-10211802)
 * I’ve been having this problem too.
 * In my case, I was seeing errors with WordPress SEO plugin:
    Catchable fatal error:
   Argument 1 passed to WPSEO_OnPage::add_weekly_schedule() must be of the type 
   array, null given in /wp-content/plugins/wordpress-seo/admin/onpage/class-onpage.
   php on line 105
 * It appears to be a result of `/wp-spell-check/wpspellcheck.php`, `function cron_add_custom()`,
   which runs on the filter `cron_schedules`. Approx line 2308-2350.
 * In some cases, this function has no return value, when the filter expects an 
   array returned. This would happen when `if (sizeof($check_db) == 0)`.
 * Finishing off the function with `return $schedules;` would probably fix the issue.
 *  Plugin Author [WP Spell Check](https://wordpress.org/support/users/wpspellcheck/)
 * (@wpspellcheck)
 * [8 years ago](https://wordpress.org/support/topic/plugin-causing-issue-in-cron-php/#post-10218581)
 * We have tried to fix this issue in our new version and it will be released next
   week. If you see any other PHP errors or Javascript errors, please post them 
   here so we can fix them as well.
    Thank you for your support
 * Your team [@wpspellcheck](https://wordpress.org/support/users/wpspellcheck/)

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

The topic ‘plugin causing issue in cron.php’ is closed to new replies.

 * ![](https://ps.w.org/wp-spell-check/assets/icon-256x256.jpg?rev=3514252)
 * [WP Spell Check](https://wordpress.org/plugins/wp-spell-check/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-spell-check/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-spell-check/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-spell-check/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-spell-check/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-spell-check/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [WP Spell Check](https://wordpress.org/support/users/wpspellcheck/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/plugin-causing-issue-in-cron-php/#post-10218581)
 * Status: resolved