خطای پایگاه‌دادهٔ وردپرس : [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND cn_tour_orders.id = cn_tour_persons.order_id AND cn_tour_persons.type = 0...' at line 1]
SELECT cn_tour_orders.*, gender AS visitor_gender, name AS visitor_name, family AS visitor_family, phone AS visitor_phone, national AS visitor_national, email AS visitor_email, address AS visitor_address FROM cn_tour_orders, cn_tour_persons WHERE cn_tour_orders.id = AND cn_tour_orders.id = cn_tour_persons.order_id AND cn_tour_persons.type = 0 AND phone = ""