{"id":1029830,"date":"2015-11-23T13:51:26","date_gmt":"2015-11-23T21:51:26","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/strtotime-error-2\/"},"modified":"2016-02-18T08:32:50","modified_gmt":"2016-02-18T16:32:50","slug":"strtotime-error-2","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/strtotime-error-2\/","title":{"rendered":"strtotime() error"},"content":{"rendered":"<p>This error has popped up again. I can&#8217;t re-open the ticket but the details are here:<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"WYHq99NGME\"><p><a href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/strtotime-error\/\">strtotime error<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;strtotime error&#8221; &#8212; \" src=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/strtotime-error\/embed\/#?secret=aM6B4zMNeF#?secret=WYHq99NGME\" data-secret=\"WYHq99NGME\" width=\"580\" height=\"327\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>I recreated both of my recurring events after the last update (as detailed in the aforementioned ticket). The error went away. <\/p>\n<p>The Events Calendar plugin was updated to the latest version on 11\/18. EC Pro was updated today 11\/23. I started getting errors overnight 11\/22 and 11\/23. On 11\/22 and 11\/23, exclusion rules were added, one each day excluding the class of the previous day.<\/p>\n<p>The following error was logged:<\/p>\n<p>[22-Nov-2015 05:30:03 UTC] PHP Warning:  strtotime() expects parameter 1 to be string, array given in \/home\/soloentr\/public_html\/blog\/wp-content\/plugins\/events-calendar-pro\/src\/Tribe\/Recurrence_Meta.php on line 1072<\/p>\n<p>Similar errors (2) were logged last night 11\/23. Presumably, one for each exclusion.<\/p>\n<p>Brian (and I) spent considerable time trying to recreate the error. Brian was unable to do so, and we believed we had narrowed the problem down to only affecting legacy events. So as mentioned, I created two new events. I have no other recurring legacy events.<\/p>\n<p>Please help. This error doesn&#8217;t seem to affect function, but it creates and error and I get an email every day about it. I have to check it every day to make sure I don&#8217;t have another error besides this one, so it&#8217;s become a nuisance. And of course it creates havoc when it creates a new exclusion every day, creating an increasing number of errors every day. The only way to keep that number down is to edit the event and delete every darn exclusion.<\/p>\n<p>To me the error seems clear &#8211; the php function strtotime expects an argument, and there is none on line 1072. Regardless of what in my particular setup triggers that piece of code &#8211; it&#8217;s a flawed line.<\/p>\n<p>Please help!<\/p>\n","protected":false},"template":"","class_list":["post-1029830","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>strtotime() error -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/strtotime-error-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"strtotime() error -\" \/>\n<meta property=\"og:description\" content=\"This error has popped up again. I can&#8217;t re-open the ticket but the details are here: strtotime error I recreated both of my recurring events after the last update (as detailed in the aforementioned ticket). The error went away. The Events Calendar plugin was updated to the latest version on 11\/18. EC Pro was updated [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/strtotime-error-2\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-02-18T16:32:50+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/strtotime-error-2\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/strtotime-error-2\/\",\"name\":\"strtotime() error -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2015-11-23T21:51:26+00:00\",\"dateModified\":\"2016-02-18T16:32:50+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/strtotime-error-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/strtotime-error-2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/strtotime-error-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Events Calendar PRO\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"strtotime() error\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"strtotime() error -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/strtotime-error-2\/","og_locale":"en_US","og_type":"article","og_title":"strtotime() error -","og_description":"This error has popped up again. I can&#8217;t re-open the ticket but the details are here: strtotime error I recreated both of my recurring events after the last update (as detailed in the aforementioned ticket). The error went away. The Events Calendar plugin was updated to the latest version on 11\/18. EC Pro was updated [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/strtotime-error-2\/","article_modified_time":"2016-02-18T16:32:50+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/strtotime-error-2\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/strtotime-error-2\/","name":"strtotime() error -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2015-11-23T21:51:26+00:00","dateModified":"2016-02-18T16:32:50+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/strtotime-error-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/strtotime-error-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/strtotime-error-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Events Calendar PRO","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/"},{"@type":"ListItem","position":5,"name":"strtotime() error"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1029830","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1029830\/revisions"}],"predecessor-version":[{"id":1029913,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1029830\/revisions\/1029913"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1029830"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}