Fatal error: Uncaught PDOException: SQL执行失败: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'p.district_id' in 'on clause' SQL: SELECT p.*, d.name as district_name,
u.username as owner_username, u.real_name as owner_real_name,
u.phone as owner_phone, u.email as owner_email
FROM properties p
LEFT JOIN districts d ON p.district_id = d.id
LEFT JOIN users u ON p.user_id = u.id
WHERE p.id = ? in D:\web\www\config\MySQLPDO.php:653
Stack trace:
#0 D:\web\www\config\MySQLPDO.php(665): MySQLPDO->query('SELECT p.*, d.n...', Array)
#1 D:\web\www\property-detail.php(43): MySQLPDO->fetch('SELECT p.*, d.n...', Array)
#2 {main}
thrown in D:\web\www\config\MySQLPDO.php on line 653