{"id":1590861,"date":"2018-08-06T01:00:00","date_gmt":"2018-08-06T08:00:00","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-when-submitting-page-using-tribe_events-shortcode-in-4-4-30\/"},"modified":"2018-08-08T05:59:42","modified_gmt":"2018-08-08T12:59:42","slug":"fatal-error-when-submitting-page-using-tribe_events-shortcode-in-4-4-30","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-when-submitting-page-using-tribe_events-shortcode-in-4-4-30\/","title":{"rendered":"Fatal error when submitting page using tribe_events shortcode in 4.4.30"},"content":{"rendered":"<p>I am using the tribe_events shortcode on several pages on a site that I am developing.  That has been working great until today.  Since upgrading today to 4.4.30, I get a Fatal PHP error whenever I try to update a page that contains a shortcode like this:<\/p>\n<p>[tribe_events view=&#8221;month&#8221; tribe-bar=&#8221;true&#8221;]<\/p>\n<p>The PHP error logs say:<\/p>\n<p>[06-Aug-2018 07:48:17 UTC] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function Tribe__Events__Pro__Recurrence__Scripts::localize(), 2 passed in \/Users\/billdailey\/Sites\/chabot\/wp-includes\/class-wp-hook.php on line 286 and exactly 3 expected in \/Users\/billdailey\/Sites\/chabot\/wp-content\/plugins\/events-calendar-pro\/src\/Tribe\/Recurrence\/Scripts.php:32<br \/>\nStack trace:<br \/>\n#0 \/Users\/billdailey\/Sites\/chabot\/wp-includes\/class-wp-hook.php(286): Tribe__Events__Pro__Recurrence__Scripts-&gt;localize(Array, &#8216;tribe-events-pr&#8230;&#8217;)<br \/>\n#1 \/Users\/billdailey\/Sites\/chabot\/wp-includes\/plugin.php(203): WP_Hook-&gt;apply_filters(Array, Array)<br \/>\n#2 \/Users\/billdailey\/Sites\/chabot\/wp-content\/plugins\/events-calendar-pro\/src\/Tribe\/Assets.php(311): apply_filters(&#8216;tribe_events_pr&#8230;&#8217;, Array, &#8216;tribe-events-pr&#8230;&#8217;)<br \/>\n#3 \/Users\/billdailey\/Sites\/chabot\/wp-content\/plugins\/the-events-calendar\/common\/src\/Tribe\/Assets.php(233): Tribe__Events__Pro__Assets-&gt;get_data_tribe_events_pro(Object(stdClass))<br \/>\n#4 \/Users\/billdailey\/Sites\/chabot\/wp-content\/plugins\/the-events-calendar\/common\/src\/funct in \/Users\/billdailey\/Sites\/chabot\/wp-content\/plugins\/events-calendar-pro\/src\/Tribe\/Recurrence\/Scripts.php on line 32<\/p>\n<p>I tested reverting to Version 4.4.29.2 of Events Calendar Pro, and no errors occur in that version.<\/p>\n","protected":false},"template":"","class_list":["post-1590861","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>Fatal error when submitting page using tribe_events shortcode in 4.4.30 -<\/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\/fatal-error-when-submitting-page-using-tribe_events-shortcode-in-4-4-30\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Fatal error when submitting page using tribe_events shortcode in 4.4.30 -\" \/>\n<meta property=\"og:description\" content=\"I am using the tribe_events shortcode on several pages on a site that I am developing. That has been working great until today. Since upgrading today to 4.4.30, I get a Fatal PHP error whenever I try to update a page that contains a shortcode like this: [tribe_events view=&#8221;month&#8221; tribe-bar=&#8221;true&#8221;] The PHP error logs say: [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-when-submitting-page-using-tribe_events-shortcode-in-4-4-30\/\" \/>\n<meta property=\"article:modified_time\" content=\"2018-08-08T12:59:42+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\/fatal-error-when-submitting-page-using-tribe_events-shortcode-in-4-4-30\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-when-submitting-page-using-tribe_events-shortcode-in-4-4-30\/\",\"name\":\"Fatal error when submitting page using tribe_events shortcode in 4.4.30 -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2018-08-06T08:00:00+00:00\",\"dateModified\":\"2018-08-08T12:59:42+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-when-submitting-page-using-tribe_events-shortcode-in-4-4-30\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-when-submitting-page-using-tribe_events-shortcode-in-4-4-30\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-when-submitting-page-using-tribe_events-shortcode-in-4-4-30\/#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\":\"Fatal error when submitting page using tribe_events shortcode in 4.4.30\"}]},{\"@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":"Fatal error when submitting page using tribe_events shortcode in 4.4.30 -","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\/fatal-error-when-submitting-page-using-tribe_events-shortcode-in-4-4-30\/","og_locale":"en_US","og_type":"article","og_title":"Fatal error when submitting page using tribe_events shortcode in 4.4.30 -","og_description":"I am using the tribe_events shortcode on several pages on a site that I am developing. That has been working great until today. Since upgrading today to 4.4.30, I get a Fatal PHP error whenever I try to update a page that contains a shortcode like this: [tribe_events view=&#8221;month&#8221; tribe-bar=&#8221;true&#8221;] The PHP error logs say: [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-when-submitting-page-using-tribe_events-shortcode-in-4-4-30\/","article_modified_time":"2018-08-08T12:59:42+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\/fatal-error-when-submitting-page-using-tribe_events-shortcode-in-4-4-30\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-when-submitting-page-using-tribe_events-shortcode-in-4-4-30\/","name":"Fatal error when submitting page using tribe_events shortcode in 4.4.30 -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2018-08-06T08:00:00+00:00","dateModified":"2018-08-08T12:59:42+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-when-submitting-page-using-tribe_events-shortcode-in-4-4-30\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-when-submitting-page-using-tribe_events-shortcode-in-4-4-30\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-when-submitting-page-using-tribe_events-shortcode-in-4-4-30\/#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":"Fatal error when submitting page using tribe_events shortcode in 4.4.30"}]},{"@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\/1590861","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\/1590861\/revisions"}],"predecessor-version":[{"id":1592802,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1590861\/revisions\/1592802"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1590861"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}