Graham Shepherd - 2010-11-26

When I access a list of source citations via Lists > Sources > Sally Edwards I get a list of individuals but not a list of media objects in which she is also cited. The following error is reported:

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE: Invalid parameter number: number of bound variables does not match number of tokens' in /var/www/html/family/includes/classes/class_pgv_db.php:835 Stack trace: #0 /var/www/html/family/includes/classes/class_pgv_db.php(835): PDOStatement->execute(Array) #1 : PGV_DBStatement->__call(Array, Array) #2 /var/www/html/family/includes/functions/functions_db.php(816): PGV_DBStatement->execute('execute', Array) #3 /var/www/html/family/includes/classes/class_gedcomrecord.php(712): fetch_linked_obje(Array) #4 /var/www/html/family/source.php(161): GedcomRecord->fetchLinkedMedia('S629', 'SOUR', '1') #5 {main} thrown in /var/www/html/family/includes/classes/class_pgv_db.php on line 835

For citation lists where there are no media objects  no error is reported.