{"id":8529771,"date":"2016-12-08T15:02:32","date_gmt":"2016-12-08T15:02:32","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/issue-with-wpml-translation-management\/"},"modified":"2016-12-08T15:02:32","modified_gmt":"2016-12-08T15:02:32","slug":"issue-with-wpml-translation-management","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/issue-with-wpml-translation-management\/","title":{"rendered":"Issue with WPML Translation management"},"content":{"rendered":"<p>There is an issue with BadgeOS and WPML Translation management. The issue happens when i try to edit a published post. When i click on update i get this notice:<\/p>\n<p><code>Fatal error: Uncaught exception &#039;InvalidArgumentException&#039; with message &#039;No translation entry found for query: s:42:&quot; element_id = %d AND element_type LIKE %s &quot;;a:2:{i:0;i:3494;i:1;s:23:&quot;post_badgeos-log-entry%&quot;;}&#039; in \/var\/www\/public\/wp-content\/plugins\/wpml-translation-management\/classes\/records\/class-wpml-tm-icl-translations.php:183 Stack trace: #0 \/var\/www\/public\/wp-content\/plugins\/wpml-translation-management\/classes\/records\/class-wpml-tm-icl-translations.php(60): WPML_TM_ICL_Translations-&gt;select_translation_id(&#039; element_id = %...&#039;, Array) #1 \/var\/www\/public\/wp-content\/plugins\/wpml-translation-management\/classes\/records\/class-wpml-tm-icl-translations.php(41): WPML_TM_ICL_Translations-&gt;build_from_element_id(Array) #2 \/var\/www\/public\/wp-content\/plugins\/wpml-translation-management\/classes\/records\/class-wpml-tm-records.php(137): WPML_TM_ICL_Translations-&gt;__construct(Object(WPML_TM_Records), Array, &#039;id_type_prefix&#039;) #3 \/var\/www\/public\/wp-content\/plugins\/wpml-translation-management\/inc\/actions\/wpml-tm-post-actions.class.php(4 in \/var\/www\/public\/wp-content\/plugins\/wpml-translation-management\/classes\/records\/class-wpml-tm-icl-translations.php on line 183<\/code><\/p>\n<p>If I disable either WPML Translation Management (not WPML core) or BadgeOS than the issue is gone.<\/p>\n","protected":false},"template":"","class_list":["post-8529771","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8529771","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8529771\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=8529771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}