Error Number: 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 '{eNWO] coiolk~{osmwhow_igmhoooorwuwio_oumes.coouot{}okermng.com~muit...' at line 1
{eNWO] coiolk~{osmwhow_igmhoooorwuwio_oumes.coouot{}okermng.com~muito~}do.gnww{oomv- ccomyu}vmn_oumber, c.section_number, c.entry_id, c.status, c.late, c.rider_person_id, c.scratched, TRIM(CONCAT(r.first_name, ' ', r.last_name)) as rider_name, r.usef_number as rider_usef_number, r.ec_number as rider_ec_sln, r.fei_id as rider_fei_id,TRIM(CONCAT(r.city,', ', r.state)) as rider_home_town, h.id as horse_id, h.name as horse_name, h.usef_number as horse_usef_number, h.ec_number as horse_ec_number, h.fei_id as horse_fei_id, o.id as horse_owner_person_id, TRIM(CONCAT(o.first_name, ' ', o.last_name)) as horse_owner_name, t.id as trainer_person_id, TRIM(CONCAT(t.first_name, ' ', t.last_name)) as trainer_name, a.iso_3_country_code as athlete_nationality, (SELECT GROUP_CONCAT(cmh.url ORDER BY cmh.rider_start_time SEPARATOR FROM competition_entries c INNER JOIN competitions dc ON (c.competition_id = dc.id) INNER JOIN sections d ON (dc.section_id = d.id) INNER JOIN horse_shows hs ON (d.horse_show_id = hs.id) INNER JOIN horse_show_organizers co ON (hs.horse_show_organizer_id = co.id) INNER JOIN horse_show_entries hse ON (hse.id = c.entry_id) LEFT OUTER JOIN horses h ON (co.id = h.horse_show_organizer_id AND hse.horse_number = h.number) LEFT OUTER JOIN people r ON (co.id = r.horse_show_organizer_id AND c.rider_person_id = r.id) LEFT OUTER JOIN athlete_nationality a ON (hs.id = a.horse_show_id AND r.fei_id = a.athlete_fei_id) LEFT OUTER JOIN people o ON (co.id = o.horse_show_organizer_id AND hse.owner_person_id = o.id) LEFT OUTER JOIN people t ON (co.id = t.horse_show_organizer_id AND hse.trainer_person_id = t.id) WHERE c.entry_id = '945b49e8-b04c-3c31-8a7d-e6943c138552' AND c.scratched != 1 ORDER BY c.competition_number
Filename: models/dao/Competitor_model.php
Line Number: 58