WordPress.org

Ready to get started?Download WordPress

Forums

Posts 2 Posts
[resolved] each_connected not working post-upgrade (12 posts)

  1. Michelle
    Member
    Posted 1 year ago #

    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

    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/ 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/

  2. scribu
    Member
    Plugin Author

    Posted 1 year ago #

    Confirmed; working on a fix.

  3. scribu
    Member
    Plugin Author

    Posted 1 year ago #

    Should work again in the development version (1.4.1-alpha).

  4. Michelle
    Member
    Posted 1 year ago #

    Confirmed, works for me in the dev version. Thanks so much for the incredibly fast response!!!! You're the best. :)

  5. certainlyakey
    Member
    Posted 1 year ago #

    New alpha not working for me, unfortunately. Before no data was shown, now list items with blank contents appeared.

  6. scribu
    Member
    Plugin Author

    Posted 1 year ago #

    @certainlyakey: Code please (via pastebin).

  7. certainlyakey
    Member
    Posted 1 year ago #

    Here you go:
    http://pastebin.com/BYx9puXY
    This generates empty li's in 1.4.1 and is OK in 1.3.

  8. scribu
    Member
    Plugin Author

    Posted 1 year ago #

    Ok; I'll also need the call to p2p_register_connection_type().

  9. certainlyakey
    Member
    Posted 1 year ago #

    I updated it here: http://pastebin.com/T44rTPdc.

  10. scribu
    Member
    Plugin Author

    Posted 1 year ago #

    There were some more fixes related to each_connected() in the development version (1.4.2-alpha2). Try it out.

  11. certainlyakey
    Member
    Posted 1 year ago #

    Now it seems to be all back to normal) Thank you very much! I'll report if I see some oddities.

  12. Brian Cruikshank
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic