Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics

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?

7 years, 7 months ago
Stefan van den Dungen Gronovius

Hi Evan,

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.

7 years, 6 months ago
Stefan van den Dungen Gronovius

Due to no response, I will close this ticket

7 years, 4 months ago

You must be logged in to reply to this topic.