Errore sul database di WordPress: [Subquery returns more than 1 row]
select p.ID,p.post_author,p.post_date, p.post_title,t.payment_date,t.post_id from wp_posts p,wp_transactions t where p.ID = t.post_id and p.post_status='publish' AND (t.package_type is NULL OR t.package_type=0) and datediff('2022-09-25',date_format(t.payment_date,'%Y-%m-%d')) = (select meta_value from wp_postmeta pm where post_id=p.ID and meta_key='alive_days')-5

Errore sul database di WordPress: [Subquery returns more than 1 row]
select group_concat(p.ID),t.payment_date,t.post_id from wp_posts p,wp_transactions t where p.ID = t.post_id and p.post_status='publish' and datediff('2022-09-25',date_format(t.payment_date,'%Y-%m-%d')) = (select meta_value from wp_postmeta pm where post_id=p.ID and meta_key='alive_days')