Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unregistered connection type #557

Open
raffaelecolleo opened this issue Oct 23, 2017 · 0 comments
Open

Unregistered connection type #557

raffaelecolleo opened this issue Oct 23, 2017 · 0 comments

Comments

@raffaelecolleo
Copy link

Hi all,
I am getting this error
Warning: Unregistered connection type ''. in /home/demolms/public_html/wp-content/plugins/posts-to-posts/vendor/scribu/lib-posts-to-posts/list-renderer.php on line 8

This is my connection registration
function p2p_courses_to_vocabulary(){
p2p_register_connection_type( array(
'title' => 'Vocabulary',
'name' => 'vocabulary',
'from' => 'courses',
'to' => 'post',
'reciprocal' => true,
'admin_box' => array(
'show' => 'any',
'context' => 'side'
)
) );
}
add_action( 'p2p_init', 'p2p_courses_to_vocabulary' );

Any Ideas???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant