WordPress’ architecture is extremely susceptible to conflicts, so this type of problem is huge and a deal-breaker for many projects. I don’t know what exact errors you’re seeing, but plugin/theme conflicts are easily the #1 problem with WordPress. There’s no simple way for me to see whether it’s the CCTM or the other plugin that’s causing the problem, and even if there were, there may be no way around it. GetPostsQuery by itself shouldn’t conflict with anything because it uses no events: it’s merely a query abstraction class.
The only thing I can recommend as a troubleshooting method would be to go through the CCTM’s loader.php file and comment out lines where actions/filters are added one by one. See if any specific action is conflicting with the other plugin. If you can narrow it down, then please file a bug in the bug-tracker, but again, WP is a poor platform for this reason and there’s no guarantee that the conflicts can be avoided.
The issue is not an error, it’s that WPML which is the most supported localization plugin hooks into WP_Query to retrieve the correct translation, which are actually separate posts in the DB. So if the query is for a post with the ID of 5 and the language is Japanese, it may pull post 20, the Japanese version of that post. I hope this is making sense. My understanding is that it is just altering the query by hooking into WP_Query. With that in mind, do you know of any conceivable way to do the same thing with GetPostsQuery?
I think my earlier debugging comment is exactly how you’d have to troubleshoot this — I think that WPML and the CCTM are tying into the same action and you’re getting unpredictable results. The whole reason I created GetPostsQuery was to avoid situations like this where WP would silently corrupt your query with no warning — GetPostsQuery doesn’t hook into anything, but the CCTM does, and that’s probably where this is causing trouble.
If you can provide exact steps to reproduce the error, I can look into it further: file a bug report in the bug tracker and list how to create posts in multiple languages etc. and exactly when the problem crops up.
Hi!
This is Mercedes, from WPML. We have also received a request to check on the compatibility with CCTM. (maybe by this same user)
Let’s work together in solving this problem and making your plugin compatible with WPML.
After the process is complete, we will announce it to our users and add CCTM to our compatibility page.
You can see the happy list here
http://wpml.org/documentation/theme-compatibility/
http://wpml.org/documentation/plugins-compatibility/
Could you please drop me a line back?
Thanks
Great: I sent you an email. Let’s sync up and figure this out.