• Hi,
    after upgrade all connections disappeared,in db they are ok,under tools it shows correctly.
    In local I see this error in admin area for adding connections:
    Warning: Could not find direction(s). in C:\server\huridocs\acerwc\site\wp-content\plugins\posts-to-posts\core\query-post.php on line 1

    Also there is problem when I use

    $args = array(
                                    'post_type' => 'document',
                                    'posts_per_page' => -1,
                                    'orderby' => 'title',
                                    'order' => 'ASC',
                                    'connected_type' => 'country_to_document',
                                );

    Warning: Could not find direction(s). in C:\server\huridocs\acerwc\site\wp-content\plugins\posts-to-posts\core\query-post.php on line 17

    this is connection details:

    p2p_register_connection_type( array(
                'name' => 'country_to_document',
                'id' => 'country_to_document',
                'from' => 'country',
                'to' => 'document',
                'reciprocal' => true
        ) );

    Thanks for help.

    https://www.ads-software.com/extend/plugins/posts-to-posts/

  • The topic ‘Connections gone and error in 3.5.1’ is closed to new replies.