Title: [Plugin: p2p-wpml] Error when adding translation
Last modified: August 20, 2016

---

# [Plugin: p2p-wpml] Error when adding translation

 *  Resolved [Marco Chiesi](https://wordpress.org/support/users/marcochiesi/)
 * (@marcochiesi)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-p2p-wpml-error-when-adding-translation/)
 * I get the following error when I try to add a translation:
 * `Fatal error: Call to undefined function p2p_get_connected() in /[...]/wp-content/
   plugins/p2p-wpml/synchronizer.php on line 108`
 * It looks like the p2p_get_connected function was removed form the “Posts 2 posts”
   plugin (see [changelog](http://wordpress.org/extend/plugins/posts-to-posts/changelog/)).
 * Is there any chance to have an update compatible with the latest version of P2P?
   Thanks.
 * [http://wordpress.org/extend/plugins/p2p-wpml/](http://wordpress.org/extend/plugins/p2p-wpml/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [madhavaji](https://wordpress.org/support/users/madhavaji/)
 * (@madhavaji)
 * [14 years ago](https://wordpress.org/support/topic/plugin-p2p-wpml-error-when-adding-translation/#post-2389198)
 * I have the same issue.
 * Is there anybody out there?
 * Michael.
 *  [Antti Roos](https://wordpress.org/support/users/anttiroos/)
 * (@anttiroos)
 * [14 years ago](https://wordpress.org/support/topic/plugin-p2p-wpml-error-when-adding-translation/#post-2389199)
 * Echoing the exact same problem too.
 *  – Antti
 *  [Twansparant](https://wordpress.org/support/users/twansparant/)
 * (@twansparant)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/plugin-p2p-wpml-error-when-adding-translation/#post-2389200)
 * Same problem here!
    These 2 plugins are one of my favourites and I use them a
   lot, so it would be very nice if this would get sorted out. I’m using WordPress
   3.3.2, WPML Multilingual CMS 2.4.3, Posts 2 Posts 1.3.1 & Posts 2 Posts – WPML
   integration 1.0
 * When I have both options enabled on the **P2P WPML Settings** page:
 *     ```
       Synchronize connections between translations [x]
       Filter connectable items by current language [x]
       ```
   
 * Clicking on the translate button in the post edit page, as well from the posts
   overview page results in an 500 Internal Server Error.
 * When I disable the option:
    `Synchronize connections between translations [ ]`
   I can translate the posts and correctly connect the posts in both languages, 
   but I obviously have to do it manually on the translated post.
 * The option:
    `Filter connectable items by current language [x]` does seem to 
   work though because in the translated language I can only connect the translated
   posts.
 * Any ideas what causes the error?
    Many thanks!
 *  Plugin Author [lencinhaus](https://wordpress.org/support/users/lencinhaus/)
 * (@lencinhaus)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-p2p-wpml-error-when-adding-translation/#post-2389208)
 * Version 1.2 fixes this (the p2p api was changed in v 1.3)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: p2p-wpml] Error when adding translation’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/p2p-wpml.svg)
 * [Posts 2 Posts - WPML integration](https://wordpress.org/plugins/p2p-wpml/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/p2p-wpml/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/p2p-wpml/)
 * [Active Topics](https://wordpress.org/support/plugin/p2p-wpml/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/p2p-wpml/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/p2p-wpml/reviews/)

 * 4 replies
 * 5 participants
 * Last reply from: [lencinhaus](https://wordpress.org/support/users/lencinhaus/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-p2p-wpml-error-when-adding-translation/#post-2389208)
 * Status: resolved