Fatal error: Uncaught mysqli_sql_exception: Result consisted of more than one row in /usr/share/pear/DB/mysqli.php:403 Stack trace: #0 /usr/share/pear/DB/mysqli.php(403): mysqli_query() #1 /usr/share/pear/DB/common.php(1219): DB_mysqli->simpleQuery() #2 /mnt/sdg/p2p_source/modules/database/database.php(582): DB_common->query() #3 /mnt/sdg/p2p_source/www/processors/horses.php(568): dbms->getCachedRecordSet() #4 /mnt/sdg/p2p_source/www/processors/horses.php(1590): getRunsData() #5 /mnt/sdg/p2p_source/www/horses.php(36): getHorseDetails() #6 {main} thrown in /usr/share/pear/DB/mysqli.php on line 403