Title: [Plugin: Posts 2 Posts] each_connected not working post-upgrade
Last modified: August 20, 2016

---

# [Plugin: Posts 2 Posts] each_connected not working post-upgrade

 *  Resolved [FriendlyWP](https://wordpress.org/support/users/mmcginnis/)
 * (@mmcginnis)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-each_connected-not-working-post-upgrade/)
 * Hi and thanks in advance for your help! This is a great plugin. 🙂
 * I am having trouble with an each-connected loop after upgrade to 1.4 from 1.3.1.
   Here’s a pastebin with the registration and template code:
 * [http://pastebin.com/VXU2ehhe](http://pastebin.com/VXU2ehhe)
 * In 1.3.1, everything works as expected; in 1.4, the “series” level data shows
   up, but not the “books” foreach loop data. I’m not seeing any errors. I’ve tested
   on two separate sites running the same code and have the same issue in both places.
 * This is the one site which is somewhere visible (for now) running 1.3.1: [http://new.sherribrowningerwin.com/books/](http://new.sherribrowningerwin.com/books/)
   On this page running 1.4, the cover of Grave Expectations disappears as it’s 
   part of the foreach loop. Everything else remains the same.
 * Thanks so much for your help!
 * [http://wordpress.org/extend/plugins/posts-to-posts/](http://wordpress.org/extend/plugins/posts-to-posts/)

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

 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-each_connected-not-working-post-upgrade/#post-2976572)
 * Confirmed; working on a fix.
 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-each_connected-not-working-post-upgrade/#post-2976579)
 * Should work again in the [development version](http://downloads.wordpress.org/plugin/posts-to-posts.zip)(
   1.4.1-alpha).
 *  Thread Starter [FriendlyWP](https://wordpress.org/support/users/mmcginnis/)
 * (@mmcginnis)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-each_connected-not-working-post-upgrade/#post-2976593)
 * Confirmed, works for me in the dev version. Thanks so much for the incredibly
   fast response!!!! You’re the best. 🙂
 *  [certainlyakey](https://wordpress.org/support/users/certainlyakey/)
 * (@certainlyakey)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-each_connected-not-working-post-upgrade/#post-2976656)
 * New alpha not working for me, unfortunately. Before no data was shown, now list
   items with blank contents appeared.
 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-each_connected-not-working-post-upgrade/#post-2976659)
 * [@certainlyakey](https://wordpress.org/support/users/certainlyakey/): Code please(
   via pastebin).
 *  [certainlyakey](https://wordpress.org/support/users/certainlyakey/)
 * (@certainlyakey)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-each_connected-not-working-post-upgrade/#post-2976690)
 * Here you go:
    [http://pastebin.com/BYx9puXY](http://pastebin.com/BYx9puXY) This
   generates empty li’s in 1.4.1 and is OK in 1.3.
 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-each_connected-not-working-post-upgrade/#post-2976693)
 * Ok; I’ll also need the call to p2p_register_connection_type().
 *  [certainlyakey](https://wordpress.org/support/users/certainlyakey/)
 * (@certainlyakey)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-each_connected-not-working-post-upgrade/#post-2976755)
 * I updated it here: [http://pastebin.com/T44rTPdc](http://pastebin.com/T44rTPdc).
 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-each_connected-not-working-post-upgrade/#post-2976756)
 * There were some more fixes related to each_connected() in the [development version](http://downloads.wordpress.org/plugin/posts-to-posts.zip)(
   1.4.2-alpha2). Try it out.
 *  [certainlyakey](https://wordpress.org/support/users/certainlyakey/)
 * (@certainlyakey)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-each_connected-not-working-post-upgrade/#post-2976757)
 * Now it seems to be all back to normal) Thank you very much! I’ll report if I 
   see some oddities.
 *  [Brian Cruikshank](https://wordpress.org/support/users/brianbws/)
 * (@brianbws)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-each_connected-not-working-post-upgrade/#post-2976759)
 * Thanks. Was broken in 1.4.1 for me too. Development version 1.4.2-alpha2 fixed
   it. Hoping the update will come out soon.

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

The topic ‘[Plugin: Posts 2 Posts] each_connected not working post-upgrade’ 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/)

 * 11 replies
 * 4 participants
 * Last reply from: [Brian Cruikshank](https://wordpress.org/support/users/brianbws/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-each_connected-not-working-post-upgrade/#post-2976759)
 * Status: resolved