Support » Plugin: Posts 2 Posts » Two custom post types, no metaboxes
4 years, 5 months ago
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.
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.