{"id":28092,"date":"2012-11-14T12:57:08","date_gmt":"2012-11-14T20:57:08","guid":{"rendered":"http:\/\/tri.be\/support\/forums\/topic\/possible-conflict-with-the-plugin-post-to-post\/"},"modified":"2012-11-14T12:57:08","modified_gmt":"2012-11-14T20:57:08","slug":"possible-conflict-with-the-plugin-post-to-post","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/possible-conflict-with-the-plugin-post-to-post\/","title":{"rendered":"Possible conflict with the plugin &#039;post to post &#039;"},"content":{"rendered":"<p>Hi, it seems that the tribe database queries include references to the post 2 post table.  Here is the query traced thru the plugin &#8216;debug bar&#8217;:<\/p>\n<p>SELECT sfrpd_posts.*, eventStart.meta_value as EventStartDate, IFNULL(DATE_ADD(CAST(eventStart.meta_value AS DATETIME), INTERVAL eventDuration.meta_value SECOND), eventEnd.meta_value) as EventEndDate , sfrpd_p2p.* FROM sfrpd_posts LEFT JOIN sfrpd_postmeta as eventStart ON( sfrpd_posts.ID = eventStart.post_id AND eventStart.meta_key = &#8216;_EventStartDate&#8217;) LEFT JOIN sfrpd_postmeta as eventDuration ON( sfrpd_posts.ID = eventDuration.post_id AND eventDuration.meta_key = &#8216;_EventDuration&#8217;) LEFT JOIN sfrpd_postmeta as eventEnd ON( sfrpd_posts.ID = eventEnd.post_id AND eventEnd.meta_key = &#8216;_EventEndDate&#8217;) INNER JOIN sfrpd_p2p<br \/>\nLEFT JOIN sfrpd_p2pmeta AS p2pm_order ON (<br \/>\nsfrpd_p2p.p2p_id = p2pm_order.p2p_id AND p2pm_order.meta_key = &#8216;_order_to&#8217;<br \/>\n)<br \/>\nWHERE 1=1 AND sfrpd_posts.post_type IN (&#8217;employee&#8217;) AND (sfrpd_posts.post_status = &#8216;publish&#8217; OR sfrpd_posts.post_author = 1 AND sfrpd_posts.post_status = &#8216;private&#8217;) AND (sfrpd_p2p.p2p_type = &#8216;recprogram_manager&#8217; AND sfrpd_posts.ID = sfrpd_p2p.p2p_from AND sfrpd_p2p.p2p_to IN (SELECT sfrpd_posts.ID, eventStart.meta_value as EventStartDate, IFNULL(DATE_ADD(CAST(eventStart.meta_value AS DATETIME), INTERVAL eventDuration.meta_value SECOND), eventEnd.meta_value) as EventEndDate FROM sfrpd_posts LEFT JOIN sfrpd_postmeta as eventStart ON( sfrpd_posts.ID = eventStart.post_id AND eventStart.meta_key = &#8216;_EventStartDate&#8217;) LEFT JOIN sfrpd_postmeta as eventDuration ON( sfrpd_posts.ID = eventDuration.post_id AND eventDuration.meta_key = &#8216;_EventDuration&#8217;) LEFT JOIN sfrpd_postmeta as eventEnd ON( sfrpd_posts.ID = eventEnd.post_id AND eventEnd.meta_key = &#8216;_EventEndDate&#8217;) WHERE 1=1 AND sfrpd_posts.ID IN (13058) AND sfrpd_posts.post_type IN (&#8216;recprogram&#8217;) AND (sfrpd_posts.post_status = &#8216;publish&#8217; OR sfrpd_posts.post_author = 1 AND sfrpd_posts.post_status = &#8216;private&#8217;) ORDER BY sfrpd_posts.post_date DESC )) ORDER BY p2pm_order.meta_value+0 ASC \/* From [sstasio.wpengine.com\/recprogram\/adaptive-recreation\/] in [\/nas\/wp\/www\/cluster-1222\/sstasio\/wp-content\/themes\/sfrpd\/sidebar-recprogram.php:25] *\/<\/p>\n<p>Are you aware of this issue, has anyone else reported it?  I can&#8217;t go w\/out post 2 post because much of my content needs to interrelate.  Any suggestions?<\/p>\n<p>Sean in SF<\/p>\n","protected":false},"template":"","class_list":["post-28092","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>Possible conflict with the plugin &#039;post to post &#039; -<\/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\/possible-conflict-with-the-plugin-post-to-post\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Possible conflict with the plugin &#039;post to post &#039; -\" \/>\n<meta property=\"og:description\" content=\"Hi, it seems that the tribe database queries include references to the post 2 post table. Here is the query traced thru the plugin &#8216;debug bar&#8217;: SELECT sfrpd_posts.*, eventStart.meta_value as EventStartDate, IFNULL(DATE_ADD(CAST(eventStart.meta_value AS DATETIME), INTERVAL eventDuration.meta_value SECOND), eventEnd.meta_value) as EventEndDate , sfrpd_p2p.* FROM sfrpd_posts LEFT JOIN sfrpd_postmeta as eventStart ON( sfrpd_posts.ID = eventStart.post_id AND eventStart.meta_key [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/possible-conflict-with-the-plugin-post-to-post\/\" \/>\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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/possible-conflict-with-the-plugin-post-to-post\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/possible-conflict-with-the-plugin-post-to-post\/\",\"name\":\"Possible conflict with the plugin &#039;post to post &#039; -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2012-11-14T20:57:08+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/possible-conflict-with-the-plugin-post-to-post\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/possible-conflict-with-the-plugin-post-to-post\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/possible-conflict-with-the-plugin-post-to-post\/#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\":\"Possible conflict with the plugin &#039;post to post &#039;\"}]},{\"@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":"Possible conflict with the plugin &#039;post to post &#039; -","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\/possible-conflict-with-the-plugin-post-to-post\/","og_locale":"en_US","og_type":"article","og_title":"Possible conflict with the plugin &#039;post to post &#039; -","og_description":"Hi, it seems that the tribe database queries include references to the post 2 post table. Here is the query traced thru the plugin &#8216;debug bar&#8217;: SELECT sfrpd_posts.*, eventStart.meta_value as EventStartDate, IFNULL(DATE_ADD(CAST(eventStart.meta_value AS DATETIME), INTERVAL eventDuration.meta_value SECOND), eventEnd.meta_value) as EventEndDate , sfrpd_p2p.* FROM sfrpd_posts LEFT JOIN sfrpd_postmeta as eventStart ON( sfrpd_posts.ID = eventStart.post_id AND eventStart.meta_key [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/possible-conflict-with-the-plugin-post-to-post\/","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/possible-conflict-with-the-plugin-post-to-post\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/possible-conflict-with-the-plugin-post-to-post\/","name":"Possible conflict with the plugin &#039;post to post &#039; -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2012-11-14T20:57:08+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/possible-conflict-with-the-plugin-post-to-post\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/possible-conflict-with-the-plugin-post-to-post\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/possible-conflict-with-the-plugin-post-to-post\/#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":"Possible conflict with the plugin &#039;post to post &#039;"}]},{"@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\/28092","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\/28092\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=28092"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}