Plugin Author
Stiofan
(@stiofansisland)
Hi,
Can you provide the whole query? And how many posts do you have in your DB?
FYI we took over this plugin for maintenance and security updates, we do not intend to add new features or improve current features.
Thanks,
Stiofan
Hi
Thanks for the quick response, I have more than 11000 posts in my db.
Full query looks like this:
SELECT dmg_posts.*, dmg_p2p.* FROM dmg_posts INNER JOIN dmg_p2p WHERE 1=1 AND dmg_posts.post_type = 'release' AND ((dmg_posts.post_status = 'publish')) AND dmg_posts.post_status = 'publish' AND (dmg_p2p.p2p_type = 'recommended_titles' AND (
(dmg_posts.ID = dmg_p2p.p2p_to AND dmg_p2p.p2p_from IN (SELECT dmg_posts.ID FROM dmg_posts WHERE 1=1 AND dmg_posts.ID IN (18000) AND ((dmg_posts.post_type = 'release' AND (dmg_posts.post_status = 'publish' OR dmg_posts.post_status = 'acf-disabled'
OR dmg_posts.post_status = 'private'))) AND dmg_posts.post_status = 'publish' ORDER BY dmg_posts.post_date DESC )) OR
(dmg_posts.ID = dmg_p2p.p2p_from AND dmg_p2p.p2p_to IN (SELECT dmg_posts.ID FROM dmg_posts WHERE 1=1 AND dmg_posts.ID IN (18000) AND ((dmg_posts.post_type = 'release' AND (dmg_posts.post_status = 'publish' OR dmg_posts.post_status = 'acf-disabled'
OR dmg_posts.post_status = 'private'))) AND dmg_posts.post_status = 'publish' ORDER BY dmg_posts.post_date DESC ))
)) ORDER BY dmg_posts.post_date DESC;
As per wphive.com this plugin has few points to take care of. Are you working on it? and when would be the possibility for the new version?
Hello,
we tried to recreate this and were unable to see this issue in our testing.
If you need further help please open a support ticket here: https://wpgeodirectory.com/support/
https://i.ibb.co/4SvbrsT/wp-p2p.png
The above screenshot is from single.php page where the posts-to-posts plugin creates bidirectional relationship between different custom posts which is created by the ACF plugin.
https://i.ibb.co/bdbstvb/wp-p2p1.png, code screenshot is also attached.
If you need further help please open a support ticket here: https://wpgeodirectory.com/support/