Home Forums General Issues Deeply nested post types Reply To: Deeply nested post types

  • I thought it was needed, after reading the Relationship documentation. I’m still working on my fluency in PHP, so I don’t always catch when something looks nonsensical 😉

    The code you pasted looks really good, but sadly when I use it I get the same “Trying to get property of non-object” error for every call to Town, County and State.

    I have my relationship fields set to Post Object, so I’m not sure how they can’t be objects…