WordPress database error: [Unknown column 'wp_posts.ID' in 'on clause']
I get this error whenever trying to use any sort/filter features when Admin Columns Pro is active. Whats going on here?
6 years, 5 months ago
Sorry for the late response.
I believe that you have a theme or plugin that is also altering the query on the overview with some custom SQL. I’ve seen this error before and in most cases some wrong code from the internet is copied to the theme. You can try to disable some plugin to see if it is a plugin that is causing the error. Or you can just switch to a default theme to see if the problem still exists. If it is a third party plugin that is causing the error, I like to know about it so we can try to reproduce the issue.
Or if it is your own theme / plugin and you’re a developer you can look for the ‘posts_where’ or pre_get_posts’ filters for some custom code that is causing a conflict with our plugin.