Title: roambe's Replies | WordPress.org

---

# roambe

  [  ](https://wordpress.org/support/users/roambe/)

 *   [Profile](https://wordpress.org/support/users/roambe/)
 *   [Topics Started](https://wordpress.org/support/users/roambe/topics/)
 *   [Replies Created](https://wordpress.org/support/users/roambe/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/roambe/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/roambe/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/roambe/engagements/)
 *   [Favorites](https://wordpress.org/support/users/roambe/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Error establishing a database connection](https://wordpress.org/support/topic/error-establishing-a-database-connection-24/)
 *  [roambe](https://wordpress.org/support/users/roambe/)
 * (@roambe)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-24/#post-672653)
 * You log in to mysql8.wannafind.dk? Then that’s presumably your database server.
   Substitute “localhost” with that URL (“mysql8.wannafind.dk”).
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [link to the parent of the current post.](https://wordpress.org/support/topic/link-to-the-parent-of-the-current-post/)
 *  [roambe](https://wordpress.org/support/users/roambe/)
 * (@roambe)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/link-to-the-parent-of-the-current-post/#post-672150)
 * The line giving you the error is this:
 * `$parent_title = ($parent_id->post_title);`
 * The error is that you’re trying to retrieve the post title from the parent id.
   What you need is this:
 *     ```
       $parent_title = ($parent_post->post_title);
       echo $parent_title;
       ```
   
 * Notice: $parent_post, not $parent_id.

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