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

  1. WPReady
    Posted 3 years 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.


  2. WPReady
    Posted 3 years 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

  • Posts 2 Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic