Title: [Plugin: Posts 2 Posts] bug in 1.1.3?
Last modified: August 20, 2016

---

# [Plugin: Posts 2 Posts] bug in 1.1.3?

 *  [MoBlaise](https://wordpress.org/support/users/moblaise/)
 * (@moblaise)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-bug-in-113/)
 * Since the update to version 1.1.3 existing connections are not being shown within
   admin panel, although they work normally from the front-end… any ideas how to
   fix this?
 * [http://wordpress.org/extend/plugins/posts-to-posts/](http://wordpress.org/extend/plugins/posts-to-posts/)

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/plugin-posts-2-posts-bug-in-113/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-posts-2-posts-bug-in-113/page/2/?output_format=md)

 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-bug-in-113/#post-2457641)
 * What version did you upgrade from?
 * Also, add this line to your wp-config.php file:
 * `define( 'WP_DEBUG', true );`
 * You might see a lot of notices, but some of them might be from P2P.
 *  Thread Starter [MoBlaise](https://wordpress.org/support/users/moblaise/)
 * (@moblaise)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-bug-in-113/#post-2457646)
 * I’ve updated from 1.1.2
    Where will I see the notices?
 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-bug-in-113/#post-2457648)
 * You should see them at the top of the page, if you have error reporting turned
   on your server.
 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-bug-in-113/#post-2457649)
 * Alternatively, you could install the Debug Bar plugin and see the notices there.
 *  Thread Starter [MoBlaise](https://wordpress.org/support/users/moblaise/)
 * (@moblaise)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-bug-in-113/#post-2457654)
 * I did intall the Debug Bar, but with no results i.e no info on p2p appears…
 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-bug-in-113/#post-2457656)
 * Ok, then just paste the code you’re using to register the connection types.
 * If it’s rather long, use [http://pastebin.com](http://pastebin.com)
 *  Thread Starter [MoBlaise](https://wordpress.org/support/users/moblaise/)
 * (@moblaise)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-bug-in-113/#post-2457657)
 * <?php
    function my_connection_types() { // Make sure the Posts 2 Posts plugin
   is active. if ( !function_exists( ‘p2p_register_connection_type’ ) ) return;
 *  // Keep a reference to the connection type; we’ll need it later
    global $my_connection_type;
 *  $my_connection_type = p2p_register_connection_type( array(
    ‘from’ => ‘post’,‘
   to’ => ‘osobe’, ‘fields’ => array( ‘uloga’ => ‘uloga:’, ‘lik’ => ‘lik:’ ), ‘reciprocal’
   => true, ‘prevent_duplicates’ => false,
 *  ));
 *  $my_connection_type = p2p_register_connection_type( array(
    ‘from’ => ‘osobe’,‘
   to’ => ‘filmovi’, ‘fields’ => array( ‘uloga’ => ‘uloga:’, ‘lik’ => ‘lik:’ ), ‘
   reciprocal’ => true, ‘prevent_duplicates’ => false, ));
 * }
    add_action( ‘init’, ‘my_connection_types’, 100 );?>
 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-bug-in-113/#post-2457661)
 * Just below the `function my_connection_types() {` line, add this:
 *     ```
       var_dump( post_type_exists( 'osobe' ) );
       var_dump( post_type_exists( 'filmovi' ) );
       exit;
       ```
   
 * And tell me what you get.
 *  Thread Starter [MoBlaise](https://wordpress.org/support/users/moblaise/)
 * (@moblaise)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-bug-in-113/#post-2457662)
 * bool(true) bool(true)
 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-bug-in-113/#post-2457675)
 * Strange… the connection boxes show up fine for me.
 *  Thread Starter [MoBlaise](https://wordpress.org/support/users/moblaise/)
 * (@moblaise)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-bug-in-113/#post-2457676)
 * I see the boxes as well, it’s just that they are empty even for the posts that
   have been conncted and that display connections on the front end
 *  Thread Starter [MoBlaise](https://wordpress.org/support/users/moblaise/)
 * (@moblaise)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-bug-in-113/#post-2457677)
 * I see the boxes as well, it’s just that they are empty even for the posts that
   have been conncted and that display connections on the front end
 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-bug-in-113/#post-2457679)
 * Well, it’s working fine on my install.
 * Maybe it’s a plugin conflict or you have some other code in your theme that’s
   causing the problem.
 *  Thread Starter [MoBlaise](https://wordpress.org/support/users/moblaise/)
 * (@moblaise)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-bug-in-113/#post-2457682)
 * I’ll try turning other plugins off later on when ther’s less traffic on the site,
   but everything was working super-fine untill the last update?
 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-bug-in-113/#post-2457949)
 * Maybe this helps:
 * [http://wordpress.org/support/topic/plugin-posts-2-posts-all-existing-connection-gone?replies=15#post-2517883](http://wordpress.org/support/topic/plugin-posts-2-posts-all-existing-connection-gone?replies=15#post-2517883)

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/plugin-posts-2-posts-bug-in-113/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-posts-2-posts-bug-in-113/page/2/?output_format=md)

The topic ‘[Plugin: Posts 2 Posts] bug in 1.1.3?’ is closed to new replies.

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

 * 18 replies
 * 3 participants
 * Last reply from: [Mark](https://wordpress.org/support/users/encryptdesigns/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-bug-in-113/page/2/#post-2458023)
 * Status: not resolved