We're Moving to a New Support Platform – Starting June 1st!
We’re excited to let you know that starting June 1st, we’ll be transitioning to a new support system that will be available directly on our product websites – Amelia, wpDataTables, and Report Builder. In fact, the new support platform is already live for Amelia and wpDataTables, and we encourage you to reach out to us there.
You'll always be able to reach us through a widget in the bottom right corner of each website, where you can ask questions, report issues, or simply get assistance.
While we still do not offer live support, a new advanced, AI-powered assistant, trained on our documentation, use cases, and real conversations with our team, is there to help with basic to intermediate questions in no time.
We're doing our best to make this transition smooth and hassle-free. After June 1st, this current support website will redirect you to the new "Contact Us" pages on our product sites.
Thanks for your continued support and trust – we’re excited to bring you an even better support experience!
Hi,
I am encountering an issue while I try to add or edit rows in my table, connected to my Wp database.
Here's the message error: Erreur: Unknown column 'project_ID' in 'where clause'
I don't understand what the problem is. Do you have any idea?
Thanks for your help!
Hi Mel
Thank you for reaching out to us.
Could you please provide us with some more details on the issue, how was the table created, if this is an SQL table please send us the query so we can test this locally?
If you have any screenshots or a screen recording of the issue that would be helpful as well.
Hi,
Thanks for your answer. Yes, it is a SQL table, the queries based on the Wordpress database.
You can see the issue here :
I am using ACF fields + the custom post type "project" from Divi. Thanks again!Thank you. The query is most probably causing the issue here. The PHP SQL parser we use has issues with UNION, JOIN and CONCAT functions, and also if you include a sub-query. To resolve this please prepare a MySQL view (a stored query), which will return the data that you need, call it e.g. “view1” and then build a wpDataTabled based on a simple query like “SELECT * FROM view1″.
Please note some this when working with the server-side processing feature:
Thank you for your time.
I am sorry but SQL is not my thing, so I am not really sure about what you are asking me. The query is automatically generated by the plugin. I thought it was an acf field issue but even if I try with the classical queries or to build a table on the basis of the classical "posts", the error appears.
Please provide me a temporary WP-admin (administrator) user for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue.
We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course, we do not provide login data to third parties.
You can write credentials here just check PRIVATE Reply so nobody can see them except us.
We are not able to replicate the issue creating manual or SQL tables which indicates that the query you are using is causing the issue.
Please have a look at this step by step video tutorial on how to create a view for a MySQL query based table
Did you tried the option to "Create a MySQL-query-based data table by generating a query to the WordPress database (posts, taxonomies, postmeta) with a GUI tool."?
Because that's what I used to connect custom posts in WordPress with the table and the error occurs every time I use that option.
Hi Mel
Unfortunately I am not sure what is the case here so I forwarded this to our development, they will be able to provide more information.
I will update you as soon as I hear back from them.
Thank you for your time and patience.
Hi Mel
Please note: this tool is not an ultimate query generator. It simply constructs a suggestion of a query. We are constantly working to improve it, but SQL is such a complicated and flexible language that full automation for constructing queries is next to impossible. Consequently, the more complicated the query, the higher is the probability that it will not return exactly what you need. So, you will often need to play around with the resulting query. If you are not familiar with writing queries we would suggest using another method for creating your tables.
Preparing MySQL queries for you is not included in the plugin support unfortunately.
Hi Blaženka,
Ok, I understand that. But please note that I tried to use the option to generate a query to the WP database, and even with a very simple query (so, excluding any ACF or custom field, just calling for post_title and ID) the error I reported few days earlier still occurs. That option in particular seems to have some troubles and I suppose that it's important for your team to have returns.
Unless I misunderstood the use of that option and the plugin is not able to create or edit entries this way.
Thanks again for you answers.
Hi Mel
Thank you for the feedback, I have made a note to our developers so they are aware of this and so they can focus on the improvement.
Do let us know if there is anything else we can do to assist you.