{"id":5398751,"date":"2014-10-17T16:56:53","date_gmt":"2014-10-17T16:56:53","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/cron-errors-scheduled-posts-not-working\/"},"modified":"2016-08-22T03:33:54","modified_gmt":"2016-08-22T03:33:54","slug":"cron-errors-scheduled-posts-not-working","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/cron-errors-scheduled-posts-not-working\/","title":{"rendered":"Cron errors \/ scheduled posts not working"},"content":{"rendered":"<p>I&#8217;ve suddenly started getting the following error at the top of each page of my site (front- and back-end):<\/p>\n<pre><code>Warning: Cannot unset offset in a non-array variable in \/*****\/wp-includes\/cron.php on line 151\nWarning: Cannot unset offset in a non-array variable in \/*****\/wp-includes\/cron.php on line 153<\/code><\/pre>\n<p>In addition, scheduled posts are no longer posting, which I think may be related to the same issue. I&#8217;ve tried all kinds of fixes for this (editing the timeout time in cron.php, creating a new cron job to replace WP&#8217;s, etc.) and nothing makes any difference. I&#8217;ve tried deactivating all the plugins I&#8217;ve update recently but it doesn&#8217;t help, nor does replacing all the core WP files. I can&#8217;t figure out what could have caused this or how to fix it. <\/p>\n<p>Thank you!<\/p>\n","protected":false},"template":"","class_list":["post-5398751","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5398751","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5398751\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5398751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}