WordPress.org

Ready to get started?Download WordPress

Forums

Posts 2 Posts
[resolved] Two custom post types, no metaboxes (2 posts)

  1. WPReady
    Member
    Posted 1 year ago #

    Hi there,
    I built two custom post types and I connected together.
    Everything seems to be working fine, I can see the connection in connection types , but there are no metaboxes to make it visually.

    Separated tests connecting posts and pages work just fine, so I guess I have something missing/wrong on the custom post types.

    I thought it was something related with register_meta_box_cb but I didn't figure it out yet.

    Any clues appreciated.

    http://wordpress.org/extend/plugins/posts-to-posts/

  2. WPReady
    Member
    Posted 1 year ago #

    After some digging I found this on the debugging log:
    PHP Notice: Trying to get property of non-object in ....\wp-content\plugins\posts-to-posts\core\side.php on line 80

    I defined two CPT named CPTUser and CPTGallery. If I lower case the custom post types, as cptuser and cptgallery everything seems to work.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic