Okay
  Public Ticket #3228792
Issue in your demo
Closed

Comments

  • Chris started the conversation

    Issue in your demo, see attachment.

    Was trying to create a simple table with 4 fields from posts table, no joins, no complications of any sort.

    Why would I pay for a plugin if it doesn't work?

    Or... is the demo limited? If there is some sort of limitation in the demo, it should be made clear.

    Regards, 
    Chris


    Attached files:  2023-02-10 09_21_00-Settings.png

  •  1,819
    Miloš replied

    Hi, Chris 

    Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.

    -

    As the custom posts/fields, are a part of the WordPress database;

    pulling this data can only be done through MySQL query-based tables.

    Please note: Using this plugin feature requires at least a basic knowledge of SQL. It is assumed that you can create the table in some MySQL data manager (e.g., PHPMyAdmin, MySQL Workbench), and prepare a SQL query that will return the data you need. 

    -

    A good way to achieve this can be experimenting using our WPDB SQL Query Constructor tool.

    - 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.

    Please be advised that writing custom SQL Queries or debugging Queries does not fall under what our support covers.

    You can check out this official page of WP codex,  for help with writing custom Queries.

    -

    I am not able to reproduce the issue as you described it.

    If i try to simply select a few columns from the "posts" database table, it correctly loads a preview in the Constructor, and i can see it without any errors.

    Here are the screenshots of the columns i selected :

    6703676344.png
    6718943402.png
    9278655894.png

    But when i compare that with your screenshots, there is an INNER JOIN, and also there is a column from "wp_users" table, so i am not sure exactly which tables , columns you chosen, and if you added some relation between tables,  or conditions, in the Constructor.

    1704490474.png


    -

    Here is my Video recording, how it looks from our end when we just make a simple Query from Posts.

    https://watch.screencastify.com/v/4gSaToilS5YRONXdIpdT

    Could you please record your screen or show me some screenshots of which tables and columns ( any conditions added)  you have selected in the Constructor?

    Thank you

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables