-
Notifications
You must be signed in to change notification settings - Fork 206
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
Problem with query on wordpress 4.6.1 #379
Comments
I'm not sure I understand. Can you share the code you're using to do the query? |
Hi @RoccoMarco, I just wanted to follow up on @mjangda's request. Would you be able to share the code you're using for the query? |
This return should return a list of article related to the author identified by $authID. It seems like list misses all the articles coauthored by $authID. An article appear in the list only when author is the "first" author of it. |
Hi @RoccoMarco, thanks for the info. The query is not going to work as expected with the For your case, try to use (As a separate note: in most cases |
Actually I have already tested this path. Using |
So far I've been unable to reproduce the behavior you're describing. Here's the code I'm using to run some tests:
In my test site, If you haven't already, are you able to deactivate any other plugins you are using and switch to the default theme? This could help narrow down any conflicts. |
@RoccoMarco You also commented on #374, would you be able to test the pending fix #381 (it's not a big change if you need to apply it manually) and see if it resolves your issue? |
Pending fix doesn't solve my issue. Thanks a lot for your interest and help. Edit: pending fix solve my issue if I use user_nicename instead of user_ID |
This sounds promising. Can you confirm if any of your active plugins or theme is adding a |
Hard to tell. How can I get this information? Edit: thinking on it, I suppose Polylang is doing this (a tax_query related to language) BTW the website is playembedded.org |
Could be, I don't have any experience with that plugin. If you were to undo the patch and deactivate Polylang, do you still have the reported problem? If that doesn't do it, I'd again start with removing the patch/pending fix and deactivating all plugins. Then reactivate one-by-one and see if the issue returns. When/if it returns, that'll narrow down which plugin is in the way. |
I am sorry but right now I cannot disable the plugin. I have to put website in maintenance mode to do this risking to screwed up everything. I will made a local copy to do accurate tests in the weekend. |
No problem, and no rush. Enjoy your weekend :) |
Hi @RoccoMarco did you get any time to take a look at this? |
Actually I have forgotten it :( . I will make some tests but right now I have not enough spare time. |
I'll close this out on the assumption that we've all moved on from WP 4.6.1 and CAP 3.2.1, but if the problem still exists, please open a new Issue. |
Dear all,
I have read on the web about this issue and it seems I am not the one experimenting this issue.
I was working with the latest version of co-author plus (3.2.1) experimenting this issue: making a query of post count related to an author the result is 0!
Query based on author doesn't include coauthor results... I have take a look to bug #374 and updated the plugin to the development version. Problem still unsolved...
The text was updated successfully, but these errors were encountered: