• Resolved vast1r

    (@vast1r)


    Hello Pods People,
    So I was using Pods Shortcode and in shortcode everything is working fine, but when I use “WHERE” parameter error start showing. Below massege is displaying in post preview:

    `string(505) “Database Error; SQL: SELECT

    DISTINCT
    t.*
    FROM wp_posts AS t

    WHERE ( ( post_date.meta_value = ‘2022-02-27’ ) AND ( t.post_type = ‘free_course’ ) AND ( t.post_status IN ( ‘publish’ ) ) )

    ORDER BY t.menu_order, t.post_title, t.post_date
    LIMIT 0, 5; Response: Unknown column ‘post_date.meta_value’ in ‘where clause'”`

    Even I in “Pods Display Post List BLock” when I use WHERE parameter Unknown Error is displaying.
    What to do to fix it?? except “WHERE” and “Find()” other parameters for shortcode are working fine.

    • This topic was modified 3 years ago by vast1r.
    • This topic was modified 3 years ago by vast1r.
    • This topic was modified 3 years ago by vast1r.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Where Parameter not working’ is closed to new replies.