{"id":1265315,"date":"2017-04-05T12:05:41","date_gmt":"2017-04-05T19:05:41","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/conflict-with-wpml-anonymously-created-pending-events-hidden-in-admin-panel\/"},"modified":"2017-04-05T12:05:41","modified_gmt":"2017-04-05T19:05:41","slug":"conflict-with-wpml-anonymously-created-pending-events-hidden-in-admin-panel","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/conflict-with-wpml-anonymously-created-pending-events-hidden-in-admin-panel\/","title":{"rendered":"Conflict with WPML &#8211; anonymously created pending Events hidden in Admin Panel"},"content":{"rendered":"<p>Hello<\/p>\n<p>Our site uses WPML Multilingual CMS v 3.6.6, along with other WPML plugins. We&#8217;ve isolated the problem to a conflict with WPML Multilingual CMS v 3.6.6 plugin in particular. <\/p>\n<p>I saw on the Known Issues page that there&#8217;s a problem with the 4.4x versions of TEC conflicting with WPML, so we&#8217;ve rolled back to the following:<\/p>\n<p>the Events Calendar 4.3.5<br \/>\nthe Events Calendar Pro 4.3.4<br \/>\nCommunity Events 4.3.2<\/p>\n<p>The problem we&#8217;re having is that when WPML CMS is active, and an anonymous user creates an event, the event is set to Pending, but it doesn&#8217;t display with the other Pending events in Admin Panel &gt; Events.  This is happening in cases where the author id for the tribe_events post is set to 0, as it is for anonymous submissions.<\/p>\n<p>As you can see, the count for &#8220;Pending&#8221; is correct, but the number that appears to the right above the Events table is missing the hidden Event post. <\/p>\n<p><a href=\"http:\/\/imgur.com\/Kvn8rhA\">http:\/\/imgur.com\/Kvn8rhA<\/a><\/p>\n<p>If WPML is activated, all the hidden Pending events appear, and don&#8217;t disappear when WPML is reactivated.   The no-author events you see in that image were all created earlier, and appeared when I deactivated the WPML plugin. I reactivated WPML and created 1 event, and that event is still hidden from the Pending list. <\/p>\n<p>If I edit the hidden tribe_events records in the database and set the author_id to an admin&#8217;s user id, the events are still hidden in the Pending Events list. <\/p>\n<p>Although the new pending Event is not displayed in the Events list, the site admin is receiving the email notification as set in Admin Panel &gt; Events &gt; Settings &gt; Community &gt; Alerts<\/p>\n<p>Any advice or ideas?  I&#8217;m happy to write PHP to get around this if I have to &#8211; maybe I should add a filter to make the author ID for anonymous events default to the admin user ID, instead of to 0? <\/p>\n<p>thanks!<\/p>\n<p>Note: the system information below is from my local dev environment, where I am testing. The problem also exists on the staging site at robust-month.flywheelsites.com<\/p>\n","protected":false},"template":"","class_list":["post-1265315","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>Conflict with WPML - anonymously created pending Events hidden in Admin Panel -<\/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\/conflict-with-wpml-anonymously-created-pending-events-hidden-in-admin-panel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Conflict with WPML - anonymously created pending Events hidden in Admin Panel -\" \/>\n<meta property=\"og:description\" content=\"Hello Our site uses WPML Multilingual CMS v 3.6.6, along with other WPML plugins. We&#8217;ve isolated the problem to a conflict with WPML Multilingual CMS v 3.6.6 plugin in particular. I saw on the Known Issues page that there&#8217;s a problem with the 4.4x versions of TEC conflicting with WPML, so we&#8217;ve rolled back to [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/conflict-with-wpml-anonymously-created-pending-events-hidden-in-admin-panel\/\" \/>\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\/conflict-with-wpml-anonymously-created-pending-events-hidden-in-admin-panel\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/conflict-with-wpml-anonymously-created-pending-events-hidden-in-admin-panel\/\",\"name\":\"Conflict with WPML - anonymously created pending Events hidden in Admin Panel -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-04-05T19:05:41+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/conflict-with-wpml-anonymously-created-pending-events-hidden-in-admin-panel\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/conflict-with-wpml-anonymously-created-pending-events-hidden-in-admin-panel\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/conflict-with-wpml-anonymously-created-pending-events-hidden-in-admin-panel\/#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\":\"Community Events\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/community-events\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Conflict with WPML &#8211; anonymously created pending Events hidden in Admin Panel\"}]},{\"@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":"Conflict with WPML - anonymously created pending Events hidden in Admin Panel -","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\/conflict-with-wpml-anonymously-created-pending-events-hidden-in-admin-panel\/","og_locale":"en_US","og_type":"article","og_title":"Conflict with WPML - anonymously created pending Events hidden in Admin Panel -","og_description":"Hello Our site uses WPML Multilingual CMS v 3.6.6, along with other WPML plugins. We&#8217;ve isolated the problem to a conflict with WPML Multilingual CMS v 3.6.6 plugin in particular. I saw on the Known Issues page that there&#8217;s a problem with the 4.4x versions of TEC conflicting with WPML, so we&#8217;ve rolled back to [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/conflict-with-wpml-anonymously-created-pending-events-hidden-in-admin-panel\/","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\/conflict-with-wpml-anonymously-created-pending-events-hidden-in-admin-panel\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/conflict-with-wpml-anonymously-created-pending-events-hidden-in-admin-panel\/","name":"Conflict with WPML - anonymously created pending Events hidden in Admin Panel -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-04-05T19:05:41+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/conflict-with-wpml-anonymously-created-pending-events-hidden-in-admin-panel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/conflict-with-wpml-anonymously-created-pending-events-hidden-in-admin-panel\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/conflict-with-wpml-anonymously-created-pending-events-hidden-in-admin-panel\/#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":"Community Events","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/community-events\/"},{"@type":"ListItem","position":5,"name":"Conflict with WPML &#8211; anonymously created pending Events hidden in Admin Panel"}]},{"@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\/1265315","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\/1265315\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1265315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}