Where Parameter not working
-
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
.*
FROMwp_posts
ASt
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.
- The topic ‘Where Parameter not working’ is closed to new replies.