{"id":1321184,"date":"2017-07-14T06:52:43","date_gmt":"2017-07-14T13:52:43","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-mobile-view-yoast-conflict\/"},"modified":"2017-07-14T06:52:43","modified_gmt":"2017-07-14T13:52:43","slug":"default-mobile-view-yoast-conflict","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-mobile-view-yoast-conflict\/","title":{"rendered":"Default Mobile View \/ Yoast Conflict"},"content":{"rendered":"<p>Hello,<\/p>\n<p>I&#8217;m implementing the &#8220;default mobile view&#8221; fix referenced here: https:\/\/theeventscalendar.com\/support\/forums\/topic\/events-being-redirected-to-eventsundefined-on-mobile\/<\/p>\n<p>This does seem to work, although it seems a little buggy so I wanted to see if there is an updated fix? After implementing this function I&#8217;m redirected to: http:\/\/127.0.0.1:8080\/sitename\/calendar\/list\/?undefined=Submit &#8230; which works, but seems odd that &#8220;undefined&#8221; is in the URL.<\/p>\n<p>I also receive the following notices in the debug log with every page load:<\/p>\n<blockquote><p>[14-Jul-2017 13:44:47 UTC] PHP Notice:  Tribe__Events__Advanced_Functions__Register_Meta::event_category is <strong>deprecated<\/strong> since version 4.3 with no alternative available. in \/var\/www\/html\/public\/concordia\/wp-includes\/functions.php on line 3834<br \/>\n[14-Jul-2017 13:44:47 UTC] PHP Notice:  Trying to get property of non-object in \/var\/www\/html\/public\/wp-content\/plugins\/the-events-calendar\/src\/deprecated\/Tribe__Events__Advanced_Functions__Register_Meta.php on line 153<br \/>\n[14-Jul-2017 13:44:47 UTC] PHP Notice:  Trying to get property of non-object in \/var\/www\/html\/public\/wp-content\/plugins\/the-events-calendar\/src\/deprecated\/Tribe__Events__Advanced_Functions__Register_Meta.php on line 153<br \/>\n[14-Jul-2017 13:44:47 UTC] PHP Notice:  Trying to get property of non-object in \/var\/www\/html\/public\/wp-content\/plugins\/the-events-calendar\/src\/deprecated\/Tribe__Events__Advanced_Functions__Register_Meta.php on line 159<\/p><\/blockquote>\n<p>Note that the &#8220;undefined&#8221; redirect does still occur with all plugins deactivated except The Events Calendar, Events Calendar Pro, and Filter Bar, as well as Twentyfourteen theme activated. The PHP notices do not.<\/p>\n<p>Thanks,<\/p>\n<p>Tim<\/p>\n","protected":false},"template":"","class_list":["post-1321184","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>Default Mobile View \/ Yoast Conflict -<\/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\/default-mobile-view-yoast-conflict\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Default Mobile View \/ Yoast Conflict -\" \/>\n<meta property=\"og:description\" content=\"Hello, I&#8217;m implementing the &#8220;default mobile view&#8221; fix referenced here: https:\/\/theeventscalendar.com\/support\/forums\/topic\/events-being-redirected-to-eventsundefined-on-mobile\/ This does seem to work, although it seems a little buggy so I wanted to see if there is an updated fix? After implementing this function I&#8217;m redirected to: http:\/\/127.0.0.1:8080\/sitename\/calendar\/list\/?undefined=Submit &#8230; which works, but seems odd that &#8220;undefined&#8221; is in the URL. I also [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-mobile-view-yoast-conflict\/\" \/>\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\/default-mobile-view-yoast-conflict\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-mobile-view-yoast-conflict\/\",\"name\":\"Default Mobile View \/ Yoast Conflict -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-07-14T13:52:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-mobile-view-yoast-conflict\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-mobile-view-yoast-conflict\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-mobile-view-yoast-conflict\/#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\":\"Default Mobile View \/ Yoast Conflict\"}]},{\"@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":"Default Mobile View \/ Yoast Conflict -","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\/default-mobile-view-yoast-conflict\/","og_locale":"en_US","og_type":"article","og_title":"Default Mobile View \/ Yoast Conflict -","og_description":"Hello, I&#8217;m implementing the &#8220;default mobile view&#8221; fix referenced here: https:\/\/theeventscalendar.com\/support\/forums\/topic\/events-being-redirected-to-eventsundefined-on-mobile\/ This does seem to work, although it seems a little buggy so I wanted to see if there is an updated fix? After implementing this function I&#8217;m redirected to: http:\/\/127.0.0.1:8080\/sitename\/calendar\/list\/?undefined=Submit &#8230; which works, but seems odd that &#8220;undefined&#8221; is in the URL. I also [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-mobile-view-yoast-conflict\/","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\/default-mobile-view-yoast-conflict\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-mobile-view-yoast-conflict\/","name":"Default Mobile View \/ Yoast Conflict -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-07-14T13:52:43+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-mobile-view-yoast-conflict\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-mobile-view-yoast-conflict\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-mobile-view-yoast-conflict\/#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":"Default Mobile View \/ Yoast Conflict"}]},{"@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\/1321184","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":0,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1321184\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1321184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}