• Resolved Paul123456

    (@paul123456)


    I like the admin drop downs very much.

    However, it seems that if there are any other custom admin dropdown boxes you get an empty result and error
    Warning: Could not find direction(s). in /var/sites/s/mysite.com/public_html/wp-content/plugins/posts-to-posts/core/query-post.php on line 16

    This was noticed on my own custom admin dropdowns and also the dropdowns inserted by yoast seo

    e.g.
    https://mysite.com/wp-admin/edit.php?s&post_status=all&post_type=mycustomposttype3&action=-1&m=0
    &seo_filter
    &p2p%5Bmycustomposttype1_to_mycustomposttype2%5D%5Bfrom%5D=144&paged=1
    &mode=list&action2=-1

    ^ above url produced by dropdowns does not work. The part highlighted in bold is from another plugin “WordPress SEO by yoast”.

    However, you can remove the part created by “WordPress SEO by yoast” &seo_filter and it works again

    I hope this just helps anyone wondering how to ensure the dropdowns (a great feature! ) of “post 2 post” keep working.

    (my hack will be to use jquery to just remove the yoast seo dropdown so that the urls submited do not conflict)

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

Viewing 1 replies (of 1 total)
  • Thread Starter Paul123456

    (@paul123456)

    actually, just tried it again on another production site and my solution / the bug in question does not exist.

    So probably best to disregard the above as a general problem/fix

Viewing 1 replies (of 1 total)
  • The topic ‘Admin dropdown/filter possible conflict with dropdowns created by other plugins’ is closed to new replies.