Warning: Illegal offset type in /home/xavato-www/Xavato_WWW/characters.php on line 207

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 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 `houses`.`owner` = 5' at line 1' in /home/xavato-www/Xavato_WWW/characters.php:307 Stack trace: #0 /home/xavato-www/Xavato_WWW/characters.php(307): PDO->query('SELECT `houses`...') #1 /home/xavato-www/Xavato_WWW/index.php(156): require_once('/home/xavato-ww...') #2 {main} thrown in /home/xavato-www/Xavato_WWW/characters.php on line 307